summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hooper <dave@beermex.com>2010-02-20 12:44:52 +0000
committerDave Hooper <dave@beermex.com>2010-02-20 12:44:52 +0000
commite90deded40aeada973f0e74a0346639e9f3878ba (patch)
treeb09082de2023e4f9e1f83350172f81f52e783b01
parent730a618fae0e04c536a1cb4d561887b450b7d068 (diff)
downloadrockbox-e90deded40aeada973f0e74a0346639e9f3878ba.tar.gz
rockbox-e90deded40aeada973f0e74a0346639e9f3878ba.zip
Remove ICONST_ATTR from some tables, to fit into PP5020 iram (now that mdct is in iram it's a bit of a squeeze). (per Buschel on irc)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24787 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libatrac/atrac3data_fixed.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libatrac/atrac3data_fixed.h b/apps/codecs/libatrac/atrac3data_fixed.h
index 5e2ac62c4b..0ea7b86d62 100644
--- a/apps/codecs/libatrac/atrac3data_fixed.h
+++ b/apps/codecs/libatrac/atrac3data_fixed.h
@@ -43,7 +43,7 @@ static const int32_t SFTable_fixed[64] ICONST_ATTR = {
43 43
44/* transform data */ 44/* transform data */
45/* floating point values scaled by 2^31 */ 45/* floating point values scaled by 2^31 */
46static const int32_t qmf_48tap_half_fix[24] ICONST_ATTR = { 46static const int32_t qmf_48tap_half_fix[24] = {
47 0xffff855e, 0xfffcfbca, 0xfffe28eb, 0x0009de6b, 0x0007f028, 0xffe40d08, 47 0xffff855e, 0xfffcfbca, 0xfffe28eb, 0x0009de6b, 0x0007f028, 0xffe40d08,
48 0xffeef140, 0x0042a692, 0x0019ab1f, 0xff75dec7, 0xffe738f5, 0x0100e928, 48 0xffeef140, 0x0042a692, 0x0019ab1f, 0xff75dec7, 0xffe738f5, 0x0100e928,
49 0xfffdfedf, 0xfe478b84, 0x0050b279, 0x02c83f88, 0xff005ad7, 0xfba2ee80, 49 0xfffdfedf, 0xfe478b84, 0x0050b279, 0x02c83f88, 0xff005ad7, 0xfba2ee80,
@@ -95,19 +95,19 @@ static const int32_t gain_tab2[31] ICONST_ATTR = {
95}; 95};
96 96
97/* Joint-Stereo related tables, scaled by 2^16 */ 97/* Joint-Stereo related tables, scaled by 2^16 */
98static const int32_t matrixCoeffs_fix[8] ICONST_ATTR = { 98static const int32_t matrixCoeffs_fix[8]= {
99 0x00000000, 0x00020000, 0x00020000, 0x00020000, 99 0x00000000, 0x00020000, 0x00020000, 0x00020000,
100 0x00000000, 0x00000000, 0x00010000, 0x00010000, 100 0x00000000, 0x00000000, 0x00010000, 0x00010000,
101}; 101};
102 102
103/* channelWeights0[i] = ONE_16 * ((i & 7)/7) */ 103/* channelWeights0[i] = ONE_16 * ((i & 7)/7) */
104static const int32_t channelWeights0[8] ICONST_ATTR = { 104static const int32_t channelWeights0[8] = {
105 0x00000000, 0x00002492, 0x00004925, 0x00006DB7, 105 0x00000000, 0x00002492, 0x00004925, 0x00006DB7,
106 0x00009249, 0x0000B6DB, 0x0000DB6D, 0x00010000, 106 0x00009249, 0x0000B6DB, 0x0000DB6D, 0x00010000,
107}; 107};
108 108
109/* channelWeights1[i] = ONE_16 * sqrt(2-channelWeights0^2) */ 109/* channelWeights1[i] = ONE_16 * sqrt(2-channelWeights0^2) */
110static const int32_t channelWeights1[8] ICONST_ATTR = { 110static const int32_t channelWeights1[8] = {
111 0x00016A0A, 0x00016830, 0x00016293, 0x00015904, 111 0x00016A0A, 0x00016830, 0x00016293, 0x00015904,
112 0x00014B2B, 0x00013877, 0x00011FF7, 0x00010000, 112 0x00014B2B, 0x00013877, 0x00011FF7, 0x00010000,
113}; 113};