mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
msm: vidc: Enable LTR use contraint by default
Encoder shall encode subsequent frames in encoding order subject to the following constraints: - It shall not use short-term reference frames in display/input order older than the current frame with the LTR command applied for future encoding in encoding order. - It shall not use LTR frames not described by the most recent USELTRFRAME. - It may use LTR frames updated after the current frame in encoding order. Change-Id: I167bb0e211c46f892fedb88f8054bc98543ebe8a Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
parent
8e381af8e9
commit
4c65367a07
1 changed files with 1 additions and 1 deletions
|
|
@ -3715,7 +3715,7 @@ int msm_venc_set_ltr_useframe(struct msm_vidc_inst *inst)
|
|||
|
||||
ctrl = get_ctrl(inst, V4L2_CID_MPEG_VIDC_VIDEO_USELTRFRAME);
|
||||
use_ltr.ref_ltr = ctrl->val;
|
||||
use_ltr.use_constrnt = false;
|
||||
use_ltr.use_constrnt = true;
|
||||
use_ltr.frames = 0;
|
||||
dprintk(VIDC_HIGH, "%s: %d\n", __func__, use_ltr.ref_ltr);
|
||||
rc = call_hfi_op(hdev, session_set_property, inst->session,
|
||||
|
|
|
|||
Loading…
Reference in a new issue