summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libmusepack/decoder.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-12 07:04:07 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-12 07:04:07 +0000
commit3f4e0cf25b525f8acec950547ff7570db5c134a5 (patch)
tree43d153e024754e69bbe30af2aaf0bf402301bebe /apps/codecs/libmusepack/decoder.h
parent755523559104713340243da83e08871ec6601865 (diff)
downloadrockbox-3f4e0cf25b525f8acec950547ff7570db5c134a5.tar.gz
rockbox-3f4e0cf25b525f8acec950547ff7570db5c134a5.zip
Set alignment for major data arrays in the mpc codec. This avoids performance regressions on S5L870x CPUs when changing code and allows further improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28561 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/decoder.h')
-rw-r--r--apps/codecs/libmusepack/decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmusepack/decoder.h b/apps/codecs/libmusepack/decoder.h
index b3d24cf4ea..7e985407c5 100644
--- a/apps/codecs/libmusepack/decoder.h
+++ b/apps/codecs/libmusepack/decoder.h
@@ -87,8 +87,8 @@ struct mpc_decoder_t {
mpc_uint8_t SCF_shift[256];
#endif
- MPC_SAMPLE_FORMAT V_L[MPC_V_MEM + 960];
- MPC_SAMPLE_FORMAT V_R[MPC_V_MEM + 960];
+ MPC_SAMPLE_FORMAT *V_L;
+ MPC_SAMPLE_FORMAT *V_R;
MPC_SAMPLE_FORMAT *Y_L;
MPC_SAMPLE_FORMAT *Y_R;
MPC_SAMPLE_FORMAT SCF[256]; ///< holds adapted scalefactors (for clipping prevention)