FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

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 73 of file f_ebur128.c.

Field Documentation

int hist_entry::count

how many times the corresponding value occurred

Definition at line 74 of file f_ebur128.c.

Referenced by filter_frame(), and gate_update().

double hist_entry::energy

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

Definition at line 75 of file f_ebur128.c.

Referenced by filter_frame(), and get_histogram().

double hist_entry::loudness

L = -0.691 + 10 * log10(E)

Definition at line 76 of file f_ebur128.c.

Referenced by filter_frame(), and get_histogram().


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