summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeng.chen <peng.c.chen@intel.com>2017-09-06 11:15:45 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-10-17 00:43:44 +0800
commit41ba084b10cf7cf9e74b62595c1964398a639759 (patch)
treee38b79a28aa3b390ab1a3c88516a5f6c14a46cb6
parentb1d9dd800ba93c1a07009707f787540065e1ae86 (diff)
downloadlibva-intel-driver-41ba084b10cf7cf9e74b62595c1964398a639759.tar.gz
Set pipe_buffer_state before ind_obj_base_addr for VP9 decoder
it fixed a potential VP9 decoding issue at some cases Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 29e375a75aa3f669871ec592c1efa413acc79e98)
-rw-r--r--src/gen9_mfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen9_mfd.c b/src/gen9_mfd.c
index 10171de1..2490b217 100644
--- a/src/gen9_mfd.c
+++ b/src/gen9_mfd.c
@@ -1734,9 +1734,9 @@ gen9_hcpd_vp9_decode_picture(VADriverContextP ctx,
//Only one VASliceParameterBufferVP9 should be sent per frame
slice_data_bo = decode_state->slice_datas[0]->bo;
+ gen9_hcpd_vp9_pipe_buf_addr_state(ctx, decode_state, gen9_hcpd_context);
gen9_hcpd_ind_obj_base_addr_state(ctx, slice_data_bo, gen9_hcpd_context);
- gen9_hcpd_vp9_pipe_buf_addr_state(ctx, decode_state, gen9_hcpd_context);
//If segmentation is disabled, only SegParam[0] is valid,
//all others should be populated with 0
if (!pic_param->pic_fields.bits.segmentation_enabled)