comparison lpc.h @ 12139:e59926e2c50c libavcodec

Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields. Add AVLPCType enum. Deprecate AVCodecContext.use_lpc.
author jbr
date Sun, 11 Jul 2010 16:56:20 +0000
parents fdafbcef52f5
children
comparison
equal deleted inserted replaced
12138:41f078d6869d 12139:e59926e2c50c
40 * Calculate LPC coefficients for multiple orders 40 * Calculate LPC coefficients for multiple orders
41 */ 41 */
42 int ff_lpc_calc_coefs(DSPContext *s, 42 int ff_lpc_calc_coefs(DSPContext *s,
43 const int32_t *samples, int blocksize, int min_order, 43 const int32_t *samples, int blocksize, int min_order,
44 int max_order, int precision, 44 int max_order, int precision,
45 int32_t coefs[][MAX_LPC_ORDER], int *shift, int use_lpc, 45 int32_t coefs[][MAX_LPC_ORDER], int *shift,
46 enum AVLPCType lpc_type, int lpc_passes,
46 int omethod, int max_shift, int zero_shift); 47 int omethod, int max_shift, int zero_shift);
47 48
48 void ff_lpc_compute_autocorr(const int32_t *data, int len, int lag, 49 void ff_lpc_compute_autocorr(const int32_t *data, int len, int lag,
49 double *autoc); 50 double *autoc);
50 51