summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libwma/wmadec.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2007-07-09 01:59:33 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2007-07-09 01:59:33 +0000
commit5a1999eacd917e82a2725e1e0ee8f853dd14b93a (patch)
treecf91162ace6bded2075135050a67af7fb06ff5bb /apps/codecs/libwma/wmadec.h
parent0361fd5e50e5f89594f956a2d830b990ed9fab7c (diff)
downloadrockbox-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.h4
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 @@
#define M_PI 3.14159265358979323846
#define M_PI_F 0x3243f // in fixed 32 format
-#define TWO_M_PI_F 0x6487f //in fixed 32
+#define TWO_M_PI_F 0x6487f //in fixed 32
#define MAX_CHANNELS 2
@@ -128,7 +128,7 @@ typedef struct WMADecodeContext
fixed32 exponents[MAX_CHANNELS][BLOCK_MAX_SIZE];
fixed32 max_exponent[MAX_CHANNELS];
int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE];
- fixed32 coefs[MAX_CHANNELS][BLOCK_MAX_SIZE];
+ fixed32 (*coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE];
MDCTContext mdct_ctx[BLOCK_NB_SIZES];
fixed32 *windows[BLOCK_NB_SIZES];
FFTComplex *mdct_tmp; /* temporary storage for imdct */