diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-12 07:04:07 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-12 07:04:07 +0000 |
commit | 3f4e0cf25b525f8acec950547ff7570db5c134a5 (patch) | |
tree | 43d153e024754e69bbe30af2aaf0bf402301bebe /apps/codecs/libmusepack/decoder.h | |
parent | 755523559104713340243da83e08871ec6601865 (diff) | |
download | rockbox-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.h | 4 |
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) |