diff options
author | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-08 14:38:25 +0000 |
---|---|---|
committer | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-08 14:38:25 +0000 |
commit | dd053ddd67f28af122189a8a11c32637061d35c5 (patch) | |
tree | 528672c2ca37338d8b24fba7edc49944ab4f0242 /mp3lib/decod386.c | |
parent | c8e819bb7c9402d271f88c180ca741b5fd13f3fd (diff) | |
download | mpv-dd053ddd67f28af122189a8a11c32637061d35c5.tar.bz2 mpv-dd053ddd67f28af122189a8a11c32637061d35c5.tar.xz |
Enable SIMD optmizations for mp3lib on AMD64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23515 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decod386.c')
-rw-r--r-- | mp3lib/decod386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c index 61b891e130..465ddb43e2 100644 --- a/mp3lib/decod386.c +++ b/mp3lib/decod386.c @@ -102,7 +102,7 @@ static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt) static synth_func_t synth_func; -#if defined(CAN_COMPILE_X86_ASM) && defined(HAVE_MMX) +#ifdef HAVE_MMX extern int synth_1to1_MMX( real *bandPtr,int channel,short * samples); #endif @@ -125,7 +125,7 @@ static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt) *pnt += 128; /* optimized for x86 */ -#if defined(CAN_COMPILE_X86_ASM) +#ifdef ARCH_X86 if ( synth_func ) { // printf("Calling %p, bandPtr=%p channel=%d samples=%p\n",synth_func,bandPtr,channel,samples); |