FFmpeg
Macros | Functions
arls_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 HALF   0.5
 
#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 (AudioRLSContext *s, ftype sample, ftype *delay, ftype *coeffs, ftype *tmp, int *offset)
 
static ftype fn() process_sample (AudioRLSContext *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 31 of file arls_template.c.

◆ ftype

#define ftype   double

Definition at line 32 of file arls_template.c.

◆ ONE

#define ONE   1.0

Definition at line 33 of file arls_template.c.

◆ HALF

#define HALF   0.5

Definition at line 34 of file arls_template.c.

◆ ZERO

#define ZERO   0.0

Definition at line 35 of file arls_template.c.

◆ fn3

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

Definition at line 38 of file arls_template.c.

◆ fn2

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

Definition at line 39 of file arls_template.c.

◆ fn

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

Definition at line 40 of file arls_template.c.

Function Documentation

◆ fir_sample()

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

Definition at line 54 of file arls_template.c.

Referenced by process_sample().

◆ process_sample()

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

Definition at line 76 of file arls_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 144 of file arls_template.c.