Mercurial > libavcodec.hg
diff ra144enc.c @ 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 | 34beb0af8204 |
line wrap: on
line diff
--- a/ra144enc.c Sun Jul 11 14:50:20 2010 +0000 +++ b/ra144enc.c Sun Jul 11 16:56:20 2010 +0000 @@ -452,8 +452,8 @@ 32)]; ff_lpc_calc_coefs(&ractx->dsp, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, - LPC_ORDER, 16, lpc_coefs, shift, 1, ORDER_METHOD_EST, 12, - 0); + LPC_ORDER, 16, lpc_coefs, shift, AV_LPC_TYPE_LEVINSON, + 0, ORDER_METHOD_EST, 12, 0); for (i = 0; i < LPC_ORDER; i++) block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] << (12 - shift[LPC_ORDER - 1]));