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 58 of file vf_repeatfields.c.

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

Definition at line 75 of file vf_repeatfields.c.

Referenced by filter_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 85 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 }
}

Definition at line 165 of file vf_repeatfields.c.

const AVFilterPad repeatfields_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 175 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),
}

Definition at line 183 of file vf_repeatfields.c.