diff mpegvideo.c @ 828:ace3ccd18dd2 libavcodec

Altivec Patch (Mark III) by (Dieter Shirley <dieters at schemasoft dot com>)
author michaelni
date Sat, 02 Nov 2002 11:28:08 +0000
parents 78accc54493b
children e460775adb38
line wrap: on
line diff
--- a/mpegvideo.c	Sat Nov 02 10:39:22 2002 +0000
+++ b/mpegvideo.c	Sat Nov 02 11:28:08 2002 +0000
@@ -157,6 +157,9 @@
         int j;
         j = src_scantable[i];
         st->permutated[i] = s->idct_permutation[j];
+#ifdef ARCH_POWERPC
+        st->inverse[j] = i;
+#endif
     }
     
     end=-1;
@@ -221,6 +224,9 @@
 #ifdef ARCH_ARMV4L
     MPV_common_init_armv4l();
 #endif
+#ifdef ARCH_POWERPC
+    MPV_common_init_ppc(s);
+#endif
 
     switch(s->idct_permutation_type){
     case FF_NO_IDCT_PERM:
@@ -3011,7 +3017,7 @@
     int bias;
     int max=0;
     unsigned int threshold1, threshold2;
-    
+
     s->fdct (block);
 
     if (s->mb_intra) {