FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
EBUR128Context Struct Reference

Data Fields

const AVClassclass
 AVClass context for log and options purpose.
 
int do_video
 1 if video output enabled, 0 otherwise
 
int w
 
int h
 size of the video output
 
struct rect text
 rectangle for the LU legend on the left
 
struct rect graph
 rectangle for the main graph in the center
 
struct rect gauge
 rectangle for the gauge on the right
 
AVFrameoutpicref
 output picture reference, updated regularly
 
int meter
 select a EBU mode between +9 and +18
 
int scale_range
 the range of LU values according to the meter
 
int y_zero_lu
 the y value (pixel position) for 0 LU
 
int * y_line_ref
 y reference values for drawing the LU lines in the graph and the gauge
 
int nb_channels
 number of channels in the input
 
double * ch_weighting
 channel weighting mapping
 
int sample_count
 sample count used for refresh frequency, reset at refresh
 
double x [MAX_CHANNELS *3]
 3 input samples cache for each channel
 
double y [MAX_CHANNELS *3]
 3 pre-filter samples cache for each channel
 
double z [MAX_CHANNELS *3]
 3 RLB-filter samples cache for each channel
 
struct integrator i400
 400ms integrator, used for Momentary loudness (M), and Integrated loudness (I)
 
struct integrator i3000
 3s integrator, used for Short term loudness (S), and Loudness Range (LRA)
 
double integrated_loudness
 integrated loudness in LUFS (I)
 
double loudness_range
 loudness range in LU (LRA)
 
double lra_low
 
double lra_high
 low and high LRA values
 
int loglevel
 log level for frame logging
 
int metadata
 whether or not to inject loudness results in frames
 

Detailed Description

Definition at line 92 of file f_ebur128.c.

Field Documentation

const AVClass* EBUR128Context::class

AVClass context for log and options purpose.

Definition at line 93 of file f_ebur128.c.

int EBUR128Context::do_video

1 if video output enabled, 0 otherwise

Definition at line 96 of file f_ebur128.c.

Referenced by filter_frame(), init(), and query_formats().

int EBUR128Context::w

Definition at line 97 of file f_ebur128.c.

Referenced by config_video_output().

int EBUR128Context::h

size of the video output

Definition at line 97 of file f_ebur128.c.

Referenced by config_video_output().

struct rect EBUR128Context::text

rectangle for the LU legend on the left

Definition at line 98 of file f_ebur128.c.

Referenced by config_video_output().

struct rect EBUR128Context::graph

rectangle for the main graph in the center

Definition at line 99 of file f_ebur128.c.

Referenced by config_video_output(), filter_frame(), and lu_to_y().

struct rect EBUR128Context::gauge

rectangle for the gauge on the right

Definition at line 100 of file f_ebur128.c.

Referenced by config_video_output(), and filter_frame().

AVFrame* EBUR128Context::outpicref

output picture reference, updated regularly

Definition at line 101 of file f_ebur128.c.

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

int EBUR128Context::meter

select a EBU mode between +9 and +18

Definition at line 102 of file f_ebur128.c.

Referenced by config_video_output(), init(), and lu_to_y().

int EBUR128Context::scale_range

the range of LU values according to the meter

Definition at line 103 of file f_ebur128.c.

Referenced by init(), and lu_to_y().

int EBUR128Context::y_zero_lu

the y value (pixel position) for 0 LU

Definition at line 104 of file f_ebur128.c.

Referenced by config_video_output(), and get_graph_color().

int* EBUR128Context::y_line_ref

y reference values for drawing the LU lines in the graph and the gauge

Definition at line 105 of file f_ebur128.c.

Referenced by config_video_output(), get_graph_color(), and uninit().

int EBUR128Context::nb_channels

number of channels in the input

Definition at line 108 of file f_ebur128.c.

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

double* EBUR128Context::ch_weighting

channel weighting mapping

Definition at line 109 of file f_ebur128.c.

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

int EBUR128Context::sample_count

sample count used for refresh frequency, reset at refresh

Definition at line 110 of file f_ebur128.c.

Referenced by filter_frame().

double EBUR128Context::x[MAX_CHANNELS *3]

3 input samples cache for each channel

Definition at line 114 of file f_ebur128.c.

Referenced by filter_frame().

double EBUR128Context::y[MAX_CHANNELS *3]

3 pre-filter samples cache for each channel

Definition at line 115 of file f_ebur128.c.

double EBUR128Context::z[MAX_CHANNELS *3]

3 RLB-filter samples cache for each channel

Definition at line 116 of file f_ebur128.c.

Referenced by filter_frame().

struct integrator EBUR128Context::i400

400ms integrator, used for Momentary loudness (M), and Integrated loudness (I)

Definition at line 120 of file f_ebur128.c.

Referenced by config_audio_output(), filter_frame(), init(), and uninit().

struct integrator EBUR128Context::i3000

3s integrator, used for Short term loudness (S), and Loudness Range (LRA)

Definition at line 121 of file f_ebur128.c.

Referenced by config_audio_output(), filter_frame(), init(), and uninit().

double EBUR128Context::integrated_loudness

integrated loudness in LUFS (I)

Definition at line 124 of file f_ebur128.c.

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

double EBUR128Context::loudness_range

loudness range in LU (LRA)

Definition at line 125 of file f_ebur128.c.

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

double EBUR128Context::lra_low

Definition at line 126 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

double EBUR128Context::lra_high

low and high LRA values

Definition at line 126 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

int EBUR128Context::loglevel

log level for frame logging

Definition at line 129 of file f_ebur128.c.

Referenced by filter_frame(), and init().

int EBUR128Context::metadata

whether or not to inject loudness results in frames

Definition at line 130 of file f_ebur128.c.

Referenced by config_audio_input(), filter_frame(), and init().


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