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

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

Definition at line 38 of file arls_template.c.

◆ fn2

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

Definition at line 39 of file arls_template.c.

◆ fn

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

Definition at line 40 of file arls_template.c.

Referenced by filter_channels(), and process_sample().

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 42 of file arls_template.c.

◆ process_sample()

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

Definition at line 64 of file arls_template.c.

◆ filter_channels()

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

Definition at line 132 of file arls_template.c.