summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-01-14 15:50:20 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-01-14 15:57:06 +0800
commit788e99361208127763fdf1e146e63fca03a09f67 (patch)
tree29c3606b4e2174bac074af4fc53a0edcc0e239d3
parente943ff5ca164adfc38bb7c21ad28e454d9eb25b9 (diff)
downloadvaapi-intel-driver-788e99361208127763fdf1e146e63fca03a09f67.tar.gz
vaapi-intel-driver-788e99361208127763fdf1e146e63fca03a09f67.tar.bz2
vaapi-intel-driver-788e99361208127763fdf1e146e63fca03a09f67.zip
Set Fix_Prev_Mb_skipped flag in AVC_BSD_OBJECT command instead of VC1_BSD_OBJECT command
A stupid error by me in the commit f750d1b Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 88b21b9aba9be13e08109fe5d213973447f38558)
-rwxr-xr-xsrc/gen6_mfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c
index d3aae53..d200494 100755
--- a/src/gen6_mfd.c
+++ b/src/gen6_mfd.c
@@ -861,6 +861,7 @@ gen6_mfd_avc_bsd_object(VADriverContextP ctx,
(0 << 8));
OUT_BCS_BATCH(batch,
((slice_data_bit_offset >> 3) << 16) |
+ (1 << 7) |
(1 << 6) |
((0x7 - (slice_data_bit_offset & 0x7)) << 0));
OUT_BCS_BATCH(batch, 0);
@@ -1920,7 +1921,6 @@ gen6_mfd_vc1_bsd_object(VADriverContextP ctx,
OUT_BCS_BATCH(batch,
slice_param->slice_vertical_position << 24 |
next_slice_start_vert_pos << 16 |
- (1 << 7) |
(macroblock_offset & 0x7));
ADVANCE_BCS_BATCH(batch);
}