FFmpeg
Macros | Typedefs | Functions
lpc_functions.h File Reference
#include "libavutil/avassert.h"

Go to the source code of this file.

Macros

#define LPC_USE_FIXED   0
 
#define LPC_SRA_R(x, y)   (x)
 
#define LPC_MUL26(x, y)   ((x) * (y))
 
#define LPC_FIXR(x)   ((float)(x))
 

Typedefs

typedef float LPC_TYPE
 
typedef float LPC_TYPE_U
 

Functions

static int compute_lpc_coefs (const LPC_TYPE *autoc, int max_order, LPC_TYPE *lpc, int lpc_stride, int fail, int normalize)
 Levinson-Durbin recursion. More...
 

Macro Definition Documentation

◆ LPC_USE_FIXED

#define LPC_USE_FIXED   0

Definition at line 28 of file lpc_functions.h.

◆ LPC_SRA_R

#define LPC_SRA_R (   x,
 
)    (x)

Definition at line 36 of file lpc_functions.h.

◆ LPC_MUL26

#define LPC_MUL26 (   x,
 
)    ((x) * (y))

Definition at line 37 of file lpc_functions.h.

◆ LPC_FIXR

#define LPC_FIXR (   x)    ((float)(x))

Definition at line 38 of file lpc_functions.h.

Typedef Documentation

◆ LPC_TYPE

typedef float LPC_TYPE

Definition at line 45 of file lpc_functions.h.

◆ LPC_TYPE_U

typedef float LPC_TYPE_U

Definition at line 46 of file lpc_functions.h.

Function Documentation

◆ compute_lpc_coefs()

static int compute_lpc_coefs ( const LPC_TYPE autoc,
int  max_order,
LPC_TYPE lpc,
int  lpc_stride,
int  fail,
int  normalize 
)
inlinestatic

Levinson-Durbin recursion.

Produce LPC coefficients from autocorrelation data.

Definition at line 54 of file lpc_functions.h.

Referenced by apply_tns(), backward_filter(), ff_aac_apply_tns(), and ff_lpc_calc_coefs().