From 51ecad6fb30b02eecfeca9da0ea046646b8b34be Mon Sep 17 00:00:00 2001 From: Zhou Chang Date: Wed, 6 Apr 2011 10:31:39 +0800 Subject: [PATCH] disabling cabac zeros words inert, using 0x00000000 as end of bit streaming flag. --- i965_drv_video/gen6_mfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i965_drv_video/gen6_mfc.c b/i965_drv_video/gen6_mfc.c index c16ddd9..fd9f93c 100644 --- a/i965_drv_video/gen6_mfc.c +++ b/i965_drv_video/gen6_mfc.c @@ -206,7 +206,7 @@ gen6_mfc_avc_img_state(VADriverContextP ctx) (0 << 16) | /*Mininum Frame size*/ (0 << 15) | /*Disable reading of Macroblock Status Buffer*/ (0 << 14) | /*Load BitStream Pointer only once, 1 slic 1 frame*/ - (1 << 13) | /*CABAC 0 word insertion test enable*/ + (0 << 13) | /*CABAC 0 word insertion test enable*/ (1 << 12) | /*MVUnpackedEnable,compliant to DXVA*/ (1 << 10) | /*Chroma Format IDC, 4:2:0*/ (1 << 7) | /*0:CAVLC encoding mode,1:CABAC*/ @@ -302,7 +302,7 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice) (1<<16) | /*SliceData PresentFlag*/ (0<<15) | /*TailPresentFlag*/ (1<<13) | /*RBSP NAL TYPE*/ - (1<<12) ); /*CabacZeroWordInsertionEnable*/ + (0<<12) ); /*CabacZeroWordInsertionEnable*/ OUT_BCS_RELOC(ctx, bcs_state->mfc_indirect_pak_bse_object.bo, I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION, -- 2.7.4