summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-25 10:14:13 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-25 10:14:13 +0200
commit43a7e1cb55a892760200fccc258eac5526314f97 (patch)
treebbfe021988812bb836cc0f0bc0fc03441c928825 /yavta.c
parent6de402fecc627eac4fbf39cde12d1ad177f5895c (diff)
Add support for RGB formats
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 8878b8a..ffb7c1b 100644
--- a/yavta.c
+++ b/yavta.c
@@ -115,6 +115,15 @@ static struct {
const char *name;
unsigned int fourcc;
} pixel_formats[] = {
+ { "RGB332", V4L2_PIX_FMT_RGB332 },
+ { "RGB555", V4L2_PIX_FMT_RGB555 },
+ { "RGB565", V4L2_PIX_FMT_RGB565 },
+ { "RGB555X", V4L2_PIX_FMT_RGB555X },
+ { "RGB565X", V4L2_PIX_FMT_RGB565X },
+ { "BGR24", V4L2_PIX_FMT_BGR24 },
+ { "RGB24", V4L2_PIX_FMT_RGB24 },
+ { "BGR32", V4L2_PIX_FMT_BGR32 },
+ { "RGB32", V4L2_PIX_FMT_RGB32 },
{ "Y8", V4L2_PIX_FMT_GREY },
{ "Y16", V4L2_PIX_FMT_Y16 },
{ "YUYV", V4L2_PIX_FMT_YUYV },