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

Commit 1079ebc6 authored by Zhongbo Shi's avatar Zhongbo Shi
Browse files

msm: vidc: add P010 support for encoders



Add the P010 10bit linear color format for encoders

CRs-Fixed: 2105531
Change-Id: Ic8dcc5094469e469cc8b71f1ac8ad51dc4a3074d
Signed-off-by: default avatarZhongbo Shi <zhongbos@codeaurora.org>
parent 9a78128f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1112,6 +1112,13 @@ static struct msm_vidc_format venc_formats[] = {
		.get_frame_size = get_frame_size_compressed,
		.type = CAPTURE_PORT,
	},
	{
		.name = "YCbCr Semiplanar 4:2:0 10bit",
		.description = "Y/CbCr 4:2:0 10bit",
		.fourcc = V4L2_PIX_FMT_SDE_Y_CBCR_H2V2_P010,
		.get_frame_size = get_frame_size_p010,
		.type = OUTPUT_PORT,
	},
};

static int msm_venc_set_csc(struct msm_vidc_inst *inst,