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

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

Merge "msm: vidc: Fix minimum supported resolution for HW HEIC encode"

parents 26f2554b e9df2fe7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2431,10 +2431,10 @@ bool heic_encode_session_supported(struct msm_vidc_inst *inst)
		n_bframes == 0 &&
		n_pframes == 0) {
		if (inst->grid_enable > 0) {
			if (!(inst->prop.height[CAPTURE_PORT] ==
				inst->prop.width[CAPTURE_PORT] &&
				inst->prop.width[CAPTURE_PORT] ==
					HEIC_GRID_DIMENSION))
			if (inst->prop.width[CAPTURE_PORT] <
					HEIC_GRID_DIMENSION ||
				inst->prop.height[CAPTURE_PORT] <
					HEIC_GRID_DIMENSION)
				return false;
			}
		return true;