Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ffbe7a1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Enable work mode 2 for image sessions"

parents e9ae8e4d fd1b6cd8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1337,7 +1337,8 @@ static int msm_vidc_decide_work_mode_ar50(struct msm_vidc_inst *inst)
		pdata.video_work_mode = HFI_WORKMODE_1;
		if (inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_VBR ||
		    inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_MBR ||
		    inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_MBR_VFR)
		    inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_MBR_VFR ||
		    inst->rc_type == V4L2_MPEG_VIDEO_BITRATE_MODE_CQ)
			pdata.video_work_mode = HFI_WORKMODE_2;
	} else {
		return -EINVAL;