FFmpeg
Classes | Macros | Typedefs | Functions | Variables
vf_elbg.c File Reference

video quantizer filter based on ELBG More...

#include "libavcodec/elbg.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/random_seed.h"
#include "avfilter.h"
#include "drawutils.h"
#include "internal.h"
#include "video.h"

Classes

struct  ELBGContext
 

Macros

#define OFFSET(x)   offsetof(ELBGContext, x)
 
#define FLAGS   AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
 
#define NB_COMPONENTS   3
 
#define R   0
 
#define G   1
 
#define B   2
 

Typedefs

typedef struct ELBGContext ELBGContext
 

Functions

 AVFILTER_DEFINE_CLASS (elbg)
 

Variables

AVFilter ff_vf_elbg
 

Detailed Description

video quantizer filter based on ELBG

Variable Documentation

§ ff_vf_elbg

AVFilter ff_vf_elbg
Initial value:
= {
.name = "elbg",
.description = NULL_IF_CONFIG_SMALL("Apply posterize effect, using the ELBG algorithm."),
.priv_size = sizeof(ELBGContext),
.priv_class = &elbg_class,
.query_formats = query_formats,
.init = init,
.uninit = uninit,
.inputs = elbg_inputs,
.outputs = elbg_outputs,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: vf_elbg.c:36