diff options
Diffstat (limited to 'apps/codecs/libmusepack/mpc_decoder.c')
-rw-r--r-- | apps/codecs/libmusepack/mpc_decoder.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/apps/codecs/libmusepack/mpc_decoder.c b/apps/codecs/libmusepack/mpc_decoder.c index c41b17c54c..f7687c5bad 100644 --- a/apps/codecs/libmusepack/mpc_decoder.c +++ b/apps/codecs/libmusepack/mpc_decoder.c | |||
@@ -75,21 +75,21 @@ extern const HuffmanTyp mpc_table_Region_C [ 4]; | |||
75 | #define HUFFMAN_DECODE_FASTEST(d,a,b,c) mpc_decoder_huffman_decode_fastest ( (d), (a), (b), 32-(c) ) | 75 | #define HUFFMAN_DECODE_FASTEST(d,a,b,c) mpc_decoder_huffman_decode_fastest ( (d), (a), (b), 32-(c) ) |
76 | #define HUFFMAN_DECODE_FASTERER(d,a,b,c) mpc_decoder_huffman_decode_fasterer ( (d), (a), (b), 32-(c) ) | 76 | #define HUFFMAN_DECODE_FASTERER(d,a,b,c) mpc_decoder_huffman_decode_fasterer ( (d), (a), (b), 32-(c) ) |
77 | 77 | ||
78 | mpc_uint8_t LUT1_0 [1<< 6]; | 78 | mpc_uint8_t LUT1_0 [1<< 6] IBSS_ATTR_MPC_LARGE_IRAM; |
79 | mpc_uint8_t LUT1_1 [1<< 9]; // 576 Bytes | 79 | mpc_uint8_t LUT1_1 [1<< 9] IBSS_ATTR_MPC_LARGE_IRAM; // 576 Bytes |
80 | mpc_uint8_t LUT2_0 [1<< 7]; | 80 | mpc_uint8_t LUT2_0 [1<< 7] IBSS_ATTR_MPC_LARGE_IRAM; |
81 | mpc_uint8_t LUT2_1 [1<<10]; // 1152 Bytes | 81 | mpc_uint8_t LUT2_1 [1<<10] IBSS_ATTR_MPC_LARGE_IRAM; // 1152 Bytes |
82 | mpc_uint8_t LUT3_0 [1<< 4]; | 82 | mpc_uint8_t LUT3_0 [1<< 4] IBSS_ATTR_MPC_LARGE_IRAM; |
83 | mpc_uint8_t LUT3_1 [1<< 5]; // 48 Bytes | 83 | mpc_uint8_t LUT3_1 [1<< 5] IBSS_ATTR_MPC_LARGE_IRAM; // 48 Bytes |
84 | mpc_uint8_t LUT4_0 [1<< 4]; | 84 | mpc_uint8_t LUT4_0 [1<< 4] IBSS_ATTR_MPC_LARGE_IRAM; |
85 | mpc_uint8_t LUT4_1 [1<< 5]; // 48 Bytes | 85 | mpc_uint8_t LUT4_1 [1<< 5] IBSS_ATTR_MPC_LARGE_IRAM; // 48 Bytes |
86 | mpc_uint8_t LUT5_0 [1<< 6]; | 86 | mpc_uint8_t LUT5_0 [1<< 6] IBSS_ATTR_MPC_LARGE_IRAM; |
87 | mpc_uint8_t LUT5_1 [1<< 8]; // 320 Bytes | 87 | mpc_uint8_t LUT5_1 [1<< 8] IBSS_ATTR_MPC_LARGE_IRAM; // 320 Bytes |
88 | mpc_uint8_t LUT6_0 [1<< 7]; | 88 | mpc_uint8_t LUT6_0 [1<< 7] IBSS_ATTR_MPC_LARGE_IRAM; |
89 | mpc_uint8_t LUT6_1 [1<< 7]; // 256 Bytes | 89 | mpc_uint8_t LUT6_1 [1<< 7] IBSS_ATTR_MPC_LARGE_IRAM; // 256 Bytes |
90 | mpc_uint8_t LUT7_0 [1<< 8]; | 90 | mpc_uint8_t LUT7_0 [1<< 8] IBSS_ATTR_MPC_LARGE_IRAM; |
91 | mpc_uint8_t LUT7_1 [1<< 8]; // 512 Bytes | 91 | mpc_uint8_t LUT7_1 [1<< 8] IBSS_ATTR_MPC_LARGE_IRAM; // 512 Bytes |
92 | mpc_uint8_t LUTDSCF [1<< 6]; // 64 Bytes = 2976 Bytes | 92 | mpc_uint8_t LUTDSCF [1<< 6] IBSS_ATTR_MPC_LARGE_IRAM; // 64 Bytes = 2976 Bytes |
93 | 93 | ||
94 | //------------------------------------------------------------------------------ | 94 | //------------------------------------------------------------------------------ |
95 | // types | 95 | // types |
@@ -119,8 +119,8 @@ static inline mpc_int32_t mpc_decoder_huffman_decode_fastest(mpc_decoder *d, con | |||
119 | static void mpc_move_next(mpc_decoder *d); | 119 | static void mpc_move_next(mpc_decoder *d); |
120 | 120 | ||
121 | mpc_uint32_t Speicher[MPC_DECODER_MEMSIZE]; | 121 | mpc_uint32_t Speicher[MPC_DECODER_MEMSIZE]; |
122 | MPC_SAMPLE_FORMAT Y_L[36][32]; | 122 | MPC_SAMPLE_FORMAT Y_L[36][32] IBSS_ATTR_MPC_LARGE_IRAM; |
123 | MPC_SAMPLE_FORMAT Y_R[36][32]; | 123 | MPC_SAMPLE_FORMAT Y_R[36][32] IBSS_ATTR_MPC_LARGE_IRAM; |
124 | 124 | ||
125 | //------------------------------------------------------------------------------ | 125 | //------------------------------------------------------------------------------ |
126 | // utility functions | 126 | // utility functions |