Mercurial > mplayer.hg
changeset 26594:05841cbb86aa
Enable Alpha/ARM optimizations in libmpeg2.
author | diego |
---|---|
date | Thu, 01 May 2008 12:30:29 +0000 |
parents | b42233eb4b38 |
children | 4bc81fcf14bb |
files | libmpcodecs/vd_libmpeg2.c |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c Thu May 01 11:06:16 2008 +0000 +++ b/libmpcodecs/vd_libmpeg2.c Thu May 01 12:30:29 2008 +0000 @@ -78,7 +78,16 @@ 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);