FFmpeg
Data Fields
hist_entry Struct Reference

A histogram is an array of HIST_SIZE hist_entry storing all the energies recorded (with an accuracy of 1/HIST_GRAIN) of the loudnesses from ABS_THRES (at 0) to ABS_UP_THRES (at HIST_SIZE-1). More...

Data Fields

unsigned count
 how many times the corresponding value occurred More...
 
double energy
 E = 10^((L + 0.691) / 10) More...
 
double loudness
 L = -0.691 + 10 * log10(E) More...
 

Detailed Description

A histogram is an array of HIST_SIZE hist_entry storing all the energies recorded (with an accuracy of 1/HIST_GRAIN) of the loudnesses from ABS_THRES (at 0) to ABS_UP_THRES (at HIST_SIZE-1).

This fixed-size system avoids the need of a list of energies growing infinitely over the time and is thus more scalable.

Definition at line 58 of file f_ebur128.c.

Field Documentation

◆ count

unsigned hist_entry::count

how many times the corresponding value occurred

Definition at line 59 of file f_ebur128.c.

Referenced by filter_frame(), and gate_update().

◆ energy

double hist_entry::energy

E = 10^((L + 0.691) / 10)

Definition at line 60 of file f_ebur128.c.

Referenced by filter_frame().

◆ loudness

double hist_entry::loudness

L = -0.691 + 10 * log10(E)

Definition at line 61 of file f_ebur128.c.

Referenced by filter_frame(), gate_update(), and get_histogram().


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