Commit f064a9d4 authored by Xiang, Haihao's avatar Xiang, Haihao

fix internal buffer size

Signed-off-by: default avatarXiang, Haihao <haihao.xiang@intel.com>
parent 3f1c4faa
...@@ -484,7 +484,7 @@ static void gen6_mfc_init(VADriverContextP ctx) ...@@ -484,7 +484,7 @@ static void gen6_mfc_init(VADriverContextP ctx)
//dri_bo_unreference(bo); //dri_bo_unreference(bo);
bo = dri_bo_alloc(i965->intel.bufmgr, bo = dri_bo_alloc(i965->intel.bufmgr,
"Buffer", "Buffer",
6 * 64, 49152, /* 6 * 128 * 64 */
64); 64);
assert(bo); assert(bo);
bcs_state->deblocking_filter_row_store_scratch_buffer.bo = bo; bcs_state->deblocking_filter_row_store_scratch_buffer.bo = bo;
...@@ -495,7 +495,7 @@ static void gen6_mfc_init(VADriverContextP ctx) ...@@ -495,7 +495,7 @@ static void gen6_mfc_init(VADriverContextP ctx)
//dri_bo_unreference(bo); //dri_bo_unreference(bo);
bo = dri_bo_alloc(i965->intel.bufmgr, bo = dri_bo_alloc(i965->intel.bufmgr,
"Buffer", "Buffer",
11520, /* 1.5 * 120 * 64 */ 12288, /* 1.5 * 128 * 64 */
0x1000); 0x1000);
assert(bo); assert(bo);
bcs_state->bsd_mpc_row_store_scratch_buffer.bo = bo; bcs_state->bsd_mpc_row_store_scratch_buffer.bo = bo;
......
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