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

Go to the source code of this file.

Data Structures

struct  RepeatFieldsContext
 

Functions

static av_cold void uninit (AVFilterContext *ctx)
 
static int query_formats (AVFilterContext *ctx)
 
static int config_input (AVFilterLink *inlink)
 
static void update_pts (AVFilterLink *link, AVFrame *f, int64_t pts, int fields)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

static const AVFilterPad repeatfields_inputs []
 
static const AVFilterPad repeatfields_outputs []
 
AVFilter ff_vf_repeatfields
 

Function Documentation

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 34 of file vf_repeatfields.c.

static int query_formats ( AVFilterContext ctx)
static

Definition at line 41 of file vf_repeatfields.c.

static int config_input ( AVFilterLink inlink)
static

Definition at line 59 of file vf_repeatfields.c.

static void update_pts ( AVFilterLink link,
AVFrame f,
int64_t  pts,
int  fields 
)
static

Definition at line 76 of file vf_repeatfields.c.

Referenced by filter_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 86 of file vf_repeatfields.c.

Variable Documentation

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

Definition at line 166 of file vf_repeatfields.c.

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

Definition at line 176 of file vf_repeatfields.c.

AVFilter ff_vf_repeatfields
Initial value:
= {
.name = "repeatfields",
.description = NULL_IF_CONFIG_SMALL("Hard repeat fields based on MPEG repeat field flag."),
.priv_size = sizeof(RepeatFieldsContext),
}
static const AVFilterPad repeatfields_outputs[]
static int query_formats(AVFilterContext *ctx)
#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 repeatfields_inputs[]
static const AVFilterPad outputs[]
Definition: af_afftfilt.c:385
static const AVFilterPad inputs[]
Definition: af_afftfilt.c:375
static av_cold void uninit(AVFilterContext *ctx)

Definition at line 184 of file vf_repeatfields.c.