FFmpeg
Loading...
Searching...
No Matches
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)
 
#define fn2(a, b)
 
#define fn(a)
 

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 )
Value:
a##_##b
#define _
int a
#define b
Definition input.c:43

Definition at line 32 of file anlms_template.c.

◆ fn2

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

Definition at line 33 of file anlms_template.c.

◆ fn

#define fn ( a)
Value:
#define SAMPLE_FORMAT
#define fn2(a, b)

Definition at line 34 of file anlms_template.c.

Referenced by filter_channels(), and process_sample().

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.

◆ 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.

◆ 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.