aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-09 12:10:42 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-09 12:10:42 +0000
commit1e7ad12bf48266b911fb6d99e2200ecf3050af2b (patch)
tree5532a239360c1787f19f4ca4ca37e5a7a2cd2e6a
parent3b377a458b75a12b78473b5a5bcd1f3061f04d18 (diff)
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
Make sure that altivec gets enabled in libmpeg2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10268 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vd_libmpeg2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c
index ff150bfaa6..61626c8378 100644
--- a/libmpcodecs/vd_libmpeg2.c
+++ b/libmpcodecs/vd_libmpeg2.c
@@ -47,6 +47,8 @@ static int init(sh_video_t *sh){
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