|
FFmpeg
4.4.6
|
#include <float.h>#include "libavutil/audio_fifo.h"#include "libavutil/avstring.h"#include "libavutil/channel_layout.h"#include "libavutil/opt.h"#include "libavcodec/avfft.h"#include "avfilter.h"#include "audio.h"#include "formats.h"#include "filters.h"Go to the source code of this file.
Data Structures | |
| struct | DeNoiseChannel |
| struct | AudioFFTDeNoiseContext |
| struct | ThreadData |
| Used for passing data between threads. More... | |
Macros | |
| #define | C (M_LN10 * 0.1) |
| #define | RATIO 0.98 |
| #define | RRATIO (1.0 - RATIO) |
| #define | OFFSET(x) offsetof(AudioFFTDeNoiseContext, x) |
| #define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
| #define | AFR AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Enumerations | |
| enum | OutModes { IN_MODE , OUT_MODE , NOISE_MODE , NB_MODES , IN_MODE , OUT_MODE , NOISE_MODE , NB_MODES , IN_MODE , DESIRED_MODE , OUT_MODE , NOISE_MODE , NB_OMODES , IN_MODE , OUT_MODE , ESS_MODE , NB_MODES } |
| enum | NoiseType { WHITE_NOISE , VINYL_NOISE , SHELLAC_NOISE , CUSTOM_NOISE , NB_NOISE } |
Variables | |
| static const AVOption | afftdn_options [] |
| static const AVFilterPad | inputs [] |
| static const AVFilterPad | outputs [] |
| AVFilter | ff_af_afftdn |
| #define C (M_LN10 * 0.1) |
Definition at line 33 of file af_afftdn.c.
| #define RATIO 0.98 |
Definition at line 34 of file af_afftdn.c.
| #define RRATIO (1.0 - RATIO) |
Definition at line 35 of file af_afftdn.c.
| #define OFFSET | ( | x | ) | offsetof(AudioFFTDeNoiseContext, x) |
Definition at line 143 of file af_afftdn.c.
Definition at line 144 of file af_afftdn.c.
Definition at line 145 of file af_afftdn.c.
| enum OutModes |
| Enumerator | |
|---|---|
| IN_MODE | |
| OUT_MODE | |
| NOISE_MODE | |
| NB_MODES | |
| IN_MODE | |
| OUT_MODE | |
| NOISE_MODE | |
| NB_MODES | |
| IN_MODE | |
| DESIRED_MODE | |
| OUT_MODE | |
| NOISE_MODE | |
| NB_OMODES | |
| IN_MODE | |
| OUT_MODE | |
| ESS_MODE | |
| NB_MODES | |
Definition at line 37 of file af_afftdn.c.
| enum NoiseType |
| Enumerator | |
|---|---|
| WHITE_NOISE | |
| VINYL_NOISE | |
| SHELLAC_NOISE | |
| CUSTOM_NOISE | |
| NB_NOISE | |
Definition at line 44 of file af_afftdn.c.
| AVFILTER_DEFINE_CLASS | ( | afftdn | ) |
|
static |
Definition at line 168 of file af_afftdn.c.
Referenced by config_input().
Definition at line 184 of file af_afftdn.c.
Referenced by config_input().
Definition at line 198 of file af_afftdn.c.
Referenced by process_get_band_noise(), and set_noise_profile().
|
static |
Definition at line 217 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 247 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 283 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 292 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 485 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 492 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 500 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 513 of file af_afftdn.c.
Referenced by output_frame(), and set_parameters().
|
static |
Definition at line 549 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 581 of file af_afftdn.c.
Referenced by config_input(), output_frame(), and process_command().
|
static |
Definition at line 610 of file af_afftdn.c.
|
static |
Definition at line 858 of file af_afftdn.c.
Referenced by filter_channel(), and sample_noise_block().
|
static |
Definition at line 891 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 922 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 932 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1000 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1019 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1086 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1139 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1158 of file af_afftdn.c.
Referenced by activate().
|
static |
Definition at line 1271 of file af_afftdn.c.
|
static |
Definition at line 1308 of file af_afftdn.c.
|
static |
Definition at line 1345 of file af_afftdn.c.
|
static |
Definition at line 1374 of file af_afftdn.c.
|
static |
Definition at line 147 of file af_afftdn.c.
|
static |
Definition at line 1404 of file af_afftdn.c.
|
static |
Definition at line 1413 of file af_afftdn.c.
| AVFilter ff_af_afftdn |
Definition at line 1421 of file af_afftdn.c.