Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/mp3lib/sr1.c Sat Apr 15 14:24:36 2006 +0000 +++ b/mp3lib/sr1.c Sat Apr 15 14:33:19 2006 +0000 @@ -447,6 +447,13 @@ } else #endif +#ifdef HAVE_ALTIVEC + if (gCpuCaps.hasAltiVec) + { + mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using AltiVec optimized decore!\n"); + } + else +#endif { synth_func = NULL; /* use default c version */ mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using generic C decore!\n");