#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.
|
| | 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) |
| |
◆ WEIGHT_LUT_NBITS
| #define WEIGHT_LUT_NBITS 20 |
◆ WEIGHT_LUT_SIZE
◆ OFFSET
◆ AFT
◆ OutModes
| Enumerator |
|---|
| IN_MODE | |
| OUT_MODE | |
| NOISE_MODE | |
| NB_MODES | |
Definition at line 58 of file af_anlmdn.c.
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
anlmdn | | ) |
|
◆ sqrdiff()
◆ compute_distance_ssd_c()
| static float compute_distance_ssd_c |
( |
const float * | f1, |
|
|
const float * | f2, |
|
|
ptrdiff_t | K ) |
|
static |
◆ compute_cache_c()
| static void compute_cache_c |
( |
float * | cache, |
|
|
const float * | f, |
|
|
ptrdiff_t | S, |
|
|
ptrdiff_t | K, |
|
|
ptrdiff_t | i, |
|
|
ptrdiff_t | jj ) |
|
static |
◆ ff_anlmdn_init()
◆ config_filter()
◆ config_output()
◆ filter_channel()
| static int filter_channel |
( |
AVFilterContext * | ctx, |
|
|
void * | arg, |
|
|
int | ch, |
|
|
int | nb_jobs ) |
|
static |
◆ filter_frame()
◆ activate()
◆ process_command()
| static int process_command |
( |
AVFilterContext * | ctx, |
|
|
const char * | cmd, |
|
|
const char * | args, |
|
|
char * | res, |
|
|
int | res_len, |
|
|
int | flags ) |
|
static |
◆ uninit()
◆ anlmdn_options
Initial value:= {
}
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_OPT_TYPE_DURATION
Underlying C type is int64_t.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
Definition at line 68 of file af_anlmdn.c.
◆ outputs
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVBitStreamFilterLink *outlink)
Definition at line 344 of file af_anlmdn.c.
◆ ff_af_anlmdn
Initial value:= {
.p.name = "anlmdn",
.p.priv_class = &anlmdn_class,
}
static const AVFilterPad outputs[]
static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags)
const AVFilterPad ff_audio_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_AUDIO.
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
Same as AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, except that the filter will have its filter_frame() c...
@ AV_SAMPLE_FMT_FLTP
float, planar
static av_cold void uninit(AVBitStreamFilterContext *ctx)
static int activate(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_SINGLE_SAMPLEFMT(sample_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 352 of file af_anlmdn.c.