summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/cfft_tab.h
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2006-09-24 19:00:29 +0000
committerMagnus Holmgren <magnushol@gmail.com>2006-09-24 19:00:29 +0000
commit3fa5e5f5924306417c05cbc7a7f46a605c670996 (patch)
tree582869c0709cb876cec3f4a3b73a0dd56e6241a5 /apps/codecs/libfaad/cfft_tab.h
parent0e5bd54cbb26768a2059ed5aadd7b2c15974fe6f (diff)
downloadrockbox-3fa5e5f5924306417c05cbc7a7f46a605c670996.tar.gz
rockbox-3fa5e5f5924306417c05cbc7a7f46a605c670996.zip
Apply a bunch of simple AAC decoder optimizations. Biggest speedup is on ColdFire targets, but ARM targets benefits too. Allows realtime playback of some AAC files on Iriver targets (H1x0, H3x0). Remove support for some rarely used AAC profiles to reduce code size a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11038 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/cfft_tab.h')
-rw-r--r--apps/codecs/libfaad/cfft_tab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libfaad/cfft_tab.h b/apps/codecs/libfaad/cfft_tab.h
index 7ab7a110ca..b26653bd38 100644
--- a/apps/codecs/libfaad/cfft_tab.h
+++ b/apps/codecs/libfaad/cfft_tab.h
@@ -34,7 +34,7 @@ extern "C" {
34 34
35#ifdef FIXED_POINT 35#ifdef FIXED_POINT
36 36
37ALIGN static const complex_t cfft_tab_512[] = 37ALIGN static const complex_t cfft_tab_512[] ICONST_ATTR =
38{ 38{
39 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) }, 39 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) },
40 { FRAC_CONST(0.999924719333649), FRAC_CONST(0.012271538376808) }, 40 { FRAC_CONST(0.999924719333649), FRAC_CONST(0.012271538376808) },
@@ -1036,7 +1036,7 @@ ALIGN static const complex_t cfft_tab_480[] =
1036}; 1036};
1037#endif 1037#endif
1038 1038
1039ALIGN static const complex_t cfft_tab_64[] = 1039ALIGN static const complex_t cfft_tab_64[] ICONST_ATTR =
1040{ 1040{
1041 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) }, 1041 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) },
1042 { FRAC_CONST(0.995184719562531), FRAC_CONST(0.098017141222954) }, 1042 { FRAC_CONST(0.995184719562531), FRAC_CONST(0.098017141222954) },
@@ -1680,7 +1680,7 @@ ALIGN static const complex_t cfft_tab_240[] =
1680 1680
1681#endif 1681#endif
1682 1682
1683ALIGN static const complex_t cfft_tab_128[] = 1683ALIGN static const complex_t cfft_tab_128[] ICONST_ATTR =
1684{ 1684{
1685 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) }, 1685 { FRAC_CONST(1.000000000000000), FRAC_CONST(0.000000000000000) },
1686 { FRAC_CONST(0.998795449733734), FRAC_CONST(0.049067676067352) }, 1686 { FRAC_CONST(0.998795449733734), FRAC_CONST(0.049067676067352) },