FFmpeg
|
#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 | A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | OutModes { IN_MODE, OUT_MODE, NOISE_MODE, NB_MODES, IN_MODE, OUT_MODE, NOISE_MODE, NB_MODES, 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.
enum OutModes |
Enumerator | |
---|---|
IN_MODE | |
OUT_MODE | |
NOISE_MODE | |
NB_MODES | |
IN_MODE | |
OUT_MODE | |
NOISE_MODE | |
NB_MODES | |
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 167 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 183 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 197 of file af_afftdn.c.
Referenced by process_get_band_noise(), and set_noise_profile().
|
static |
Definition at line 216 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 246 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 282 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 291 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 484 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 491 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 499 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 512 of file af_afftdn.c.
Referenced by output_frame(), and set_parameters().
|
static |
Definition at line 548 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 580 of file af_afftdn.c.
Referenced by config_input(), output_frame(), and process_command().
|
static |
Definition at line 609 of file af_afftdn.c.
|
static |
Definition at line 857 of file af_afftdn.c.
Referenced by filter_channel(), and sample_noise_block().
|
static |
Definition at line 890 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 921 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 931 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 999 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1018 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1085 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1138 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1157 of file af_afftdn.c.
Referenced by activate().
|
static |
Definition at line 1270 of file af_afftdn.c.
|
static |
Definition at line 1307 of file af_afftdn.c.
|
static |
Definition at line 1344 of file af_afftdn.c.
|
static |
Definition at line 1373 of file af_afftdn.c.
|
static |
Definition at line 146 of file af_afftdn.c.
|
static |
Definition at line 1422 of file af_afftdn.c.
|
static |
Definition at line 1431 of file af_afftdn.c.
AVFilter ff_af_afftdn |
Definition at line 1439 of file af_afftdn.c.