Disabled direct mode.
authorZhou Chang <chang.zhou@intel.com>
Thu, 30 Jun 2011 08:12:04 +0000 (16:12 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 25 Aug 2011 12:29:00 +0000 (14:29 +0200)
src/gen6_mfc.c

index dda8f6e..a3ec369 100644 (file)
@@ -732,12 +732,16 @@ static int gen6_mfc_avc_pak_object_inter(VADriverContextP ctx, int x, int y, int
                   (0 << 0));      /* InterMbMode */
 
     OUT_BCS_BATCH(batch, (0xFFFF<<16) | (y << 8) | x);        /* Code Block Pattern for Y*/
-    OUT_BCS_BATCH(batch, 0x000F000F);                         /* Code Block Pattern */   
+    OUT_BCS_BATCH(batch, 0x000F000F);                         /* Code Block Pattern */  
+#if 0 
     if ( slice_type == SLICE_TYPE_B) {
         OUT_BCS_BATCH(batch, (0xF<<28) | (end_mb << 26) | qp); /* Last MB */
     } else {
         OUT_BCS_BATCH(batch, (end_mb << 26) | qp);     /* Last MB */
     }
+#else
+    OUT_BCS_BATCH(batch, (end_mb << 26) | qp); /* Last MB */
+#endif
 
 
     /*Stuff for Inter MB*/