[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.23,1.24
Arpi of Ize
arpi at mplayerhq.hu
Mon Jun 9 14:10:46 CEST 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv1083
Modified Files:
vd_libmpeg2.c
Log Message:
libmpeg2-altivec patch by Magnus Damm <damm at opensource.se>:
Make sure that altivec gets enabled in libmpeg2
Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- vd_libmpeg2.c 6 Jun 2003 19:12:08 -0000 1.23
+++ vd_libmpeg2.c 9 Jun 2003 12:10:42 -0000 1.24
@@ -47,6 +47,8 @@
accel |= MPEG2_ACCEL_X86_MMXEXT;
if(gCpuCaps.has3DNow)
accel |= MPEG2_ACCEL_X86_3DNOW;
+ if(gCpuCaps.hasAltiVec)
+ accel |= MPEG2_ACCEL_PPC_ALTIVEC;
#ifdef HAVE_MLIB
accel |= MPEG2_ACCEL_MLIB;
#endif
More information about the MPlayer-cvslog
mailing list