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
This commit is contained in:
Dave Hooper 2010-02-20 12:44:52 +00:00
parent 730a618fae
commit e90deded40

View file

@ -43,7 +43,7 @@ static const int32_t SFTable_fixed[64] ICONST_ATTR = {
/* transform data */ /* transform data */
/* floating point values scaled by 2^31 */ /* floating point values scaled by 2^31 */
static const int32_t qmf_48tap_half_fix[24] ICONST_ATTR = { static const int32_t qmf_48tap_half_fix[24] = {
0xffff855e, 0xfffcfbca, 0xfffe28eb, 0x0009de6b, 0x0007f028, 0xffe40d08, 0xffff855e, 0xfffcfbca, 0xfffe28eb, 0x0009de6b, 0x0007f028, 0xffe40d08,
0xffeef140, 0x0042a692, 0x0019ab1f, 0xff75dec7, 0xffe738f5, 0x0100e928, 0xffeef140, 0x0042a692, 0x0019ab1f, 0xff75dec7, 0xffe738f5, 0x0100e928,
0xfffdfedf, 0xfe478b84, 0x0050b279, 0x02c83f88, 0xff005ad7, 0xfba2ee80, 0xfffdfedf, 0xfe478b84, 0x0050b279, 0x02c83f88, 0xff005ad7, 0xfba2ee80,
@ -95,19 +95,19 @@ static const int32_t gain_tab2[31] ICONST_ATTR = {
}; };
/* Joint-Stereo related tables, scaled by 2^16 */ /* Joint-Stereo related tables, scaled by 2^16 */
static const int32_t matrixCoeffs_fix[8] ICONST_ATTR = { static const int32_t matrixCoeffs_fix[8]= {
0x00000000, 0x00020000, 0x00020000, 0x00020000, 0x00000000, 0x00020000, 0x00020000, 0x00020000,
0x00000000, 0x00000000, 0x00010000, 0x00010000, 0x00000000, 0x00000000, 0x00010000, 0x00010000,
}; };
/* channelWeights0[i] = ONE_16 * ((i & 7)/7) */ /* channelWeights0[i] = ONE_16 * ((i & 7)/7) */
static const int32_t channelWeights0[8] ICONST_ATTR = { static const int32_t channelWeights0[8] = {
0x00000000, 0x00002492, 0x00004925, 0x00006DB7, 0x00000000, 0x00002492, 0x00004925, 0x00006DB7,
0x00009249, 0x0000B6DB, 0x0000DB6D, 0x00010000, 0x00009249, 0x0000B6DB, 0x0000DB6D, 0x00010000,
}; };
/* channelWeights1[i] = ONE_16 * sqrt(2-channelWeights0^2) */ /* channelWeights1[i] = ONE_16 * sqrt(2-channelWeights0^2) */
static const int32_t channelWeights1[8] ICONST_ATTR = { static const int32_t channelWeights1[8] = {
0x00016A0A, 0x00016830, 0x00016293, 0x00015904, 0x00016A0A, 0x00016830, 0x00016293, 0x00015904,
0x00014B2B, 0x00013877, 0x00011FF7, 0x00010000, 0x00014B2B, 0x00013877, 0x00011FF7, 0x00010000,
}; };