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

Commit 7d3f32cb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Disable bitrate scaling if DCVS is enabled"

parents c5284de6 afe3c010
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3228,9 +3228,12 @@ static void log_frame(struct msm_vidc_inst *inst, struct vidc_frame_data *data,
		msm_vidc_debugfs_update(inst, MSM_VIDC_DEBUGFS_EVENT_ETB);

		if (msm_vidc_bitrate_clock_scaling &&
			inst->session_type == MSM_VIDC_DECODER)
			inst->session_type == MSM_VIDC_DECODER &&
			!inst->dcvs_mode)
				inst->instant_bitrate =
					data->filled_len * 8 * inst->prop.fps;
		else
			inst->instant_bitrate = 0;
	} else if (type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
		dprintk(VIDC_DBG,
				"Sending ftb (%pa) to hal: size: %d, ts: %lld, flags = %#x\n",