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

Commit 7f167b41 authored by Amit Shekhar's avatar Amit Shekhar Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Add enc pixel fmt constraint entry for NV12_512



Add encoder pixel format constraint entry for COLOR_FMT_NV12_512.

Change-Id: I97b9954e1fe4b5ca424487af415bcd92a473e9b1
Signed-off-by: default avatarAmit Shekhar <ashekhar@codeaurora.org>
parent 380828c9
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1233,6 +1233,18 @@ struct msm_vidc_format_constraint enc_pix_format_constraints[] = {
		.uv_min_plane_buffer_height_multiple = 16,
		.uv_buffer_alignment = 256,
	},
	{
		.fourcc = V4L2_PIX_FMT_NV12_512,
		.num_planes = 2,
		.y_stride_multiples = 512,
		.y_max_stride = 8192,
		.y_min_plane_buffer_height_multiple = 512,
		.y_buffer_alignment = 512,
		.uv_stride_multiples = 512,
		.uv_max_stride = 8192,
		.uv_min_plane_buffer_height_multiple = 256,
		.uv_buffer_alignment = 256,
	},
};