video: driver: Allow HB layer encoding type
- Allow HB layer encoding type
- fix dynamic setting of I Frame QP and Peak Bitrate.
This reverts commit 4ef2b8899d
.
Change-Id: I4d63dd424c68d388709684c649ef492ce2489caa
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4a6b6797e5
commit
925c0b1a58
@@ -1389,6 +1389,10 @@ int msm_vidc_adjust_hevc_min_qp(void *instance, struct v4l2_ctrl *ctrl)
|
||||
}
|
||||
capability = inst->capabilities;
|
||||
|
||||
if (ctrl)
|
||||
msm_vidc_update_cap_value(inst, MIN_FRAME_QP,
|
||||
ctrl->val, __func__);
|
||||
|
||||
rc = msm_vidc_adjust_hevc_qp(inst, MIN_FRAME_QP);
|
||||
|
||||
return rc;
|
||||
@@ -1406,6 +1410,10 @@ int msm_vidc_adjust_hevc_max_qp(void *instance, struct v4l2_ctrl *ctrl)
|
||||
}
|
||||
capability = inst->capabilities;
|
||||
|
||||
if (ctrl)
|
||||
msm_vidc_update_cap_value(inst, MAX_FRAME_QP,
|
||||
ctrl->val, __func__);
|
||||
|
||||
rc = msm_vidc_adjust_hevc_qp(inst, MAX_FRAME_QP);
|
||||
|
||||
return rc;
|
||||
@@ -1423,6 +1431,10 @@ int msm_vidc_adjust_hevc_frame_qp(void *instance, struct v4l2_ctrl *ctrl)
|
||||
}
|
||||
capability = inst->capabilities;
|
||||
|
||||
if (ctrl)
|
||||
msm_vidc_update_cap_value(inst, I_FRAME_QP,
|
||||
ctrl->val, __func__);
|
||||
|
||||
rc = msm_vidc_adjust_hevc_qp(inst, I_FRAME_QP);
|
||||
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user