diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-10-31 20:33:27 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-10-31 20:33:27 +0000 |
| commit | 798a4f3533cc63be2b313797bd4be5d53bda8fb9 (patch) | |
| tree | 0e2b8bdeff50b3d0a1cbe73c591f97ef73179b65 /apps/codecs/libfaad/tns.c | |
| parent | 65de1cc6af31f547bd36d320f09cbcc6e6975421 (diff) | |
| download | rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.zip rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.gz rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.bz2 rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.xz | |
Changes to make libfaad compile in Rockbox. Also remove compiler warnings, use some IRAM (IRAM usage needs reviewing) and drastically reduce the stack usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7700 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/tns.c')
| -rw-r--r-- | apps/codecs/libfaad/tns.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libfaad/tns.c b/apps/codecs/libfaad/tns.c index fa33e57..a759174 100644 --- a/apps/codecs/libfaad/tns.c +++ b/apps/codecs/libfaad/tns.c @@ -36,9 +36,9 @@ static void tns_decode_coef(uint8_t order, uint8_t coef_res_bits, uint8_t coef_compress, uint8_t *coef, real_t *a); static void tns_ar_filter(real_t *spectrum, uint16_t size, int8_t inc, real_t *lpc, - uint8_t order); + int8_t order); static void tns_ma_filter(real_t *spectrum, uint16_t size, int8_t inc, real_t *lpc, - uint8_t order); + int8_t order); #ifdef _MSC_VER @@ -226,7 +226,7 @@ static void tns_decode_coef(uint8_t order, uint8_t coef_res_bits, uint8_t coef_c } static void tns_ar_filter(real_t *spectrum, uint16_t size, int8_t inc, real_t *lpc, - uint8_t order) + int8_t order) { /* - Simple all-pole filter of order "order" defined by @@ -269,7 +269,7 @@ static void tns_ar_filter(real_t *spectrum, uint16_t size, int8_t inc, real_t *l } static void tns_ma_filter(real_t *spectrum, uint16_t size, int8_t inc, real_t *lpc, - uint8_t order) + int8_t order) { /* - Simple all-zero filter of order "order" defined by |