Revision 384dbd61 libavcodec/lpc.c
libavcodec/lpc.c  

28  28 
/** 
29  29 
* Apply Welch window function to audio block 
30  30 
*/ 
31 
static void apply_welch_window_c(const int32_t *data, int len, double *w_data) 

31 
static void lpc_apply_welch_window_c(const int32_t *data, int len, 

32 
double *w_data) 

32  33 
{ 
33  34 
int i, n2; 
34  35 
double w; 
...  ...  
55  56 
* A Welch window function is applied before calculation. 
56  57 
*/ 
57  58 
static void lpc_compute_autocorr_c(const double *data, int len, int lag, 
58 
double *autoc) 

59 
double *autoc)


59  60 
{ 
60  61 
int i, j; 
61  62  
...  ...  
255  256 
s>windowed_samples = NULL; 
256  257 
} 
257  258  
258 
s>lpc_apply_welch_window = apply_welch_window_c; 

259 
s>lpc_compute_autocorr = lpc_compute_autocorr_c; 

259 
s>lpc_apply_welch_window = lpc_apply_welch_window_c;


260 
s>lpc_compute_autocorr = lpc_compute_autocorr_c;


260  261  
261  262 
if (HAVE_MMX) 
262  263 
ff_lpc_init_x86(s); 
Also available in: Unified diff