comparison mp3lib/sr1.c @ 11241:c8b84bb55089

removed obsoleted (or never ending) code
author alex
date Wed, 22 Oct 2003 21:08:46 +0000
parents 5403367c7032
children d155623271e3
comparison
equal deleted inserted replaced
11240:5403367c7032 11241:c8b84bb55089
384 384
385 /* It's hidden from gcc in assembler */ 385 /* It's hidden from gcc in assembler */
386 extern void dct64_MMX(real *, real *, real *); 386 extern void dct64_MMX(real *, real *, real *);
387 extern void dct64_MMX_3dnow(real *, real *, real *); 387 extern void dct64_MMX_3dnow(real *, real *, real *);
388 extern void dct64_MMX_3dnowex(real *, real *, real *); 388 extern void dct64_MMX_3dnowex(real *, real *, real *);
389 extern void dct64_MMX_sse(real *, real *, real *);
390 void (*dct64_MMX_func)(real *, real *, real *); 389 void (*dct64_MMX_func)(real *, real *, real *);
391 390
392 #include "../cpudetect.h" 391 #include "../cpudetect.h"
393 392
394 // Init decoder tables. Call first, once! 393 // Init decoder tables. Call first, once!
413 make_decode_tables_MMX(outscale); 412 make_decode_tables_MMX(outscale);
414 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: made decode tables with MMX optimization\n"); 413 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: made decode tables with MMX optimization\n");
415 synth_func = synth_1to1_MMX; 414 synth_func = synth_1to1_MMX;
416 } 415 }
417 416
418 #if 0
419 if(gCpuCaps.hasSSE)
420 {
421 /* SSE version is buggy */
422 dct64_MMX_func = dct64_MMX_sse;
423 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using SSE optimized decore!\n");
424 }
425 else
426 #endif
427 if (gCpuCaps.has3DNowExt) 417 if (gCpuCaps.has3DNowExt)
428 { 418 {
429 dct36_func=dct36_3dnowex; 419 dct36_func=dct36_3dnowex;
430 dct64_MMX_func= (gCpuCaps.hasMMX2) ? dct64_MMX_3dnowex : dct64_MMX_3dnow; 420 dct64_MMX_func= (gCpuCaps.hasMMX2) ? dct64_MMX_3dnowex : dct64_MMX_3dnow;
431 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using 3DNow!Ex optimized decore!\n"); 421 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using 3DNow!Ex optimized decore!\n");