Revision e9e3c980
libavcodec/lpc.c  

135  135 
* Calculate LPC coefficients for multiple orders 
136  136 
*/ 
137  137 
int ff_lpc_calc_coefs(DSPContext *s, 
138 
const int32_t *samples, int blocksize, int max_order,


139 
int precision, int32_t coefs[][MAX_LPC_ORDER],


140 
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift)


138 
const int32_t *samples, int blocksize, int max_order, 

139 
int precision, int32_t coefs[][MAX_LPC_ORDER], 

140 
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift) 

141  141 
{ 
142  142 
double autoc[MAX_LPC_ORDER+1]; 
143  143 
double ref[MAX_LPC_ORDER]; 
libavcodec/lpc.h  

31  31 
#define ORDER_METHOD_SEARCH 4 
32  32 
#define ORDER_METHOD_LOG 5 
33  33  
34 
#define MIN_LPC_ORDER 1 

35 
#define MAX_LPC_ORDER 32 

34 
#define MIN_LPC_ORDER 1


35 
#define MAX_LPC_ORDER 32


36  36  
37  37  
38  38 
/** 
39  39 
* Calculate LPC coefficients for multiple orders 
40  40 
*/ 
41  41 
int ff_lpc_calc_coefs(DSPContext *s, 
42 
const int32_t *samples, int blocksize, int max_order,


43 
int precision, int32_t coefs[][MAX_LPC_ORDER],


44 
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift);


42 
const int32_t *samples, int blocksize, int max_order, 

43 
int precision, int32_t coefs[][MAX_LPC_ORDER], 

44 
int *shift, int use_lpc, int omethod, int max_shift, int zero_shift); 

45  45  
46  46 
#endif /* FFMPEG_LPC_H */ 
Also available in: Unified diff