FFmpeg
Loading...
Searching...
No Matches
lpc_functions.h File Reference

Go to the source code of this file.

Macros

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

Typedefs

typedef float LPC_TYPE
 
typedef float LPC_TYPE_U
 

Functions

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

Macro Definition Documentation

◆ LPC_USE_FIXED

#define LPC_USE_FIXED   0

Definition at line 28 of file lpc_functions.h.

Referenced by compute_ref_coefs().

◆ LPC_SRA_R

#define LPC_SRA_R ( x,
y )
Value:
(x)

Definition at line 36 of file lpc_functions.h.

Referenced by compute_lpc_coefs().

◆ LPC_MUL26

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

Definition at line 37 of file lpc_functions.h.

Referenced by compute_lpc_coefs().

◆ LPC_FIXR

#define LPC_FIXR ( x)
Value:
((float)(x))

Definition at line 38 of file lpc_functions.h.

Referenced by compute_lpc_coefs().

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 i,
int max_order,
LPC_TYPE * lpc,
int lpc_stride,
int fail,
int normalize,
LPC_TYPE * err_ptr )
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(), decode_frame(), ff_aac_apply_tns(), ff_aac_search_for_tns(), ff_lpc_calc_coefs(), and search_for_tns_short_pooled().