vf_separatefields.c File Reference
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
Include dependency graph for vf_separatefields.c:

Go to the source code of this file.

Data Structures

struct  SeparateFieldsContext
 

Functions

static int config_props_output (AVFilterLink *outlink)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *inpicref)
 

Variables

static const AVFilterPad separatefields_inputs []
 
static const AVFilterPad separatefields_outputs []
 
AVFilter avfilter_vf_separatefields
 

Function Documentation

static int config_props_output ( AVFilterLink outlink)
static

Definition at line 31 of file vf_separatefields.c.

static int filter_frame ( AVFilterLink inlink,
AVFrame inpicref 
)
static

Definition at line 55 of file vf_separatefields.c.

Variable Documentation

AVFilter avfilter_vf_separatefields
Initial value:
= {
.name = "separatefields",
.description = NULL_IF_CONFIG_SMALL("Split input video frames into fields."),
.priv_size = sizeof(SeparateFieldsContext),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
static const AVFilterPad separatefields_outputs[]
static const AVFilterPad separatefields_inputs[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs

Definition at line 106 of file vf_separatefields.c.

const AVFilterPad separatefields_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
},
{ NULL }
}
NULL
Definition: eval.c:55
static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)

Definition at line 88 of file vf_separatefields.c.

const AVFilterPad separatefields_outputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = config_props_output,
},
{ NULL }
}
static int config_props_output(AVFilterLink *outlink)
NULL
Definition: eval.c:55

Definition at line 97 of file vf_separatefields.c.