summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormahongpe <hongpeng.ma@intel.com>2014-06-12 01:01:03 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:06:39 -0700
commit1acf92e9a20924ee23330759a6b3f78a2c19eb43 (patch)
tree67d2e416135e94ed519b80534ddd0ed78b050596
parent5bda8779f054b9e2da23725643d0559618bb5f8c (diff)
downloadandroid_hardware_intel_img_psb_video-1acf92e9a20924ee23330759a6b3f78a2c19eb43.tar.gz
android_hardware_intel_img_psb_video-1acf92e9a20924ee23330759a6b3f78a2c19eb43.tar.bz2
android_hardware_intel_img_psb_video-1acf92e9a20924ee23330759a6b3f78a2c19eb43.zip
update VC1 decoding setting to sync up with VED firmware update
BZ:202626 Change-Id: I258d00b304e95015028afe2960898ae970a03112 Signed-off-by: mahongpe <hongpeng.ma@intel.com>
-rw-r--r--src/pnw_VC1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pnw_VC1.c b/src/pnw_VC1.c
index 67c50f8..0cc5345 100644
--- a/src/pnw_VC1.c
+++ b/src/pnw_VC1.c
@@ -1990,8 +1990,8 @@ static void psb__VC1_send_rendec_params(context_VC1_p ctx, VASliceParameterBuffe
/* VC1 Luma Range Mapping Base Address */
RELOC(*ctx->dec_ctx.p_range_mapping_base0, /*cmd + */deblock_surface->buf.buffer_ofs, &deblock_surface->buf);
RELOC(*ctx->dec_ctx.p_range_mapping_base1, deblock_surface->buf.buffer_ofs + deblock_surface->chroma_offset, &deblock_surface->buf);
- *ctx->dec_ctx.p_range_mapping_base0 = (*ctx->dec_ctx.p_range_mapping_base0) | cmd; /* FIXME If kernel apply reloc, this value may be override */
+ *ctx->dec_ctx.cmd_params |= cmd;
/* VC1 Intensity Compensation Backward/Previous */
/*
3.3.10 VC1 Intensity Compensation Backward/Previous: