summaryrefslogtreecommitdiffstats
path: root/mp3lib/decod386.c
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-21 01:47:27 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-21 01:47:27 +0000
commita147ec530e1a35db95013e146a4cf28afa94559c (patch)
tree47d61dd3551042e56babc9a81df1ae937c3500e1 /mp3lib/decod386.c
parent4f0ee265ff52a3b071fb01e91f1f74260bf2fe4e (diff)
downloadmpv-a147ec530e1a35db95013e146a4cf28afa94559c.tar.bz2
mpv-a147ec530e1a35db95013e146a4cf28afa94559c.tar.xz
Rewrite generic code in decode_MMX.c in C for easier AMD64 port. Slightly faster than original assembly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23360 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decod386.c')
-rw-r--r--mp3lib/decod386.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mp3lib/decod386.c b/mp3lib/decod386.c
index 6752146755..c8844cc7d7 100644
--- a/mp3lib/decod386.c
+++ b/mp3lib/decod386.c
@@ -124,13 +124,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)
-int synth_1to1_MMX( real *bandPtr,int channel,short * samples)
-{
- static short buffs[2][2][0x110];
- static int bo = 1;
- synth_1to1_MMX_s(bandPtr, channel, samples, (short *) buffs, &bo);
- return 0;
-}
+extern int synth_1to1_MMX( real *bandPtr,int channel,short * samples);
#endif
#ifdef HAVE_ALTIVEC