mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
msm: vidc: Enable 8-bit chroma QP offset support
Enable support for 8-bit chroma QP offset. Change-Id: I296f7a5669439c21d9727b1b731cfce14cbcd529 Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
This commit is contained in:
parent
fbc3b10e06
commit
f8eaa17bf0
1 changed files with 0 additions and 4 deletions
|
|
@ -3414,10 +3414,6 @@ int msm_venc_set_chroma_qp_offset(struct msm_vidc_inst *inst)
|
|||
chroma_qp.chroma_offset = (chr->val + 12) << 16 | (chr->val + 12);
|
||||
s_vpr_h(inst->sid, "%s: %x\n", __func__, chroma_qp.chroma_offset);
|
||||
|
||||
/* TODO: Remove this check after firmware support added for 8-bit */
|
||||
if (inst->bit_depth == MSM_VIDC_BIT_DEPTH_8)
|
||||
return 0;
|
||||
|
||||
rc = call_hfi_op(hdev, session_set_property, inst->session,
|
||||
HFI_PROPERTY_PARAM_HEVC_PPS_CB_CR_OFFSET, &chroma_qp,
|
||||
sizeof(chroma_qp));
|
||||
|
|
|
|||
Loading…
Reference in a new issue