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
This commit is contained in:
committed by
Diego Biurrun
parent
60c25a4beb
commit
4599d22c0c
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user