FFmpeg
|
#include <float.h>
#include "libavutil/audio_fifo.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "libavutil/tx.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 [] |
const 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 145 of file af_afftdn.c.
Definition at line 146 of file af_afftdn.c.
Definition at line 147 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 170 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 186 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 200 of file af_afftdn.c.
Referenced by process_get_band_noise(), and set_noise_profile().
|
static |
Definition at line 219 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 249 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 285 of file af_afftdn.c.
Referenced by process_frame().
|
static |
Definition at line 294 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 487 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 494 of file af_afftdn.c.
Referenced by set_band_parameters().
|
static |
Definition at line 502 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 515 of file af_afftdn.c.
Referenced by output_frame(), and set_parameters().
|
static |
Definition at line 551 of file af_afftdn.c.
Referenced by config_input().
|
static |
Definition at line 583 of file af_afftdn.c.
Referenced by config_input(), output_frame(), and process_command().
|
static |
Definition at line 612 of file af_afftdn.c.
|
static |
Definition at line 867 of file af_afftdn.c.
Referenced by filter_channel(), and sample_noise_block().
|
static |
Definition at line 900 of file af_afftdn.c.
Referenced by filter_channel().
|
static |
Definition at line 931 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 941 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1008 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1027 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1093 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1144 of file af_afftdn.c.
Referenced by output_frame().
|
static |
Definition at line 1163 of file af_afftdn.c.
Referenced by activate().
|
static |
Definition at line 1277 of file af_afftdn.c.
|
static |
Definition at line 1314 of file af_afftdn.c.
|
static |
Definition at line 1350 of file af_afftdn.c.
|
static |
Definition at line 149 of file af_afftdn.c.
|
static |
Definition at line 1380 of file af_afftdn.c.
|
static |
Definition at line 1388 of file af_afftdn.c.
const AVFilter ff_af_afftdn |
Definition at line 1395 of file af_afftdn.c.