FFmpeg
Data Structures | Functions | Variables
vf_vfrdet.c File Reference
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "internal.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 []
 
static const AVFilterPad vfrdet_outputs []
 
AVFilter ff_vf_vfrdet
 

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 37 of file vf_vfrdet.c.

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 64 of file vf_vfrdet.c.

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 76 of file vf_vfrdet.c.

Variable Documentation

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

Definition at line 86 of file vf_vfrdet.c.

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

Definition at line 95 of file vf_vfrdet.c.

AVFilter ff_vf_vfrdet
Initial value:
= {
.name = "vfrdet",
.description = NULL_IF_CONFIG_SMALL("Variable frame rate detect filter."),
.priv_size = sizeof(VFRDETContext),
.init = init,
}
static const AVFilterPad vfrdet_outputs[]
Definition: vf_vfrdet.c:95
static const AVFilterPad vfrdet_inputs[]
Definition: vf_vfrdet.c:86
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold void uninit(AVFilterContext *ctx)
Definition: vf_vfrdet.c:76
static const AVFilterPad outputs[]
Definition: af_acontrast.c:203
static av_cold int init(AVFilterContext *ctx)
Definition: vf_vfrdet.c:64
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs

Definition at line 103 of file vf_vfrdet.c.