diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-10-17 18:23:34 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-10-17 18:23:34 +0000 |
| commit | 702600cbdb2a5ecf381c5e9533b302443eb45dce (patch) | |
| tree | b00718dddc6deaeee3794c6e85113dca84287df7 | |
| parent | 443ccb6031db76e98c0a86bd92bedff75aa0faae (diff) | |
| download | rockbox-702600cbdb2a5ecf381c5e9533b302443eb45dce.zip rockbox-702600cbdb2a5ecf381c5e9533b302443eb45dce.tar.gz rockbox-702600cbdb2a5ecf381c5e9533b302443eb45dce.tar.bz2 rockbox-702600cbdb2a5ecf381c5e9533b302443eb45dce.tar.xz | |
Move some tables that aren't performance critical out of iram, const police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15172 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/plugins/mpegplayer/header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/mpegplayer/header.c b/apps/plugins/mpegplayer/header.c index 7486b0e..664be4b 100644 --- a/apps/plugins/mpegplayer/header.c +++ b/apps/plugins/mpegplayer/header.c @@ -40,7 +40,7 @@ extern struct plugin_api* rb; #define PIC_CODING_EXT 0x100 /* default intra quant matrix, in zig-zag order */ -static const uint8_t default_intra_quantizer_matrix[64] ICONST_ATTR = { +static const uint8_t default_intra_quantizer_matrix[64] = { 8, 16, 16, 19, 16, 19, @@ -58,7 +58,7 @@ static const uint8_t default_intra_quantizer_matrix[64] ICONST_ATTR = { 83 }; -uint8_t default_mpeg2_scan_norm[64] IDATA_ATTR = { +const uint8_t default_mpeg2_scan_norm[64] = { /* Zig-Zag scan pattern */ 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, @@ -66,7 +66,7 @@ uint8_t default_mpeg2_scan_norm[64] IDATA_ATTR = { 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63 }; -uint8_t default_mpeg2_scan_alt[64] IDATA_ATTR = { +const uint8_t default_mpeg2_scan_alt[64] = { /* Alternate scan pattern */ 0, 8, 16, 24, 1, 9, 2, 10, 17, 25, 32, 40, 48, 56, 57, 49, 41, 33, 26, 18, 3, 11, 4, 12, 19, 27, 34, 42, 50, 58, 35, 43, |