Commit 51ecad6f authored by Zhou Chang's avatar Zhou Chang Committed by Xiang, Haihao

disabling cabac zeros words inert, using 0x00000000 as end of bit streaming flag.

parent 52d98527
...@@ -206,7 +206,7 @@ gen6_mfc_avc_img_state(VADriverContextP ctx) ...@@ -206,7 +206,7 @@ gen6_mfc_avc_img_state(VADriverContextP ctx)
(0 << 16) | /*Mininum Frame size*/ (0 << 16) | /*Mininum Frame size*/
(0 << 15) | /*Disable reading of Macroblock Status Buffer*/ (0 << 15) | /*Disable reading of Macroblock Status Buffer*/
(0 << 14) | /*Load BitStream Pointer only once, 1 slic 1 frame*/ (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 << 12) | /*MVUnpackedEnable,compliant to DXVA*/
(1 << 10) | /*Chroma Format IDC, 4:2:0*/ (1 << 10) | /*Chroma Format IDC, 4:2:0*/
(1 << 7) | /*0:CAVLC encoding mode,1:CABAC*/ (1 << 7) | /*0:CAVLC encoding mode,1:CABAC*/
...@@ -302,7 +302,7 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice) ...@@ -302,7 +302,7 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice)
(1<<16) | /*SliceData PresentFlag*/ (1<<16) | /*SliceData PresentFlag*/
(0<<15) | /*TailPresentFlag*/ (0<<15) | /*TailPresentFlag*/
(1<<13) | /*RBSP NAL TYPE*/ (1<<13) | /*RBSP NAL TYPE*/
(1<<12) ); /*CabacZeroWordInsertionEnable*/ (0<<12) ); /*CabacZeroWordInsertionEnable*/
OUT_BCS_RELOC(ctx, bcs_state->mfc_indirect_pak_bse_object.bo, OUT_BCS_RELOC(ctx, bcs_state->mfc_indirect_pak_bse_object.bo,
I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment