FFmpeg
Data Structures | Functions | Variables
vf_ccrepack.c File Reference
#include "avfilter.h"
#include "filters.h"
#include "ccfifo.h"
#include "video.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  CCRepackContext
 

Functions

 AVFILTER_DEFINE_CLASS (ccrepack)
 
static int config_input (AVFilterLink *link)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 
static av_cold void uninit (AVFilterContext *ctx)
 

Variables

static const AVOption ccrepack_options []
 
static const AVFilterPad avfilter_vf_ccrepack_inputs []
 
const AVFilter ff_vf_ccrepack
 

Function Documentation

◆ AVFILTER_DEFINE_CLASS()

AVFILTER_DEFINE_CLASS ( ccrepack  )

◆ config_input()

static int config_input ( AVFilterLink link)
static

Definition at line 50 of file vf_ccrepack.c.

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 64 of file vf_ccrepack.c.

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 75 of file vf_ccrepack.c.

Variable Documentation

◆ ccrepack_options

const AVOption ccrepack_options[]
static
Initial value:
= {
{ NULL }
}

Definition at line 44 of file vf_ccrepack.c.

◆ avfilter_vf_ccrepack_inputs

const AVFilterPad avfilter_vf_ccrepack_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_input,
},
}

Definition at line 81 of file vf_ccrepack.c.

◆ ff_vf_ccrepack

const AVFilter ff_vf_ccrepack
Initial value:
= {
.name = "ccrepack",
.description = NULL_IF_CONFIG_SMALL("Repack CEA-708 closed caption metadata"),
.uninit = uninit,
.priv_size = sizeof(CCRepackContext),
.priv_class = &ccrepack_class,
}

Definition at line 90 of file vf_ccrepack.c.

uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_ccrepack.c:75
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: filters.h:262
config_input
static int config_input(AVFilterLink *link)
Definition: vf_ccrepack.c:50
avfilter_vf_ccrepack_inputs
static const AVFilterPad avfilter_vf_ccrepack_inputs[]
Definition: vf_ccrepack.c:81
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
Definition: vf_ccrepack.c:64
ff_video_default_filterpad
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
Definition: video.c:37
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: filters.h:263
NULL
#define NULL
Definition: coverity.c:32
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
CCRepackContext
Definition: vf_ccrepack.c:38