Merge "Revert "msm: vidc: Fix work mode for rate control CQ""

This commit is contained in:
qctecmdr 2019-08-15 23:16:18 -07:00 committed by Gerrit - the friendly Code Review server
commit f69cf0392b

View File

@ -1555,10 +1555,6 @@ int msm_vidc_decide_work_mode_iris2(struct msm_vidc_inst *inst)
/* For WORK_MODE_1, set Low Latency mode by default */
latency.enable = true;
}
if (inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_CQ) {
pdata.video_work_mode = HFI_WORKMODE_1;
latency.enable = true;
}
if (inst->rc_type == RATE_CONTROL_LOSSLESS || inst->all_intra) {
pdata.video_work_mode = HFI_WORKMODE_2;
latency.enable = false;