[MPlayer-cvslog] r23485 - in trunk/mp3lib: dct64_sse.c layer3.c
zuxy
subversion at mplayerhq.hu
Wed Jun 6 07:16:08 CEST 2007
Author: zuxy
Date: Wed Jun 6 07:16:08 2007
New Revision: 23485
Log:
Change some static temporary vars to automatic ones because mingw32 binutils
couldn't align them properly. Also 1% faster decode.
Modified:
trunk/mp3lib/dct64_sse.c
trunk/mp3lib/layer3.c
Modified: trunk/mp3lib/dct64_sse.c
==============================================================================
--- trunk/mp3lib/dct64_sse.c (original)
+++ trunk/mp3lib/dct64_sse.c Wed Jun 6 07:16:08 2007
@@ -22,8 +22,8 @@ static const int nnnn[4] __attribute__((
void dct64_sse(short *out0,short *out1,real *c)
{
- static DECLARE_ALIGNED(16, real, b1[0x20]);
- static DECLARE_ALIGNED(16, real, b2[0x20]);
+ DECLARE_ALIGNED(16, real, b1[0x20]);
+ DECLARE_ALIGNED(16, real, b2[0x20]);
static real const one = 1.f;
{
Modified: trunk/mp3lib/layer3.c
==============================================================================
--- trunk/mp3lib/layer3.c (original)
+++ trunk/mp3lib/layer3.c Wed Jun 6 07:16:08 2007
@@ -1260,8 +1260,8 @@ static int do_layer3(struct frame *fr,in
granules = (fr->lsf) ? 1 : 2;
for (gr=0;gr<granules;gr++){
- static DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
- static DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
+ DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
+ DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
{ struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);
int part2bits;
More information about the MPlayer-cvslog
mailing list