changeset 180:7b98cea0bb49 trunk

[svn] wtf @ USE_MMX
author nenolod
date Sun, 13 Nov 2005 13:27:38 -0800
parents 15c2210499ea
children 2626212fdad4
files Plugins/Input/mpg123/decode_i386.c
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/decode_i386.c	Sun Nov 13 13:02:22 2005 -0800
+++ b/Plugins/Input/mpg123/decode_i386.c	Sun Nov 13 13:27:38 2005 -0800
@@ -131,7 +131,6 @@
 
 int mpg123_synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
 {
-#ifndef PENTIUM_OPT
   static real buffs[2][2][0x110];
   static const int step = 2;
   static int bo = 1;
@@ -140,9 +139,7 @@
   real *b0,(*buf)[0x110];
   int clip = 0; 
   int bo1;
-#endif
 
-#ifndef PENTIUM_OPT
   if(!channel) {
     bo--;
     bo &= 0xf;
@@ -232,21 +229,4 @@
   *pnt += 128;
 
   return clip;
-#elif defined(USE_MMX)
-  {
-    static short buffs[2][2][0x110];
-    static int bo = 1;
-    short *samples = (short *) (out + *pnt);
-    mpg123_synth_1to1_MMX(bandPtr, channel, samples, (short *) buffs, &bo); 
-    *pnt += 128;
-    return 0;
-  } 
-#else
-  {
-    int ret;
-    ret = mpg123_synth_1to1_pent(bandPtr,channel,out+*pnt);
-    *pnt += 128;
-    return ret;
-  }
-#endif
 }