FFmpeg
Data Structures | Functions | Variables
vf_vfrdet.c File Reference
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  VFRDETContext
 

Functions

static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 
static av_cold int init (AVFilterContext *ctx)
 
static av_cold void uninit (AVFilterContext *ctx)
 

Variables

static const AVFilterPad vfrdet_inputs []
 
const AVFilter ff_vf_vfrdet
 

Function Documentation

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 39 of file vf_vfrdet.c.

◆ init()

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 69 of file vf_vfrdet.c.

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 81 of file vf_vfrdet.c.

Variable Documentation

◆ vfrdet_inputs

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

Definition at line 91 of file vf_vfrdet.c.

◆ ff_vf_vfrdet

const AVFilter ff_vf_vfrdet
Initial value:
= {
.name = "vfrdet",
.description = NULL_IF_CONFIG_SMALL("Variable frame rate detect filter."),
.priv_size = sizeof(VFRDETContext),
.init = init,
}

Definition at line 99 of file vf_vfrdet.c.

VFRDETContext
Definition: vf_vfrdet.c:26
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_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:182
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_vfrdet.c:81
vfrdet_inputs
static const AVFilterPad vfrdet_inputs[]
Definition: vf_vfrdet.c:91
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
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_vfrdet.c:39
AVFILTER_FLAG_METADATA_ONLY
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
Definition: avfilter.h:133
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:183
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:474
init
static av_cold int init(AVFilterContext *ctx)
Definition: vf_vfrdet.c:69