FFmpeg  4.0
Data Fields
DeflickerContext Struct Reference

Data Fields

const AVClassclass
 
int size
 
int mode
 
int bypass
 
int eof
 
int depth
 
int nb_planes
 
int planewidth [4]
 
int planeheight [4]
 
uint64_t * histogram
 
float luminance [SIZE]
 
float sorted [SIZE]
 
struct FFBufQueue q
 
int available
 
void(* get_factor )(AVFilterContext *ctx, float *f)
 
float(* calc_avgy )(AVFilterContext *ctx, AVFrame *in)
 
int(* deflicker )(AVFilterContext *ctx, const uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h, float f)
 

Detailed Description

Definition at line 47 of file vf_deflicker.c.

Field Documentation

◆ class

const AVClass* DeflickerContext::class

Definition at line 48 of file vf_deflicker.c.

◆ size

int DeflickerContext::size

◆ mode

int DeflickerContext::mode

Definition at line 51 of file vf_deflicker.c.

Referenced by config_input().

◆ bypass

int DeflickerContext::bypass

Definition at line 52 of file vf_deflicker.c.

Referenced by filter_frame().

◆ eof

int DeflickerContext::eof

Definition at line 54 of file vf_deflicker.c.

Referenced by filter_frame(), and request_frame().

◆ depth

int DeflickerContext::depth

Definition at line 55 of file vf_deflicker.c.

Referenced by calc_avgy16(), calc_avgy8(), config_input(), deflicker16(), and filter_frame().

◆ nb_planes

int DeflickerContext::nb_planes

Definition at line 56 of file vf_deflicker.c.

Referenced by config_input(), and filter_frame().

◆ planewidth

int DeflickerContext::planewidth[4]

Definition at line 57 of file vf_deflicker.c.

Referenced by calc_avgy16(), calc_avgy8(), config_input(), and filter_frame().

◆ planeheight

int DeflickerContext::planeheight[4]

Definition at line 58 of file vf_deflicker.c.

Referenced by calc_avgy16(), calc_avgy8(), config_input(), and filter_frame().

◆ histogram

uint64_t* DeflickerContext::histogram

Definition at line 60 of file vf_deflicker.c.

Referenced by calc_avgy16(), calc_avgy8(), config_input(), and uninit().

◆ luminance

float DeflickerContext::luminance[SIZE]

◆ sorted

float DeflickerContext::sorted[SIZE]

Definition at line 62 of file vf_deflicker.c.

Referenced by get_median_factor().

◆ q

struct FFBufQueue DeflickerContext::q

Definition at line 64 of file vf_deflicker.c.

Referenced by filter_frame(), request_frame(), and uninit().

◆ available

int DeflickerContext::available

Definition at line 65 of file vf_deflicker.c.

Referenced by filter_frame(), and request_frame().

◆ get_factor

void(* DeflickerContext::get_factor) (AVFilterContext *ctx, float *f)

Definition at line 67 of file vf_deflicker.c.

Referenced by config_input(), and filter_frame().

◆ calc_avgy

float(* DeflickerContext::calc_avgy) (AVFilterContext *ctx, AVFrame *in)

Definition at line 68 of file vf_deflicker.c.

Referenced by config_input(), and filter_frame().

◆ deflicker

int(* DeflickerContext::deflicker) (AVFilterContext *ctx, const uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h, float f)

Definition at line 69 of file vf_deflicker.c.

Referenced by config_input(), and filter_frame().


The documentation for this struct was generated from the following file: