FFmpeg
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_peak
 global true peak More...
 
doubletrue_peaks
 true peaks per channel More...
 
double sample_peak
 global sample peak More...
 
doublesample_peaks
 sample peaks per channel More...
 
doubletrue_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_opt_max
 the y value (pixel position) for 1 LU More...
 
int y_opt_min
 the y value (pixel position) for -1 LU More...
 
inty_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...
 
doublech_weighting
 channel weighting mapping More...
 
int sample_count
 sample count used for refresh frequency, reset at refresh More...
 
int nb_samples
 number of samples to consume per single input frame More...
 
int idx_insample
 current sample position of processed samples in single input frame More...
 
AVFrameinsamples
 input samples reference, updated regularly More...
 
doublex
 3 input samples cache for each channel More...
 
doubley
 3 pre-filter samples cache for each channel More...
 
doublez
 3 RLB-filter samples cache for each channel More...
 
double pre_b [3]
 pre-filter numerator coefficients More...
 
double pre_a [3]
 pre-filter denominator coefficients More...
 
double rlb_b [3]
 rlb-filter numerator coefficients More...
 
double rlb_a [3]
 rlb-filter denominator coefficients 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 calculate dual-mono measurements More...
 
int target
 target level in LUFS used to set relative zero LU in visualization More...
 
int gauge_type
 whether gauge shows momentary or short More...
 
int scale
 display scale type of statistics More...
 

Detailed Description

Definition at line 80 of file f_ebur128.c.

Field Documentation

◆ class

const AVClass* EBUR128Context::class

AVClass context for log and options purpose.

Definition at line 81 of file f_ebur128.c.

◆ peak_mode

int EBUR128Context::peak_mode

enabled peak modes

Definition at line 84 of file f_ebur128.c.

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

◆ true_peak

double EBUR128Context::true_peak

global true peak

Definition at line 85 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ true_peaks

double* EBUR128Context::true_peaks

true peaks per channel

Definition at line 86 of file f_ebur128.c.

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

◆ sample_peak

double EBUR128Context::sample_peak

global sample peak

Definition at line 87 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ sample_peaks

double* EBUR128Context::sample_peaks

sample peaks per channel

Definition at line 88 of file f_ebur128.c.

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

◆ true_peaks_per_frame

double* EBUR128Context::true_peaks_per_frame

true peaks in a frame per channel

Definition at line 89 of file f_ebur128.c.

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

◆ do_video

int EBUR128Context::do_video

1 if video output enabled, 0 otherwise

Definition at line 97 of file f_ebur128.c.

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

◆ w

int EBUR128Context::w

Definition at line 98 of file f_ebur128.c.

Referenced by config_video_output().

◆ h

int EBUR128Context::h

size of the video output

Definition at line 98 of file f_ebur128.c.

Referenced by config_video_output().

◆ text

struct rect EBUR128Context::text

rectangle for the LU legend on the left

Definition at line 99 of file f_ebur128.c.

Referenced by config_video_output().

◆ graph

struct rect EBUR128Context::graph

rectangle for the main graph in the center

Definition at line 100 of file f_ebur128.c.

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

◆ gauge

struct rect EBUR128Context::gauge

rectangle for the gauge on the right

Definition at line 101 of file f_ebur128.c.

Referenced by config_video_output(), and filter_frame().

◆ outpicref

AVFrame* EBUR128Context::outpicref

output picture reference, updated regularly

Definition at line 102 of file f_ebur128.c.

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

◆ meter

int EBUR128Context::meter

select a EBU mode between +9 and +18

Definition at line 103 of file f_ebur128.c.

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

◆ scale_range

int EBUR128Context::scale_range

the range of LU values according to the meter

Definition at line 104 of file f_ebur128.c.

Referenced by init(), and lu_to_y().

◆ y_zero_lu

int EBUR128Context::y_zero_lu

the y value (pixel position) for 0 LU

Definition at line 105 of file f_ebur128.c.

Referenced by config_video_output(), and get_graph_color().

◆ y_opt_max

int EBUR128Context::y_opt_max

the y value (pixel position) for 1 LU

Definition at line 106 of file f_ebur128.c.

Referenced by config_video_output(), and get_graph_color().

◆ y_opt_min

int EBUR128Context::y_opt_min

the y value (pixel position) for -1 LU

Definition at line 107 of file f_ebur128.c.

Referenced by config_video_output(), and get_graph_color().

◆ y_line_ref

int* EBUR128Context::y_line_ref

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

Definition at line 108 of file f_ebur128.c.

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

◆ nb_channels

int EBUR128Context::nb_channels

number of channels in the input

Definition at line 111 of file f_ebur128.c.

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

◆ ch_weighting

double* EBUR128Context::ch_weighting

channel weighting mapping

Definition at line 112 of file f_ebur128.c.

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

◆ sample_count

int EBUR128Context::sample_count

sample count used for refresh frequency, reset at refresh

Definition at line 113 of file f_ebur128.c.

Referenced by filter_frame().

◆ nb_samples

int EBUR128Context::nb_samples

number of samples to consume per single input frame

Definition at line 114 of file f_ebur128.c.

Referenced by activate(), and config_audio_input().

◆ idx_insample

int EBUR128Context::idx_insample

current sample position of processed samples in single input frame

Definition at line 115 of file f_ebur128.c.

Referenced by filter_frame().

◆ insamples

AVFrame* EBUR128Context::insamples

input samples reference, updated regularly

Definition at line 116 of file f_ebur128.c.

Referenced by activate(), and filter_frame().

◆ x

double* EBUR128Context::x

3 input samples cache for each channel

Definition at line 120 of file f_ebur128.c.

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

◆ y

double* EBUR128Context::y

3 pre-filter samples cache for each channel

Definition at line 121 of file f_ebur128.c.

Referenced by config_audio_output(), and uninit().

◆ z

double* EBUR128Context::z

3 RLB-filter samples cache for each channel

Definition at line 122 of file f_ebur128.c.

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

◆ pre_b

double EBUR128Context::pre_b[3]

pre-filter numerator coefficients

Definition at line 123 of file f_ebur128.c.

Referenced by config_audio_input(), and filter_frame().

◆ pre_a

double EBUR128Context::pre_a[3]

pre-filter denominator coefficients

Definition at line 124 of file f_ebur128.c.

Referenced by config_audio_input(), and filter_frame().

◆ rlb_b

double EBUR128Context::rlb_b[3]

rlb-filter numerator coefficients

Definition at line 125 of file f_ebur128.c.

Referenced by config_audio_input(), and filter_frame().

◆ rlb_a

double EBUR128Context::rlb_a[3]

rlb-filter denominator coefficients

Definition at line 126 of file f_ebur128.c.

Referenced by config_audio_input(), and filter_frame().

◆ i400

struct integrator EBUR128Context::i400

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

Definition at line 128 of file f_ebur128.c.

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

◆ i3000

struct integrator EBUR128Context::i3000

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

Definition at line 129 of file f_ebur128.c.

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

◆ integrated_loudness

double EBUR128Context::integrated_loudness

integrated loudness in LUFS (I)

Definition at line 132 of file f_ebur128.c.

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

◆ loudness_range

double EBUR128Context::loudness_range

loudness range in LU (LRA)

Definition at line 133 of file f_ebur128.c.

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

◆ lra_low

double EBUR128Context::lra_low

Definition at line 134 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ lra_high

double EBUR128Context::lra_high

low and high LRA values

Definition at line 134 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ loglevel

int EBUR128Context::loglevel

log level for frame logging

Definition at line 137 of file f_ebur128.c.

Referenced by filter_frame(), and init().

◆ metadata

int EBUR128Context::metadata

whether or not to inject loudness results in frames

Definition at line 138 of file f_ebur128.c.

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

◆ dual_mono

int EBUR128Context::dual_mono

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

Definition at line 139 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ pan_law

double EBUR128Context::pan_law

pan law value used to calculate dual-mono measurements

Definition at line 140 of file f_ebur128.c.

Referenced by filter_frame(), and uninit().

◆ target

int EBUR128Context::target

target level in LUFS used to set relative zero LU in visualization

Definition at line 141 of file f_ebur128.c.

Referenced by filter_frame().

◆ gauge_type

int EBUR128Context::gauge_type

whether gauge shows momentary or short

Definition at line 142 of file f_ebur128.c.

Referenced by filter_frame().

◆ scale

int EBUR128Context::scale

display scale type of statistics

Definition at line 143 of file f_ebur128.c.

Referenced by filter_frame().


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