[MPlayer-cvslog] r26626 - trunk/libmpcodecs/vd_libmpeg2.c
diego
subversion at mplayerhq.hu
Thu May 1 14:30:30 CEST 2008
Author: diego
Date: Thu May 1 14:30:29 2008
New Revision: 26626
Log:
Enable Alpha/ARM optimizations in libmpeg2.
Modified:
trunk/libmpcodecs/vd_libmpeg2.c
Modified: trunk/libmpcodecs/vd_libmpeg2.c
==============================================================================
--- trunk/libmpcodecs/vd_libmpeg2.c (original)
+++ trunk/libmpcodecs/vd_libmpeg2.c Thu May 1 14:30:29 2008
@@ -78,7 +78,16 @@ static int init(sh_video_t *sh){
accel |= MPEG2_ACCEL_X86_SSE2;
if(gCpuCaps.hasAltiVec)
accel |= MPEG2_ACCEL_PPC_ALTIVEC;
- #ifdef HAVE_VIS
+ #ifdef ARCH_ALPHA
+ accel |= MPEG2_ACCEL_ALPHA;
+ #elif ARCH_ARM
+ accel |= MPEG2_ACCEL_ARM;
+ #endif
+ #ifdef HAVE_IWMMXT
+ accel |= MPEG2_ACCEL_ARM_IWMMXT;
+ #elif HAVE_MVI
+ accel |= MPEG2_ACCEL_ALPHA_MVI;
+ #elif HAVE_VIS
accel |= MPEG2_ACCEL_SPARC_VIS;
#endif
mpeg2_accel(accel);
More information about the MPlayer-cvslog
mailing list