Go to the documentation of this file.
25 #ifndef AVFILTER_EBUR128_H
26 #define AVFILTER_EBUR128_H
119 unsigned long samplerate,
146 unsigned int channel_number,
int value);
217 unsigned int channel_number,
double *
out);
int ff_ebur128_loudness_range_multiple(FFEBUR128State **sts, size_t size, double *out)
Get loudness range (LRA) in LU across multiple instances.
@ FF_EBUR128_Mp030
itu M+030
@ FF_EBUR128_RIGHT_SURROUND
struct FFEBUR128StateInternal * d
Internal state.
int ff_ebur128_loudness_range(FFEBUR128State *st, double *out)
Get loudness range (LRA) of programme in LU.
@ FF_EBUR128_MmSC
itu M-SC
@ FF_EBUR128_LEFT_SURROUND
int ff_ebur128_set_channel(FFEBUR128State *st, unsigned int channel_number, int value)
Set channel type.
@ FF_EBUR128_Um110
itu U-110
@ FF_EBUR128_MODE_I
can call ff_ebur128_loudness_global_* and ff_ebur128_relative_threshold
@ FF_EBUR128_Um030
itu U-030
@ FF_EBUR128_Tp000
itu T+000
@ FF_EBUR128_Up090
itu U+090
@ FF_EBUR128_Mp180
itu M+180
@ FF_EBUR128_Um090
itu U-090
static SDL_Window * window
if it could not because there are no more frames
@ FF_EBUR128_UNUSED
unused channel (for example LFE channel)
@ FF_EBUR128_Um135
itu U-135
@ FF_EBUR128_Bm045
itu B-045
@ FF_EBUR128_DUAL_MONO
a channel that is counted twice
unsigned long samplerate
The sample rate.
@ FF_EBUR128_MODE_LRA
can call ff_ebur128_loudness_range
@ FF_EBUR128_Up180
itu U+180
@ FF_EBUR128_Mm060
itu M-060
int mode
The current mode.
void ff_ebur128_add_frames_double(FFEBUR128State *st, const double *src, size_t frames)
Add frames to be processed.
@ FF_EBUR128_Mm110
itu M-110
FFEBUR128State * ff_ebur128_init(unsigned int channels, unsigned long samplerate, unsigned long window, int mode)
Initialize library state.
int ff_ebur128_sample_peak(FFEBUR128State *st, unsigned int channel_number, double *out)
Get maximum sample peak of selected channel in float format.
@ FF_EBUR128_Mm030
itu M-030
@ FF_EBUR128_Bp000
itu B+000
@ FF_EBUR128_Mp060
itu M+060
@ FF_EBUR128_Up030
itu U+030
@ FF_EBUR128_Mm135
itu M-135
@ FF_EBUR128_Mp090
itu M+090
@ FF_EBUR128_MODE_S
can call ff_ebur128_loudness_shortterm
@ FF_EBUR128_Mm090
itu M-090
unsigned int channels
The number of channels.
@ FF_EBUR128_MODE_M
can resurrrect and call ff_ebur128_loudness_momentary
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default value
Contains information about the state of a loudness measurement.
@ FF_EBUR128_MpSC
itu M+SC
@ FF_EBUR128_Mp110
itu M+110
@ FF_EBUR128_Up135
itu U+135
int ff_ebur128_relative_threshold(FFEBUR128State *st, double *out)
Get relative threshold in LUFS.
@ FF_EBUR128_Um045
itu U-030
@ FF_EBUR128_Up000
itu U+000
void ff_ebur128_destroy(FFEBUR128State **st)
Destroy library state.
int ff_ebur128_loudness_global(FFEBUR128State *st, double *out)
Get global integrated loudness in LUFS.
@ FF_EBUR128_MODE_SAMPLE_PEAK
can call ff_ebur128_sample_peak
@ FF_EBUR128_Mp000
itu M+000
@ FF_EBUR128_Up045
itu U+045
@ FF_EBUR128_Bp045
itu B+045
@ FF_EBUR128_Up110
itu U+110
@ FF_EBUR128_Mp135
itu M+135
int ff_ebur128_loudness_shortterm(FFEBUR128State *st, double *out)
Get short-term loudness (last 3s) in LUFS.