diff options
author | Kenan Gillet <kenan.gillet@gmail.com> | 2008-10-24 21:29:23 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-24 21:29:23 +0000 |
commit | 4599d22c0cd7fa952bc02375d2899d8c9a31b9ae (patch) | |
tree | 23797fb97eb41bdfd65c7d2fbfdb7c5d1c0562dd /libavcodec/ra144.c | |
parent | 60c25a4beb1d0df699104ecb8a536d9a09703d2f (diff) | |
download | ffmpeg-4599d22c0cd7fa952bc02375d2899d8c9a31b9ae.tar.gz |
Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15680 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r-- | libavcodec/ra144.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 83ad0b0b50..01cbc86f3e 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -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 @@ static void do_output_subblock(RA144Context *ractx, const uint16_t *lpc_coefs, 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)); } |