mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Change some static temporary vars to automatic ones because mingw32 binutils
couldn't align them properly. Also 1% faster decode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23485 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
739f79a5ff
commit
1c757aef17
mp3lib
@ -22,8 +22,8 @@ static const int nnnn[4] __attribute__((aligned(16))) =
|
||||
|
||||
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;
|
||||
|
||||
{
|
||||
|
@ -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 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;
|
||||
|
Loading…
Reference in New Issue
Block a user