summaryrefslogtreecommitdiffstats
path: root/mp3lib/layer3.c
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-06 05:13:13 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-06 05:13:13 +0000
commit739f79a5ff6a74fd2ea52478267b4b84f3671275 (patch)
tree16ae82eb7fb937d38a0d3f35d8153db49eff0880 /mp3lib/layer3.c
parent40c9f981a2e3ebfee952ac7eef72b02cf52f7163 (diff)
downloadmpv-739f79a5ff6a74fd2ea52478267b4b84f3671275.tar.bz2
mpv-739f79a5ff6a74fd2ea52478267b4b84f3671275.tar.xz
Align output pointer so that we can use movaps instead of movups in dct64_sse;
1.5% faster decode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23484 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/layer3.c')
-rw-r--r--mp3lib/layer3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mp3lib/layer3.c b/mp3lib/layer3.c
index 6c1b233ca2..446044490b 100644
--- a/mp3lib/layer3.c
+++ b/mp3lib/layer3.c
@@ -1260,8 +1260,8 @@ static int do_layer3(struct frame *fr,int single){
granules = (fr->lsf) ? 1 : 2;
for (gr=0;gr<granules;gr++){
- static real hybridIn[2][SBLIMIT][SSLIMIT];
- static real hybridOut[2][SSLIMIT][SBLIMIT];
+ static DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
+ static DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
{ struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);
int part2bits;