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

Commit 021809ff authored by Karthikeyan Periasamy's avatar Karthikeyan Periasamy Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: fix CONSTRAINED_INTRA_PRED setting



Enable CONSTRAINED_INTRA_PRED for all the following intra refresh mode
 - CYCLIC, ADAPTIVE, CYCLIC_ADAPTIVE, RANDOM
and disbale when intra refresh mode is set to NONE.

Change-Id: Ifda5783f7bf33ba20a3ee3749410560f7864a4f3
CRs-Fixed: 1049420
Signed-off-by: default avatarKarthikeyan Periasamy <kperiasa@codeaurora.org>
parent 995bb603
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2779,7 +2779,7 @@ static int try_set_ctrl(struct msm_vidc_inst *inst, struct v4l2_ctrl *ctrl)
		(inst->fmts[CAPTURE_PORT]->fourcc == V4L2_PIX_FMT_HEVC);

		if (is_cont_intra_supported) {
			if (air_mbs || air_ref || cir_mbs)
			if (ctrl->val != HAL_INTRA_REFRESH_NONE)
				enable.enable = true;
			else
				enable.enable = false;