FFmpeg
Data Structures | Macros | Enumerations | Functions | Variables
vf_setparams.c File Reference
#include "libavutil/pixfmt.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  SetParamsContext
 

Macros

#define OFFSET(x)   offsetof(SetParamsContext, x)
 
#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 

Enumerations

enum  SetFieldMode { MODE_AUTO = -1, MODE_BFF, MODE_TFF, MODE_PROG }
 

Functions

 AVFILTER_DEFINE_CLASS (setparams)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 

Variables

static const AVOption setparams_options []
 
static const AVFilterPad inputs []
 
static const AVFilterPad outputs []
 
AVFilter ff_vf_setparams
 

Macro Definition Documentation

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

Definition at line 43 of file vf_setparams.c.

Definition at line 44 of file vf_setparams.c.

Enumeration Type Documentation

Enumerator
MODE_AUTO 
MODE_BFF 
MODE_TFF 
MODE_PROG 

Definition at line 27 of file vf_setparams.c.

Function Documentation

AVFILTER_DEFINE_CLASS ( setparams  )
static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 121 of file vf_setparams.c.

Variable Documentation

const AVOption setparams_options[]
static

Definition at line 46 of file vf_setparams.c.

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
},
{ NULL }
}
#define NULL
Definition: coverity.c:32
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition: vf_setparams.c:121

Definition at line 148 of file vf_setparams.c.

const AVFilterPad outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
#define NULL
Definition: coverity.c:32

Definition at line 157 of file vf_setparams.c.

AVFilter ff_vf_setparams
Initial value:
= {
.name = "setparams",
.description = NULL_IF_CONFIG_SMALL("Force field, or color property for the output video frame."),
.priv_size = sizeof(SetParamsContext),
.priv_class = &setparams_class,
}
static const AVFilterPad inputs[]
Definition: vf_setparams.c:148
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVFilterPad outputs[]
Definition: vf_setparams.c:157

Definition at line 165 of file vf_setparams.c.