summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-06-23 16:32:25 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-10-01 00:46:03 +0300
commit84a1855e010f708ae475aa7607dae6eea5066101 (patch)
treedf3f7d52d623b7508f0fa28ae0cbe953e9b55631
parenta34d8843092e260432b94c63d6534160897ec678 (diff)
Add support for missing RGB formats
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index a0eb9f5..a0386b4 100644
--- a/yavta.c
+++ b/yavta.c
@@ -151,14 +151,24 @@ static struct v4l2_format_info {
unsigned char n_planes;
} pixel_formats[] = {
{ "RGB332", V4L2_PIX_FMT_RGB332, 1 },
+ { "RGB444", V4L2_PIX_FMT_RGB444, 1 },
+ { "ARGB444", V4L2_PIX_FMT_ARGB444, 1 },
+ { "XRGB444", V4L2_PIX_FMT_XRGB444, 1 },
{ "RGB555", V4L2_PIX_FMT_RGB555, 1 },
+ { "ARGB555", V4L2_PIX_FMT_ARGB555, 1 },
+ { "XRGB555", V4L2_PIX_FMT_XRGB555, 1 },
{ "RGB565", V4L2_PIX_FMT_RGB565, 1 },
{ "RGB555X", V4L2_PIX_FMT_RGB555X, 1 },
{ "RGB565X", V4L2_PIX_FMT_RGB565X, 1 },
+ { "BGR666", V4L2_PIX_FMT_BGR666, 1 },
{ "BGR24", V4L2_PIX_FMT_BGR24, 1 },
{ "RGB24", V4L2_PIX_FMT_RGB24, 1 },
{ "BGR32", V4L2_PIX_FMT_BGR32, 1 },
+ { "ABGR32", V4L2_PIX_FMT_ABGR32, 1 },
+ { "XBGR32", V4L2_PIX_FMT_XBGR32, 1 },
{ "RGB32", V4L2_PIX_FMT_RGB32, 1 },
+ { "ARGB32", V4L2_PIX_FMT_ARGB32, 1 },
+ { "XRGB32", V4L2_PIX_FMT_XRGB32, 1 },
{ "Y8", V4L2_PIX_FMT_GREY, 1 },
{ "Y10", V4L2_PIX_FMT_Y10, 1 },
{ "Y12", V4L2_PIX_FMT_Y12, 1 },