FFmpeg
Macros | Functions
anlms_template.c File Reference

Go to the source code of this file.

Macros

#define SAMPLE_FORMAT   double
 
#define ftype   double
 
#define ONE   1.0
 
#define fn3(a, b)   a##_##b
 
#define fn2(a, b)   fn3(a,b)
 
#define fn(a)   fn2(a, SAMPLE_FORMAT)
 

Functions

static ftype fn() fir_sample (AudioNLMSContext *s, ftype sample, ftype *delay, ftype *coeffs, ftype *tmp, int *offset)
 
static ftype fn() process_sample (AudioNLMSContext *s, ftype input, ftype desired, ftype *delay, ftype *coeffs, ftype *tmp, int *offsetp)
 
static int fn() filter_channels (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
 

Macro Definition Documentation

◆ SAMPLE_FORMAT

#define SAMPLE_FORMAT   double

Definition at line 27 of file anlms_template.c.

◆ ftype

#define ftype   double

Definition at line 28 of file anlms_template.c.

◆ ONE

#define ONE   1.0

Definition at line 29 of file anlms_template.c.

◆ fn3

#define fn3 (   a,
  b 
)    a##_##b

Definition at line 32 of file anlms_template.c.

◆ fn2

#define fn2 (   a,
  b 
)    fn3(a,b)

Definition at line 33 of file anlms_template.c.

◆ fn

#define fn (   a)    fn2(a, SAMPLE_FORMAT)

Definition at line 34 of file anlms_template.c.

Function Documentation

◆ fir_sample()

static ftype fn() fir_sample ( AudioNLMSContext s,
ftype  sample,
ftype delay,
ftype coeffs,
ftype tmp,
int *  offset 
)
static

Definition at line 36 of file anlms_template.c.

Referenced by process_sample().

◆ process_sample()

static ftype fn() process_sample ( AudioNLMSContext s,
ftype  input,
ftype  desired,
ftype delay,
ftype coeffs,
ftype tmp,
int *  offsetp 
)
static

Definition at line 58 of file anlms_template.c.

Referenced by filter_channels().

◆ filter_channels()

static int fn() filter_channels ( AVFilterContext ctx,
void *  arg,
int  jobnr,
int  nb_jobs 
)
static

Definition at line 105 of file anlms_template.c.