FFmpeg
Macros | Functions
aap_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 ZERO   0.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 (AudioAPContext *s, ftype sample, ftype *delay, ftype *coeffs, ftype *tmp, int *offset)
 
static int fn() lup_decompose (ftype **MA, const int N, const ftype tol, int *P)
 
static void fn() lup_invert (ftype *const *MA, const int *P, const int N, ftype **IA)
 
static ftype fn() process_sample (AudioAPContext *s, ftype input, ftype desired, int ch)
 
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 29 of file aap_template.c.

◆ ftype

#define ftype   double

Definition at line 30 of file aap_template.c.

◆ ONE

#define ONE   1.0

Definition at line 31 of file aap_template.c.

◆ ZERO

#define ZERO   0.0

Definition at line 32 of file aap_template.c.

◆ fn3

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

Definition at line 35 of file aap_template.c.

◆ fn2

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

Definition at line 36 of file aap_template.c.

◆ fn

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

Definition at line 37 of file aap_template.c.

Function Documentation

◆ fir_sample()

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

Definition at line 51 of file aap_template.c.

Referenced by process_sample().

◆ lup_decompose()

static int fn() lup_decompose ( ftype **  MA,
const int  N,
const ftype  tol,
int P 
)
static

Definition at line 72 of file aap_template.c.

Referenced by process_sample().

◆ lup_invert()

static void fn() lup_invert ( ftype *const *  MA,
const int P,
const int  N,
ftype **  IA 
)
static

Definition at line 109 of file aap_template.c.

Referenced by process_sample().

◆ process_sample()

static ftype fn() process_sample ( AudioAPContext s,
ftype  input,
ftype  desired,
int  ch 
)
static

Definition at line 128 of file aap_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 207 of file aap_template.c.