diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-25 10:14:13 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-25 10:14:13 +0200 |
commit | 43a7e1cb55a892760200fccc258eac5526314f97 (patch) | |
tree | bbfe021988812bb836cc0f0bc0fc03441c928825 /yavta.c | |
parent | 6de402fecc627eac4fbf39cde12d1ad177f5895c (diff) |
Add support for RGB formats
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r-- | yavta.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 }, |