FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vf_dejudder.c File Reference

remove judder in video stream More...

#include "libavutil/opt.h"
#include "libavutil/mathematics.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  DejudderContext
 

Macros

#define OFFSET(x)   offsetof(DejudderContext, x)
 
#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM
 

Functions

 AVFILTER_DEFINE_CLASS (dejudder)
 
static int config_out_props (AVFilterLink *outlink)
 
static av_cold int dejudder_init (AVFilterContext *ctx)
 
static av_cold void dejudder_uninit (AVFilterContext *ctx)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *frame)
 

Variables

static const AVOption dejudder_options []
 
static const AVFilterPad dejudder_inputs []
 
static const AVFilterPad dejudder_outputs []
 
AVFilter ff_vf_dejudder
 

Detailed Description

remove judder in video stream

Algorithm:

Definition in file vf_dejudder.c.

Macro Definition Documentation

#define OFFSET (   x)    offsetof(DejudderContext, x)

Definition at line 69 of file vf_dejudder.c.

Definition at line 70 of file vf_dejudder.c.

Function Documentation

AVFILTER_DEFINE_CLASS ( dejudder  )
static int config_out_props ( AVFilterLink outlink)
static

Definition at line 80 of file vf_dejudder.c.

static av_cold int dejudder_init ( AVFilterContext ctx)
static

Definition at line 94 of file vf_dejudder.c.

static av_cold void dejudder_uninit ( AVFilterContext ctx)
static

Definition at line 112 of file vf_dejudder.c.

static int filter_frame ( AVFilterLink inlink,
AVFrame frame 
)
static

Definition at line 119 of file vf_dejudder.c.

Variable Documentation

const AVOption dejudder_options[]
static
Initial value:
= {
{"cycle", "set the length of the cycle to use for dejuddering",
OFFSET(cycle), AV_OPT_TYPE_INT, {.i64 = 4}, 2, 240, .flags = FLAGS},
{NULL}
}

Definition at line 72 of file vf_dejudder.c.

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

Definition at line 160 of file vf_dejudder.c.

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

Definition at line 169 of file vf_dejudder.c.

AVFilter ff_vf_dejudder
Initial value:
= {
.name = "dejudder",
.description = NULL_IF_CONFIG_SMALL("Remove judder produced by pullup."),
.priv_size = sizeof(DejudderContext),
.priv_class = &dejudder_class,
}

Definition at line 178 of file vf_dejudder.c.