vf_format.c File Reference

format and noformat video filters More...

#include <string.h>
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "internal.h"
#include "formats.h"
#include "video.h"
Include dependency graph for vf_format.c:

Go to the source code of this file.

Data Structures

struct  FormatContext
 

Macros

#define AV_PIX_FMT_NAME_MAXSIZE   32
 
#define OFFSET(x)   offsetof(FormatContext, x)
 

Functions

static av_cold int init (AVFilterContext *ctx)
 
static AVFilterFormatsmake_format_list (FormatContext *format, int flag)
 

Variables

static const AVOption options []
 

Detailed Description

format and noformat video filters

Definition in file vf_format.c.

Macro Definition Documentation

#define AV_PIX_FMT_NAME_MAXSIZE   32

Definition at line 49 of file vf_format.c.

Referenced by init().

#define OFFSET (   x)    offsetof(FormatContext, x)

Definition at line 97 of file vf_format.c.

Function Documentation

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 51 of file vf_format.c.

static AVFilterFormats* make_format_list ( FormatContext format,
int  flag 
)
static

Definition at line 82 of file vf_format.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "pix_fmts", "A '|'-separated list of pixel formats", OFFSET(pix_fmts), AV_OPT_TYPE_STRING, .flags = AV_OPT_FLAG_VIDEO_PARAM },
{ NULL },
}
#define OFFSET(x)
Definition: vf_format.c:97
NULL
Definition: eval.c:55
#define AV_OPT_FLAG_VIDEO_PARAM
Definition: opt.h:285

Definition at line 98 of file vf_format.c.