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
This commit is contained in:
arpi 2003-06-09 12:10:42 +00:00
parent 3b377a458b
commit 1e7ad12bf4
1 changed files with 2 additions and 0 deletions

View File

@ -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