summaryrefslogtreecommitdiff
path: root/subdev.c
diff options
context:
space:
mode:
authorMartin Hostettler <martin@neutronstar.dyndns.org>2011-01-21 00:00:29 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-01-23 03:04:38 +0100
commit5c4174234927f4e38a457ce15649e76b596d2fb1 (patch)
tree0e39195ebc33c4a70c306a965a4989df7ee6fe8c /subdev.c
parent44a0dd7dac66b5ba87f71d8b16153ae6725111c1 (diff)
media-ctl: subdev: add Y8 format.
Diffstat (limited to 'subdev.c')
-rw-r--r--subdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subdev.c b/subdev.c
index f36a8e7..0582e8a 100644
--- a/subdev.c
+++ b/subdev.c
@@ -37,6 +37,7 @@ static struct {
const char *name;
enum v4l2_mbus_pixelcode code;
} mbus_formats[] = {
+ { "Y8", V4L2_MBUS_FMT_Y8_1X8},
{ "YUYV", V4L2_MBUS_FMT_YUYV8_1X16 },
{ "UYVY", V4L2_MBUS_FMT_UYVY8_1X16 },
{ "SGRBG10", V4L2_MBUS_FMT_SGRBG10_1X10 },