FFmpeg
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavfilter/bufferqueue.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | local_gain |
struct | cqueue |
struct | DynamicAudioNormalizerContext |
Macros | |
#define | MIN_FILTER_SIZE 3 |
#define | MAX_FILTER_SIZE 301 |
#define | FF_BUFQUEUE_SIZE (MAX_FILTER_SIZE + 1) |
#define | OFFSET(x) offsetof(DynamicAudioNormalizerContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Variables | |
static const AVOption | dynaudnorm_options [] |
static const AVFilterPad | avfilter_af_dynaudnorm_inputs [] |
static const AVFilterPad | avfilter_af_dynaudnorm_outputs [] |
AVFilter | ff_af_dynaudnorm |
Dynamic Audio Normalizer
Definition in file af_dynaudnorm.c.
#define MIN_FILTER_SIZE 3 |
Definition at line 32 of file af_dynaudnorm.c.
#define MAX_FILTER_SIZE 301 |
Definition at line 33 of file af_dynaudnorm.c.
#define FF_BUFQUEUE_SIZE (MAX_FILTER_SIZE + 1) |
Definition at line 35 of file af_dynaudnorm.c.
#define OFFSET | ( | x | ) | offsetof(DynamicAudioNormalizerContext, x) |
Definition at line 89 of file af_dynaudnorm.c.
Definition at line 90 of file af_dynaudnorm.c.
AVFILTER_DEFINE_CLASS | ( | dynaudnorm | ) |
|
static |
Definition at line 118 of file af_dynaudnorm.c.
|
static |
Definition at line 130 of file af_dynaudnorm.c.
Definition at line 160 of file af_dynaudnorm.c.
Referenced by config_input(), and process_command().
Definition at line 166 of file af_dynaudnorm.c.
Referenced by config_input(), create_exec_ctx(), and ff_vk_create_exec_ctx().
|
static |
Definition at line 190 of file af_dynaudnorm.c.
Referenced by uninit().
Definition at line 197 of file af_dynaudnorm.c.
Referenced by gaussian_filter(), minimum_filter(), and update_gain_history().
Definition at line 202 of file af_dynaudnorm.c.
Referenced by cqueue_dequeue(), cqueue_pop(), filter_frame(), flush(), perform_compression(), perform_dc_correction(), and update_gain_history().
Definition at line 207 of file af_dynaudnorm.c.
Referenced by filter_frame(), and update_gain_history().
Definition at line 217 of file af_dynaudnorm.c.
Referenced by gaussian_filter(), minimum_filter(), and update_gain_history().
Definition at line 223 of file af_dynaudnorm.c.
Referenced by amplify_frame(), and filter_frame().
Definition at line 234 of file af_dynaudnorm.c.
Referenced by cqueue_resize(), and update_gain_history().
Definition at line 244 of file af_dynaudnorm.c.
Referenced by process_command().
|
static |
Definition at line 266 of file af_dynaudnorm.c.
Referenced by config_input(), and process_command().
|
static |
Definition at line 293 of file af_dynaudnorm.c.
Referenced by config_input().
|
static |
Definition at line 326 of file af_dynaudnorm.c.
Definition at line 372 of file af_dynaudnorm.c.
Referenced by amplify_frame(), perform_compression(), and perform_dc_correction().
|
inlinestatic |
Definition at line 380 of file af_dynaudnorm.c.
Referenced by compute_frame_rms(), and compute_frame_std_dev().
|
inlinestatic |
Definition at line 385 of file af_dynaudnorm.c.
Referenced by get_max_local_gain(), mp_decode_layer1(), mp_decode_layer2(), perform_compression(), and setup_compress_thresh().
Definition at line 391 of file af_dynaudnorm.c.
Referenced by get_max_local_gain().
Definition at line 413 of file af_dynaudnorm.c.
Referenced by get_max_local_gain().
|
static |
Definition at line 440 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 454 of file af_dynaudnorm.c.
Referenced by update_gain_history().
|
static |
Definition at line 466 of file af_dynaudnorm.c.
Referenced by update_gain_history().
|
static |
Definition at line 482 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
inlinestatic |
Definition at line 537 of file af_dynaudnorm.c.
Referenced by perform_compression(), and perform_dc_correction().
|
static |
Definition at line 543 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 566 of file af_dynaudnorm.c.
Referenced by perform_compression().
|
static |
Definition at line 588 of file af_dynaudnorm.c.
Referenced by perform_compression().
|
static |
Definition at line 615 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 660 of file af_dynaudnorm.c.
Referenced by filter_frame().
|
static |
Definition at line 684 of file af_dynaudnorm.c.
Referenced by filter_frame().
|
static |
Definition at line 706 of file af_dynaudnorm.c.
Referenced by activate(), and flush_buffer().
|
static |
Definition at line 737 of file af_dynaudnorm.c.
Referenced by flush().
|
static |
Definition at line 761 of file af_dynaudnorm.c.
Referenced by activate().
|
static |
Definition at line 779 of file af_dynaudnorm.c.
|
static |
Definition at line 825 of file af_dynaudnorm.c.
|
static |
Definition at line 92 of file af_dynaudnorm.c.
|
static |
Definition at line 853 of file af_dynaudnorm.c.
|
static |
Definition at line 862 of file af_dynaudnorm.c.
AVFilter ff_af_dynaudnorm |
Definition at line 870 of file af_dynaudnorm.c.