[MPlayer-cvslog] CVS: main/mp3lib sr1.c,1.36,1.37
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sat Apr 15 16:33:21 CEST 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var2/tmp/cvs-serv10626/mp3lib
Modified Files:
sr1.c
Log Message:
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
Index: sr1.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/sr1.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- sr1.c 9 Feb 2006 14:08:00 -0000 1.36
+++ sr1.c 15 Apr 2006 14:33:19 -0000 1.37
@@ -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");
More information about the MPlayer-cvslog
mailing list