FFmpeg  4.0
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

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 34 of file vf_repeatfields.c.

◆ query_formats()

static int query_formats ( AVFilterContext ctx)
static

Definition at line 41 of file vf_repeatfields.c.

◆ config_input()

static int config_input ( AVFilterLink inlink)
static

Definition at line 59 of file vf_repeatfields.c.

◆ update_pts()

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().

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 86 of file vf_repeatfields.c.

Variable Documentation

◆ repeatfields_inputs

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.

◆ repeatfields_outputs

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.

◆ ff_vf_repeatfields

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:186
static const AVFilterPad repeatfields_inputs[]
static const AVFilterPad inputs[]
Definition: af_acontrast.c:193
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203
static av_cold void uninit(AVFilterContext *ctx)

Definition at line 184 of file vf_repeatfields.c.