FFmpeg
4.3.6
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "formats.h"
#include "af_anlmdndsp.h"
Go to the source code of this file.
Data Structures | |
struct | AudioNLMeansContext |
Macros | |
#define | WEIGHT_LUT_NBITS 20 |
#define | WEIGHT_LUT_SIZE (1<<WEIGHT_LUT_NBITS) |
#define | SQR(x) ((x) * (x)) |
#define | OFFSET(x) offsetof(AudioNLMeansContext, x) |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | AFT 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 } |
Functions | |
AVFILTER_DEFINE_CLASS (anlmdn) | |
static int | query_formats (AVFilterContext *ctx) |
static float | compute_distance_ssd_c (const float *f1, const float *f2, ptrdiff_t K) |
static void | compute_cache_c (float *cache, const float *f, ptrdiff_t S, ptrdiff_t K, ptrdiff_t i, ptrdiff_t jj) |
void | ff_anlmdn_init (AudioNLMDNDSPContext *dsp) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_channel (AVFilterContext *ctx, void *arg, int ch, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | request_frame (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | anlmdn_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | ff_af_anlmdn |
#define WEIGHT_LUT_NBITS 20 |
Definition at line 33 of file af_anlmdn.c.
#define WEIGHT_LUT_SIZE (1<<WEIGHT_LUT_NBITS) |
Definition at line 34 of file af_anlmdn.c.
Referenced by config_output(), and filter_channel().
#define SQR | ( | x | ) | ((x) * (x)) |
Definition at line 36 of file af_anlmdn.c.
Referenced by compute_cache_c(), and compute_distance_ssd_c().
#define OFFSET | ( | x | ) | offsetof(AudioNLMeansContext, x) |
Definition at line 74 of file af_anlmdn.c.
Definition at line 75 of file af_anlmdn.c.
Definition at line 76 of file af_anlmdn.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 67 of file af_anlmdn.c.
AVFILTER_DEFINE_CLASS | ( | anlmdn | ) |
|
static |
Definition at line 92 of file af_anlmdn.c.
|
static |
Definition at line 121 of file af_anlmdn.c.
Referenced by ff_anlmdn_init().
|
static |
Definition at line 131 of file af_anlmdn.c.
Referenced by ff_anlmdn_init().
void ff_anlmdn_init | ( | AudioNLMDNDSPContext * | dsp | ) |
Definition at line 141 of file af_anlmdn.c.
Referenced by config_output().
|
static |
Definition at line 150 of file af_anlmdn.c.
|
static |
Definition at line 196 of file af_anlmdn.c.
Referenced by filter_frame().
|
static |
Definition at line 256 of file af_anlmdn.c.
Referenced by request_frame().
|
static |
Definition at line 309 of file af_anlmdn.c.
|
static |
Definition at line 334 of file af_anlmdn.c.
|
static |
Definition at line 78 of file af_anlmdn.c.
|
static |
Definition at line 343 of file af_anlmdn.c.
|
static |
Definition at line 352 of file af_anlmdn.c.
AVFilter ff_af_anlmdn |
Definition at line 362 of file af_anlmdn.c.