[Mplayer-cvslog] CVS: main/libmpeg2 idct.c,1.5,1.6 motion_comp.c,1.4,1.5
Arpi of Ize
arpi at mplayerhq.hu
Mon Jun 9 14:11:33 CEST 2003
Update of /cvsroot/mplayer/main/libmpeg2
In directory mail:/var/tmp.root/cvs-serv1508
Modified Files:
idct.c motion_comp.c
Log Message:
libmpeg2-altivec patch by Magnus Damm <damm at opensource.se>:
Only use Altivec if enabled with configure.
Index: idct.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/idct.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- idct.c 6 Apr 2003 16:36:02 -0000 1.5
+++ idct.c 9 Jun 2003 12:11:30 -0000 1.6
@@ -241,11 +241,13 @@
} else
#endif
#ifdef ARCH_PPC
+#ifdef HAVE_ALTIVEC
if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
mpeg2_idct_copy = mpeg2_idct_copy_altivec;
mpeg2_idct_add = mpeg2_idct_add_altivec;
mpeg2_idct_altivec_init ();
} else
+#endif
#endif
#ifdef ARCH_ALPHA
if (accel & MPEG2_ACCEL_ALPHA_MVI) {
Index: motion_comp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/motion_comp.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- motion_comp.c 6 Apr 2003 16:36:02 -0000 1.4
+++ motion_comp.c 9 Jun 2003 12:11:30 -0000 1.5
@@ -42,9 +42,11 @@
else
#endif
#ifdef ARCH_PPC
+#ifdef HAVE_ALTIVEC
if (accel & MPEG2_ACCEL_PPC_ALTIVEC)
mpeg2_mc = mpeg2_mc_altivec;
else
+#endif
#endif
#ifdef ARCH_ALPHA
if (accel & MPEG2_ACCEL_ALPHA)
More information about the MPlayer-cvslog
mailing list