Mercurial > libavcodec.hg
diff ra144.c @ 8049:611a21e4b01b libavcodec
Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.
patch by Kenan Gillet, kenan.gillet gmail com
author | diego |
---|---|
date | Fri, 24 Oct 2008 21:29:23 +0000 |
parents | 5a114f24632a |
children | ad7fd7a40717 |
line wrap: on
line diff
--- a/ra144.c Fri Oct 24 21:20:29 2008 +0000 +++ b/ra144.c Fri Oct 24 21:29:23 2008 +0000 @@ -25,7 +25,7 @@ #include "avcodec.h" #include "bitstream.h" #include "ra144.h" -#include "acelp_filters.h" +#include "celp_filters.h" #define NBLOCKS 4 ///< number of subblocks within a block #define BLOCKSIZE 40 ///< subblock size in 16-bit words @@ -201,8 +201,8 @@ memcpy(ractx->curr_sblock, ractx->curr_sblock + 40, 10*sizeof(*ractx->curr_sblock)); - if (ff_acelp_lp_synthesis_filter(ractx->curr_sblock + 10, lpc_coefs, - block, BLOCKSIZE, 10, 1, 0xfff)) + if (ff_celp_lp_synthesis_filter(ractx->curr_sblock + 10, lpc_coefs, + block, BLOCKSIZE, 10, 1, 0xfff)) memset(ractx->curr_sblock, 0, 50*sizeof(*ractx->curr_sblock)); }