From 08301d00561bbd7e8ea130b3bd1bf0b4cc91697f Mon Sep 17 00:00:00 2001 From: zuxy Date: Mon, 4 Jun 2007 03:05:16 +0000 Subject: Correct dct64 functions' declarations git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23459 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/dct64_sse.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mp3lib/dct64_sse.c') diff --git a/mp3lib/dct64_sse.c b/mp3lib/dct64_sse.c index a4f5eab6f4..4a9b3a092e 100644 --- a/mp3lib/dct64_sse.c +++ b/mp3lib/dct64_sse.c @@ -30,15 +30,12 @@ static const int pnpn[4] __attribute__((aligned(16))) = static const int nnnn[4] __attribute__((aligned(16))) = { 1 << 31, 1 << 31, 1 << 31, 1 << 31 }; -void dct64_sse(real *a,real *b,real *c) +void dct64_sse(short *out0,short *out1,real *c) { static real __attribute__ ((aligned(16))) b1[0x20]; static real __attribute__ ((aligned(16))) b2[0x20]; static real const one = 1.f; - short *out0 = (short*)a; - short *out1 = (short*)b; - { real *costab = costab_mmx; int i; @@ -428,7 +425,7 @@ void dct64_sse(real *a,real *b,real *c) "fistp 416(%4)\n\t" ".byte 0xdf, 0xc0\n\t" // ffreep %%st(0) : - :"m"(costab_mmx[30]), "r"(b1), "r"(b2), "r"(a), "r"(b) + :"m"(costab_mmx[30]), "r"(b1), "r"(b2), "r"(out0), "r"(out1) :"memory" ); #endif -- cgit v1.2.3