summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-05-02 16:23:59 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-05-02 16:23:59 +0800
commitc3f06e2b32197d403d96b548b6b7589b245e8aaa (patch)
tree323bd55ffcc7208f24bda9aa0ee0271c0add210b
parent4e3a3146128c6f790c9f586c2141ae96955069cd (diff)
Enlarge some internal buffer for H.264 decoding on Ivybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--src/gen7_mfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen7_mfd.c b/src/gen7_mfd.c
index 6fbf251..5c6ad25 100644
--- a/src/gen7_mfd.c
+++ b/src/gen7_mfd.c
@@ -949,7 +949,7 @@ gen7_mfd_avc_decode_init(VADriverContextP ctx,
dri_bo_unreference(gen7_mfd_context->bsd_mpc_row_store_scratch_buffer.bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"bsd mpc row store",
- width_in_mbs * 96,
+ width_in_mbs * 64 * 2,
0x1000);
assert(bo);
gen7_mfd_context->bsd_mpc_row_store_scratch_buffer.bo = bo;
@@ -958,7 +958,7 @@ gen7_mfd_avc_decode_init(VADriverContextP ctx,
dri_bo_unreference(gen7_mfd_context->mpr_row_store_scratch_buffer.bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"mpr row store",
- width_in_mbs * 64,
+ width_in_mbs * 64 * 2,
0x1000);
assert(bo);
gen7_mfd_context->mpr_row_store_scratch_buffer.bo = bo;