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. More...
 
int peak_mode
 enabled peak modes More...
 
double * true_peaks
 true peaks per channel More...
 
double * sample_peaks
 sample peaks per channel More...
 
double * true_peaks_per_frame
 true peaks in a frame per channel More...
 
int do_video
 1 if video output enabled, 0 otherwise More...
 
int w
 
int h
 size of the video output More...
 
struct rect text
 rectangle for the LU legend on the left More...
 
struct rect graph
 rectangle for the main graph in the center More...
 
struct rect gauge
 rectangle for the gauge on the right More...
 
AVFrameoutpicref
 output picture reference, updated regularly More...
 
int meter
 select a EBU mode between +9 and +18 More...
 
int scale_range
 the range of LU values according to the meter More...
 
int y_zero_lu
 the y value (pixel position) for 0 LU More...
 
int * y_line_ref
 y reference values for drawing the LU lines in the graph and the gauge More...
 
int nb_channels
 number of channels in the input More...
 
double * ch_weighting
 channel weighting mapping More...
 
int sample_count
 sample count used for refresh frequency, reset at refresh More...
 
double x [MAX_CHANNELS *3]
 3 input samples cache for each channel More...
 
double y [MAX_CHANNELS *3]
 3 pre-filter samples cache for each channel More...
 
double z [MAX_CHANNELS *3]
 3 RLB-filter samples cache for each channel More...
 
struct integrator i400
 400ms integrator, used for Momentary loudness (M), and Integrated loudness (I) More...
 
struct integrator i3000
 3s integrator, used for Short term loudness (S), and Loudness Range (LRA) More...
 
double integrated_loudness
 integrated loudness in LUFS (I) More...
 
double loudness_range
 loudness range in LU (LRA) More...
 
double lra_low
 
double lra_high
 low and high LRA values More...
 
int loglevel
 log level for frame logging More...
 
int metadata
 whether or not to inject loudness results in frames More...
 
int dual_mono
 whether or not to treat single channel input files as dual-mono More...
 
double pan_law
 pan law value used to calulate dual-mono measurements More...
 

Detailed Description

Definition at line 93 of file f_ebur128.c.

Field Documentation

const AVClass* EBUR128Context::class

AVClass context for log and options purpose.

Definition at line 94 of file f_ebur128.c.

int EBUR128Context::peak_mode

enabled peak modes

Definition at line 97 of file f_ebur128.c.

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

double* EBUR128Context::true_peaks

true peaks per channel

Definition at line 98 of file f_ebur128.c.

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

double* EBUR128Context::sample_peaks

sample peaks per channel

Definition at line 99 of file f_ebur128.c.

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

double* EBUR128Context::true_peaks_per_frame

true peaks in a frame per channel

Definition at line 100 of file f_ebur128.c.

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

int EBUR128Context::do_video

1 if video output enabled, 0 otherwise

Definition at line 108 of file f_ebur128.c.

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

int EBUR128Context::w

Definition at line 109 of file f_ebur128.c.

Referenced by config_video_output().

int EBUR128Context::h

size of the video output

Definition at line 109 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 110 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 111 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 112 of file f_ebur128.c.

Referenced by config_video_output(), and filter_frame().

AVFrame* EBUR128Context::outpicref

output picture reference, updated regularly

Definition at line 113 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 114 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 115 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 116 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 117 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 120 of file f_ebur128.c.

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

double* EBUR128Context::ch_weighting

channel weighting mapping

Definition at line 121 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 122 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 126 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 127 of file f_ebur128.c.

double EBUR128Context::z[MAX_CHANNELS *3]

3 RLB-filter samples cache for each channel

Definition at line 128 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 132 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 133 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 136 of file f_ebur128.c.

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

double EBUR128Context::loudness_range

loudness range in LU (LRA)

Definition at line 137 of file f_ebur128.c.

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

double EBUR128Context::lra_low

Definition at line 138 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

double EBUR128Context::lra_high

low and high LRA values

Definition at line 138 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

int EBUR128Context::loglevel

log level for frame logging

Definition at line 141 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 142 of file f_ebur128.c.

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

int EBUR128Context::dual_mono

whether or not to treat single channel input files as dual-mono

Definition at line 143 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

double EBUR128Context::pan_law

pan law value used to calulate dual-mono measurements

Definition at line 144 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().


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