43 #define OFFSET(x) offsetof(SetFieldContext, x)
44 #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
91 .priv_class = &setfield_class,
This structure describes decoded (raw) audio or video data.
static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
Main libavfilter public API header.
const char * name
Pad name.
int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
Send a frame of data to the next filter.
int interlaced_frame
The content of the picture is interlaced.
A filter pad used for either input or output.
A link between two filters.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void * priv
private data for use by the filter
static const AVOption setfield_options[]
static const AVFilterPad setfield_outputs[]
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
Describe the class of an AVClass context structure.
const char * name
Filter name.
AVFilterLink ** outputs
array of pointers to output links
static const AVFilterPad setfield_inputs[]
int top_field_first
If the content is interlaced, is top field displayed first.
AVFilterContext * dst
dest filter
AVFILTER_DEFINE_CLASS(setfield)