FFmpeg
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.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 | OFFSET(x) offsetof(AudioNLMeansContext, x) |
#define | AFT AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Enumerations | |
enum | OutModes { IN_MODE, DESIRED_MODE, OUT_MODE, NOISE_MODE, ERROR_MODE, NB_OMODES, IN_MODE, OUT_MODE, NOISE_MODE, NB_MODES, IN_MODE, OUT_MODE, NOISE_MODE, NB_MODES, IN_MODE, DESIRED_MODE, OUT_MODE, NOISE_MODE, ERROR_MODE, NB_OMODES, IN_MODE, DESIRED_MODE, OUT_MODE, NOISE_MODE, ERROR_MODE, NB_OMODES, IN_MODE, OUT_MODE, ESS_MODE, NB_MODES } |
Functions | |
AVFILTER_DEFINE_CLASS (anlmdn) | |
static float | sqrdiff (float x, float y) |
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_filter (AVFilterContext *ctx) |
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 | activate (AVFilterContext *ctx) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | anlmdn_options [] |
static const AVFilterPad | outputs [] |
const AVFilter | ff_af_anlmdn |
#define WEIGHT_LUT_NBITS 20 |
Definition at line 31 of file af_anlmdn.c.
#define WEIGHT_LUT_SIZE (1<<WEIGHT_LUT_NBITS) |
Definition at line 32 of file af_anlmdn.c.
#define OFFSET | ( | x | ) | offsetof(AudioNLMeansContext, x) |
Definition at line 65 of file af_anlmdn.c.
Definition at line 66 of file af_anlmdn.c.
enum OutModes |
Definition at line 58 of file af_anlmdn.c.
AVFILTER_DEFINE_CLASS | ( | anlmdn | ) |
Definition at line 87 of file af_anlmdn.c.
Referenced by compute_cache_c(), and compute_distance_ssd_c().
Definition at line 94 of file af_anlmdn.c.
Referenced by ff_anlmdn_init().
|
static |
Definition at line 104 of file af_anlmdn.c.
Referenced by ff_anlmdn_init().
void ff_anlmdn_init | ( | AudioNLMDNDSPContext * | dsp | ) |
Definition at line 114 of file af_anlmdn.c.
Referenced by config_output().
|
static |
Definition at line 124 of file af_anlmdn.c.
Referenced by config_output(), and process_command().
|
static |
Definition at line 183 of file af_anlmdn.c.
|
static |
Definition at line 198 of file af_anlmdn.c.
Referenced by filter_frame().
|
static |
Definition at line 267 of file af_anlmdn.c.
Referenced by activate().
|
static |
Definition at line 294 of file af_anlmdn.c.
|
static |
Definition at line 324 of file af_anlmdn.c.
|
static |
Definition at line 336 of file af_anlmdn.c.
|
static |
Definition at line 68 of file af_anlmdn.c.
|
static |
Definition at line 344 of file af_anlmdn.c.
const AVFilter ff_af_anlmdn |
Definition at line 352 of file af_anlmdn.c.