summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-03-07 19:54:56 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-03-24 02:46:43 +0200
commit323facd1d5bd6251eec70dd5c1484a12ce01202a (patch)
tree790418b3415a1efa969908f21db602a928411238
parent8292a1965efa6f3b61fb9e3c2ba6af591652b03f (diff)
Add YUVA32 and YUVX32 4:4:4 packed pixel formats support
The YUVA32 and YUVX32 formats are permutations of other YUV 4:4:4 packed pixel formats. Support them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index d562863..3bf82b3 100644
--- a/yavta.c
+++ b/yavta.c
@@ -312,6 +312,8 @@ static struct v4l2_format_info {
{ "XYUV32", V4L2_PIX_FMT_XYUV32, 1 },
{ "VUYA32", V4L2_PIX_FMT_VUYA32, 1 },
{ "VUYX32", V4L2_PIX_FMT_VUYX32, 1 },
+ { "YUVA32", V4L2_PIX_FMT_YUVA32, 1 },
+ { "YUVX32", V4L2_PIX_FMT_YUVX32, 1 },
{ "NV12", V4L2_PIX_FMT_NV12, 1 },
{ "NV12M", V4L2_PIX_FMT_NV12M, 2 },
{ "NV21", V4L2_PIX_FMT_NV21, 1 },