Mercurial > mplayer.hg
comparison mp3lib/sr1.c @ 18101:a3d76e5ea6c2
Make mp3lib say that it's using Altivec to decode instead of generic C
when it uses the optimized IMDCT.
patch by Alexander Strange, astrange __ at __ ithinksw __ dot __ com
author | diego |
---|---|
date | Sat, 15 Apr 2006 14:33:19 +0000 |
parents | f580a7755ac5 |
children | 0783dd397f74 |
comparison
equal
deleted
inserted
replaced
18100:826a0faa2a0f | 18101:a3d76e5ea6c2 |
---|---|
445 synth_func = synth_1to1_pent; | 445 synth_func = synth_1to1_pent; |
446 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using Pentium optimized decore!\n"); | 446 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using Pentium optimized decore!\n"); |
447 } | 447 } |
448 else | 448 else |
449 #endif | 449 #endif |
450 #ifdef HAVE_ALTIVEC | |
451 if (gCpuCaps.hasAltiVec) | |
452 { | |
453 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using AltiVec optimized decore!\n"); | |
454 } | |
455 else | |
456 #endif | |
450 { | 457 { |
451 synth_func = NULL; /* use default c version */ | 458 synth_func = NULL; /* use default c version */ |
452 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using generic C decore!\n"); | 459 mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using generic C decore!\n"); |
453 } | 460 } |
454 | 461 |