i965_drv_video: fix mfx_avc_slice_state command 68/668/1
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 9 Nov 2010 05:01:47 +0000 (13:01 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 6 Dec 2010 04:50:04 +0000 (12:50 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
i965_drv_video/gen6_mfd.c

index 4ed07fc..c0852d2 100644 (file)
@@ -712,7 +712,7 @@ gen6_mfd_avc_slice_state(VADriverContextP ctx,
     }
 
     BEGIN_BCS_BATCH(ctx, 11); /* FIXME: is it 10??? */
-    OUT_BCS_BATCH(ctx, CMD_AVC_BSD_SLICE_STATE | (11 - 2));
+    OUT_BCS_BATCH(ctx, MFX_AVC_SLICE_STATE | (11 - 2));
     OUT_BCS_BATCH(ctx, slice_type);
     OUT_BCS_BATCH(ctx, 
                   (num_ref_idx_l1 << 24) |
@@ -750,7 +750,7 @@ gen6_mfd_avc_phantom_slice_state(VADriverContextP ctx, VAPictureParameterBufferH
     int height_in_mbs = pic_param->picture_height_in_mbs_minus1 + 1; /* frame height */
 
     BEGIN_BCS_BATCH(ctx, 11); /* FIXME: is it 10??? */
-    OUT_BCS_BATCH(ctx, CMD_AVC_BSD_SLICE_STATE | (11 - 2));
+    OUT_BCS_BATCH(ctx, MFX_AVC_SLICE_STATE | (11 - 2));
     OUT_BCS_BATCH(ctx, 0);
     OUT_BCS_BATCH(ctx, 0);
     OUT_BCS_BATCH(ctx, 0);