diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-10-26 11:34:08 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-10-26 11:34:08 +0000 |
commit | 8431c08b7d3a271ad34ce512e2bdcb0e53e39c38 (patch) | |
tree | 28c87d56f5391defa58449acb60a311c21668a94 /apps/codecs/libspeex/filters.c | |
parent | 530abe84fdc7ea04a6c638c05abfde1dbdde38d9 (diff) | |
download | rockbox-8431c08b7d3a271ad34ce512e2bdcb0e53e39c38.tar.gz rockbox-8431c08b7d3a271ad34ce512e2bdcb0e53e39c38.zip |
QMF filter memory doesn't need to be 32 bits, so convert it to 16 bits. Alter assembler code to reflect this. Also do a small optimization in the reverse block copy of the qmf_synth() Coldfire assembler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15315 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/filters.c')
-rw-r--r-- | apps/codecs/libspeex/filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/filters.c b/apps/codecs/libspeex/filters.c index e64f087a5d..0e76e27e84 100644 --- a/apps/codecs/libspeex/filters.c +++ b/apps/codecs/libspeex/filters.c | |||
@@ -478,7 +478,7 @@ void qmf_decomp(const spx_word16_t *xx, const spx_word16_t *aa, spx_word16_t *y1 | |||
478 | 478 | ||
479 | #ifndef OVERRIDE_QMF_SYNTH | 479 | #ifndef OVERRIDE_QMF_SYNTH |
480 | /* Re-synthesised a signal from the QMF low-band and high-band signals */ | 480 | /* Re-synthesised a signal from the QMF low-band and high-band signals */ |
481 | void qmf_synth(const spx_word16_t *x1, const spx_word16_t *x2, const spx_word16_t *a, spx_word16_t *y, int N, int M, spx_word32_t *mem1, spx_word32_t *mem2, char *stack) | 481 | void qmf_synth(const spx_word16_t *x1, const spx_word16_t *x2, const spx_word16_t *a, spx_word16_t *y, int N, int M, spx_word16_t *mem1, spx_word16_t *mem2, char *stack) |
482 | /* assumptions: | 482 | /* assumptions: |
483 | all odd x[i] are zero -- well, actually they are left out of the array now | 483 | all odd x[i] are zero -- well, actually they are left out of the array now |
484 | N and M are multiples of 4 */ | 484 | N and M are multiples of 4 */ |