FFmpeg
Public Attributes | List of all members
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...

Public Attributes

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.


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