diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2007-07-09 01:59:33 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2007-07-09 01:59:33 +0000 |
commit | 5a1999eacd917e82a2725e1e0ee8f853dd14b93a (patch) | |
tree | cf91162ace6bded2075135050a67af7fb06ff5bb /apps/codecs/libwma/wmadec.h | |
parent | 0361fd5e50e5f89594f956a2d830b990ed9fab7c (diff) | |
download | rockbox-5a1999eacd917e82a2725e1e0ee8f853dd14b93a.tar.gz rockbox-5a1999eacd917e82a2725e1e0ee8f853dd14b93a.zip |
Move very commonly accessed array into IRAM. Should give a nice speedup on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13827 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/wmadec.h')
-rw-r--r-- | apps/codecs/libwma/wmadec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index 395b29f6e8..56f935bbb4 100644 --- a/apps/codecs/libwma/wmadec.h +++ b/apps/codecs/libwma/wmadec.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #define M_PI 3.14159265358979323846 | 25 | #define M_PI 3.14159265358979323846 |
26 | 26 | ||
27 | #define M_PI_F 0x3243f // in fixed 32 format | 27 | #define M_PI_F 0x3243f // in fixed 32 format |
28 | #define TWO_M_PI_F 0x6487f //in fixed 32 | 28 | #define TWO_M_PI_F 0x6487f //in fixed 32 |
29 | 29 | ||
30 | #define MAX_CHANNELS 2 | 30 | #define MAX_CHANNELS 2 |
31 | 31 | ||
@@ -128,7 +128,7 @@ typedef struct WMADecodeContext | |||
128 | fixed32 exponents[MAX_CHANNELS][BLOCK_MAX_SIZE]; | 128 | fixed32 exponents[MAX_CHANNELS][BLOCK_MAX_SIZE]; |
129 | fixed32 max_exponent[MAX_CHANNELS]; | 129 | fixed32 max_exponent[MAX_CHANNELS]; |
130 | int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE]; | 130 | int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE]; |
131 | fixed32 coefs[MAX_CHANNELS][BLOCK_MAX_SIZE]; | 131 | fixed32 (*coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE]; |
132 | MDCTContext mdct_ctx[BLOCK_NB_SIZES]; | 132 | MDCTContext mdct_ctx[BLOCK_NB_SIZES]; |
133 | fixed32 *windows[BLOCK_NB_SIZES]; | 133 | fixed32 *windows[BLOCK_NB_SIZES]; |
134 | FFTComplex *mdct_tmp; /* temporary storage for imdct */ | 134 | FFTComplex *mdct_tmp; /* temporary storage for imdct */ |