Mercurial > mplayer.hg
changeset 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 | 826a0faa2a0f |
children | e7e297aaf087 |
files | mp3lib/sr1.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
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");