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

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

Merge "msm: vidc: Restrict secure buffer size optimization for higher resolution"

parents a06876ad aa2b1b38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -929,7 +929,7 @@ u32 msm_vidc_calculate_dec_input_frame_size(struct msm_vidc_inst *inst)
			div_factor = 2;
	}

	if (is_secure_session(inst))
	if (is_secure_session(inst) && num_mbs >= NUM_MBS_720P)
		div_factor = div_factor << 1;

	/* For targets that doesn't support 4k, consider max mb's for that