diff ppc/dsputil_ppc.c @ 8104:0d108ec85620 libavcodec

Remove duplicated MM_* macros for CPU capabilities from dsputil.h. Add missing one for FF_MM_ALTIVEC to avcodec.h. Rename all the occurences of MM_* to the corresponding FF_MM_*.
author rathann
date Mon, 03 Nov 2008 18:08:00 +0000
parents eebc7209c47f
children cf4d575b1982
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Sun Nov 02 21:51:27 2008 +0000
+++ b/ppc/dsputil_ppc.c	Mon Nov 03 18:08:00 2008 +0000
@@ -50,7 +50,7 @@
     int result = 0;
 #ifdef HAVE_ALTIVEC
     if (has_altivec()) {
-        result |= MM_ALTIVEC;
+        result |= FF_MM_ALTIVEC;
     }
 #endif /* result */
     return result;
@@ -265,7 +265,7 @@
     if(ENABLE_H264_DECODER) dsputil_h264_init_ppc(c, avctx);
 
     if (has_altivec()) {
-        mm_flags |= MM_ALTIVEC;
+        mm_flags |= FF_MM_ALTIVEC;
 
         dsputil_init_altivec(c, avctx);
         if(ENABLE_SNOW_DECODER) snow_init_altivec(c, avctx);