diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2022-02-25 14:10:51 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-02-25 15:28:55 +0200 |
commit | 3326c19e5f08cf1c41bd4a9dbacbbe8192285a4f (patch) | |
tree | 049eb61682a6d9b2f906724568d235e1e7b1cdae | |
parent | 65f740aa1758531fd810339bc1b7d1d33666e28a (diff) |
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 <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | yavta.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 }, |