From: Zhou Chang Date: Thu, 30 Jun 2011 08:12:04 +0000 (+0800) Subject: Disabled direct mode. X-Git-Tag: 1.0_branch~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f3760a969b7b8e1f3cb6c0d660b1f7edfb74d31;p=profile%2Fivi%2Fvaapi-intel-driver.git Disabled direct mode. --- diff --git a/src/gen6_mfc.c b/src/gen6_mfc.c index dda8f6e..a3ec369 100644 --- a/src/gen6_mfc.c +++ b/src/gen6_mfc.c @@ -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*/