FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vf_separatefields.c File Reference
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  SeparateFieldsContext
 

Functions

static int config_props_output (AVFilterLink *outlink)
 
static void extract_field (AVFrame *frame, int nb_planes, int type)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *inpicref)
 
static int request_frame (AVFilterLink *outlink)
 

Variables

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

Function Documentation

static int config_props_output ( AVFilterLink outlink)
static

Definition at line 30 of file vf_separatefields.c.

static void extract_field ( AVFrame frame,
int  nb_planes,
int  type 
)
static

Definition at line 53 of file vf_separatefields.c.

Referenced by filter_frame(), and request_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame inpicref 
)
static

Definition at line 64 of file vf_separatefields.c.

static int request_frame ( AVFilterLink outlink)
static

Definition at line 104 of file vf_separatefields.c.

Variable Documentation

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

Definition at line 121 of file vf_separatefields.c.

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

Definition at line 130 of file vf_separatefields.c.

AVFilter ff_vf_separatefields
Initial value:
= {
.name = "separatefields",
.description = NULL_IF_CONFIG_SMALL("Split input video frames into fields."),
.priv_size = sizeof(SeparateFieldsContext),
}
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. ...
Definition: internal.h:176
static const AVFilterPad outputs[]
Definition: af_afftfilt.c:386
static const AVFilterPad inputs[]
Definition: af_afftfilt.c:376

Definition at line 140 of file vf_separatefields.c.