From 3326c19e5f08cf1c41bd4a9dbacbbe8192285a4f Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Fri, 25 Feb 2022 14:10:51 +0100 Subject: yavta: Add support for YUV32 pixel format Add YUV32 to the list of supported pixel formats. YUV32 represents the packed YUV format version with 4:4:4 subsampling with 8-bits per component plus an additional alpha channel component in the 8 MSB of the 32-bits word. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- yavta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/yavta.c b/yavta.c index 387942d..c7a43fe 100644 --- a/yavta.c +++ b/yavta.c @@ -307,6 +307,7 @@ static struct v4l2_format_info { { "VYUY", V4L2_PIX_FMT_VYUY, 1 }, { "YUYV", V4L2_PIX_FMT_YUYV, 1 }, { "YVYU", V4L2_PIX_FMT_YVYU, 1 }, + { "YUV32", V4L2_PIX_FMT_YUV32, 1 }, { "NV12", V4L2_PIX_FMT_NV12, 1 }, { "NV12M", V4L2_PIX_FMT_NV12M, 2 }, { "NV21", V4L2_PIX_FMT_NV21, 1 }, -- cgit v1.2.3