From 5a1999eacd917e82a2725e1e0ee8f853dd14b93a Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Mon, 9 Jul 2007 01:59:33 +0000 Subject: 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 --- apps/codecs/libwma/wmadec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libwma/wmadec.h') 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 */ -- cgit v1.2.3