mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
msm: vidc: Enable hybrid mode only for HFR usecase
Dynamic properties such as IDR insertion is not supported when hybrid layers are enabled . Hybrid layers required only HFR usecase. Hence enabling hybrid only when VBR+noLTR+HFR use cases. Change-Id: I36e4ecb9c98135790cff0487a237a1a4fd33d241
This commit is contained in:
parent
9699c3bab5
commit
8a055950fd
1 changed files with 3 additions and 0 deletions
|
|
@ -3710,6 +3710,9 @@ int msm_venc_enable_hybrid_hp(struct msm_vidc_inst *inst)
|
|||
if (ctrl->val)
|
||||
return 0;
|
||||
|
||||
if (msm_vidc_get_fps(inst) <= 60)
|
||||
return 0;
|
||||
|
||||
ctrl = get_ctrl(inst,
|
||||
V4L2_CID_MPEG_VIDC_VIDEO_HEVC_MAX_HIER_CODING_LAYER);
|
||||
layer = get_ctrl(inst, V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER);
|
||||
|
|
|
|||
Loading…
Reference in a new issue