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 [] |
const 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.
Definition at line 130 of file af_dynaudnorm.c.
Referenced by config_input(), and process_command().
Definition at line 136 of file af_dynaudnorm.c.
Referenced by config_input(), create_exec_ctx(), and ff_vk_create_exec_ctx().
|
static |
Definition at line 160 of file af_dynaudnorm.c.
Referenced by uninit().
Definition at line 167 of file af_dynaudnorm.c.
Referenced by gaussian_filter(), minimum_filter(), and update_gain_history().
Definition at line 172 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 177 of file af_dynaudnorm.c.
Referenced by filter_frame(), and update_gain_history().
Definition at line 187 of file af_dynaudnorm.c.
Referenced by gaussian_filter(), minimum_filter(), and update_gain_history().
Definition at line 193 of file af_dynaudnorm.c.
Referenced by amplify_frame(), and filter_frame().
Definition at line 204 of file af_dynaudnorm.c.
Referenced by cqueue_resize(), and update_gain_history().
Definition at line 214 of file af_dynaudnorm.c.
Referenced by process_command().
|
static |
Definition at line 236 of file af_dynaudnorm.c.
Referenced by config_input(), and process_command().
|
static |
Definition at line 263 of file af_dynaudnorm.c.
Referenced by config_input().
|
static |
Definition at line 296 of file af_dynaudnorm.c.
Definition at line 342 of file af_dynaudnorm.c.
Referenced by amplify_frame(), perform_compression(), and perform_dc_correction().
|
inlinestatic |
Definition at line 350 of file af_dynaudnorm.c.
Referenced by compute_frame_rms(), and compute_frame_std_dev().
|
inlinestatic |
Definition at line 355 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 361 of file af_dynaudnorm.c.
Referenced by get_max_local_gain().
Definition at line 383 of file af_dynaudnorm.c.
Referenced by get_max_local_gain().
|
static |
Definition at line 410 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 424 of file af_dynaudnorm.c.
Referenced by update_gain_history().
|
static |
Definition at line 436 of file af_dynaudnorm.c.
Referenced by update_gain_history().
|
static |
Definition at line 452 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
inlinestatic |
Definition at line 507 of file af_dynaudnorm.c.
Referenced by perform_compression(), and perform_dc_correction().
|
static |
Definition at line 513 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 536 of file af_dynaudnorm.c.
Referenced by perform_compression().
|
static |
Definition at line 558 of file af_dynaudnorm.c.
Referenced by perform_compression().
|
static |
Definition at line 585 of file af_dynaudnorm.c.
Referenced by analyze_frame().
|
static |
Definition at line 630 of file af_dynaudnorm.c.
Referenced by filter_frame().
|
static |
Definition at line 654 of file af_dynaudnorm.c.
Referenced by filter_frame().
|
static |
Definition at line 678 of file af_dynaudnorm.c.
Referenced by activate(), and flush_buffer().
|
static |
Definition at line 724 of file af_dynaudnorm.c.
Referenced by flush().
|
static |
Definition at line 748 of file af_dynaudnorm.c.
Referenced by activate().
|
static |
Definition at line 768 of file af_dynaudnorm.c.
|
static |
Definition at line 814 of file af_dynaudnorm.c.
|
static |
Definition at line 92 of file af_dynaudnorm.c.
|
static |
Definition at line 842 of file af_dynaudnorm.c.
|
static |
Definition at line 850 of file af_dynaudnorm.c.
const AVFilter ff_af_dynaudnorm |
Definition at line 857 of file af_dynaudnorm.c.