#include "libavutil/opt.h"
#include "avfilter.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 | request_frame (AVFilterLink *outlink) |
|
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) |
|
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 29 of file af_loudnorm.c.
Enumerator |
---|
OUT |
|
ATTACK |
|
SUSTAIN |
|
RELEASE |
|
STATE_NB |
|
Definition at line 37 of file af_loudnorm.c.
Enumerator |
---|
NONE |
|
JSON |
|
SUMMARY |
|
PF_NB |
|
Definition at line 45 of file af_loudnorm.c.
AVFILTER_DEFINE_CLASS |
( |
loudnorm |
| ) |
|
static int frame_size |
( |
int |
sample_rate, |
|
|
int |
frame_len_msec |
|
) |
| |
|
inlinestatic |
Initial value:= {
}
static int linear(InterplayACMContext *s, unsigned ind, unsigned col)
static char * print_format
static const uint8_t offset[127][2]
Definition at line 101 of file af_loudnorm.c.
Initial value:= {
{
.name = "default",
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition at line 904 of file af_loudnorm.c.
Initial value:= {
{
.name = "default",
},
}
static int request_frame(AVFilterLink *outlink)
Definition at line 914 of file af_loudnorm.c.
Initial value:= {
.name = "loudnorm",
.priv_class = &loudnorm_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad avfilter_af_loudnorm_inputs[]
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static av_cold int init(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad avfilter_af_loudnorm_outputs[]
Definition at line 923 of file af_loudnorm.c.