#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
#include "audio.h"
#include "ebur128.h"
Go to the source code of this file.
|
enum | FrameType {
ACTIVE_FRAME,
SID_FRAME,
UNTRANSMITTED_FRAME,
INTRA_FRAME = 0,
INTER_FRAME,
SKIP_FRAME,
FIRST_FRAME,
INNER_FRAME,
FINAL_FRAME,
LINEAR_MODE,
FRAME_NB
} |
|
enum | LimiterState {
OUT,
ATTACK,
SUSTAIN,
RELEASE,
STATE_NB
} |
|
enum | PrintFormat { NONE,
JSON,
SUMMARY,
PF_NB
} |
|
|
| AVFILTER_DEFINE_CLASS (loudnorm) |
|
static int | frame_size (int sample_rate, int frame_len_msec) |
|
static void | init_gaussian_filter (LoudNormContext *s) |
|
static double | gaussian_filter (LoudNormContext *s, int index) |
|
static void | detect_peak (LoudNormContext *s, int offset, int nb_samples, int channels, int *peak_delta, double *peak_value) |
|
static void | true_peak_limiter (LoudNormContext *s, double *out, int nb_samples, int channels) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static int | flush_frame (AVFilterLink *outlink) |
|
static int | activate (AVFilterContext *ctx) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static int | config_input (AVFilterLink *inlink) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FLAGS
◆ FrameType
Enumerator |
---|
ACTIVE_FRAME | Active speech.
|
SID_FRAME | Silence Insertion Descriptor frame.
|
UNTRANSMITTED_FRAME | |
INTRA_FRAME | |
INTER_FRAME | |
SKIP_FRAME | |
FIRST_FRAME | |
INNER_FRAME | |
FINAL_FRAME | |
LINEAR_MODE | |
FRAME_NB | |
Definition at line 30 of file af_loudnorm.c.
◆ LimiterState
Enumerator |
---|
OUT | |
ATTACK | |
SUSTAIN | |
RELEASE | |
STATE_NB | |
Definition at line 38 of file af_loudnorm.c.
◆ PrintFormat
Enumerator |
---|
NONE | |
JSON | |
SUMMARY | |
PF_NB | |
Definition at line 46 of file af_loudnorm.c.
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
loudnorm |
| ) |
|
◆ frame_size()
static int frame_size |
( |
int |
sample_rate, |
|
|
int |
frame_len_msec |
|
) |
| |
|
inlinestatic |
◆ init_gaussian_filter()
◆ gaussian_filter()
◆ detect_peak()
◆ true_peak_limiter()
◆ filter_frame()
◆ flush_frame()
◆ activate()
◆ query_formats()
◆ config_input()
◆ init()
◆ uninit()
◆ loudnorm_options
◆ avfilter_af_loudnorm_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 923 of file af_loudnorm.c.
◆ avfilter_af_loudnorm_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 931 of file af_loudnorm.c.
◆ ff_af_loudnorm
Initial value:= {
.name = "loudnorm",
.priv_class = &loudnorm_class,
}
Definition at line 938 of file af_loudnorm.c.