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

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

Merge "msm: vidc: Increase 10-bit enc o/p buffer size for <=360p"

parents 7431a0eb 5bf127b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1005,7 +1005,7 @@ u32 msm_vidc_calculate_enc_output_frame_size(struct msm_vidc_inst *inst)
		goto calc_done;

	if (mbs_per_frame <= NUM_MBS_360P)
		goto calc_done; /* Default frame_size = YUVsize * 2 */
		(void)frame_size; /* Default frame_size = YUVsize * 2 */
	else if (mbs_per_frame <= NUM_MBS_4k)
		frame_size = frame_size >> 2;
	else