summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-01-23 09:59:17 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-01-23 09:59:17 +0800
commite8d3f90fc18ca3726e6b34156ba56ee92c2a2524 (patch)
tree32b04b11825c7f302dfd2b02e3e3c8fa4afc616a
parent88b21b9aba9be13e08109fe5d213973447f38558 (diff)
downloadvaapi-intel-driver-e8d3f90fc18ca3726e6b34156ba56ee92c2a2524.tar.gz
vaapi-intel-driver-e8d3f90fc18ca3726e6b34156ba56ee92c2a2524.tar.bz2
vaapi-intel-driver-e8d3f90fc18ca3726e6b34156ba56ee92c2a2524.zip
Enlarge deblocking filter row store for VC-1 decoding
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rwxr-xr-xsrc/gen6_mfd.c2
-rw-r--r--src/gen75_mfd.c2
-rwxr-xr-xsrc/gen7_mfd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c
index 4440b6c..a0f7489 100755
--- a/src/gen6_mfd.c
+++ b/src/gen6_mfd.c
@@ -1438,7 +1438,7 @@ gen6_mfd_vc1_decode_init(VADriverContextP ctx,
dri_bo_unreference(gen6_mfd_context->deblocking_filter_row_store_scratch_buffer.bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"deblocking filter row store",
- width_in_mbs * 6 * 64,
+ width_in_mbs * 7 * 64,
0x1000);
assert(bo);
gen6_mfd_context->deblocking_filter_row_store_scratch_buffer.bo = bo;
diff --git a/src/gen75_mfd.c b/src/gen75_mfd.c
index 5aff88d..fc1139e 100644
--- a/src/gen75_mfd.c
+++ b/src/gen75_mfd.c
@@ -1742,7 +1742,7 @@ gen75_mfd_vc1_decode_init(VADriverContextP ctx,
dri_bo_unreference(gen7_mfd_context->deblocking_filter_row_store_scratch_buffer.bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"deblocking filter row store",
- width_in_mbs * 6 * 64,
+ width_in_mbs * 7 * 64,
0x1000);
assert(bo);
gen7_mfd_context->deblocking_filter_row_store_scratch_buffer.bo = bo;
diff --git a/src/gen7_mfd.c b/src/gen7_mfd.c
index fefe374..da4a2d3 100755
--- a/src/gen7_mfd.c
+++ b/src/gen7_mfd.c
@@ -1390,7 +1390,7 @@ gen7_mfd_vc1_decode_init(VADriverContextP ctx,
dri_bo_unreference(gen7_mfd_context->deblocking_filter_row_store_scratch_buffer.bo);
bo = dri_bo_alloc(i965->intel.bufmgr,
"deblocking filter row store",
- width_in_mbs * 6 * 64,
+ width_in_mbs * 7 * 64,
0x1000);
assert(bo);
gen7_mfd_context->deblocking_filter_row_store_scratch_buffer.bo = bo;