[PATCH] media-ctl: subdev: add Y8 format.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 subdev.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

This is a trivial patch for media-ctl to support monochrome 8bit video formats.


diff --git a/subdev.c b/subdev.c
index f36a8e7..6f4eb26 100644
--- a/subdev.c
+++ b/subdev.c
@@ -39,6 +39,7 @@ static struct {
 } mbus_formats[] = {
 	{ "YUYV", V4L2_MBUS_FMT_YUYV8_1X16 },
 	{ "UYVY", V4L2_MBUS_FMT_UYVY8_1X16 },
+	{ "Y8", V4L2_MBUS_FMT_Y8_1X8}, 
 	{ "SGRBG10", V4L2_MBUS_FMT_SGRBG10_1X10 },
 	{ "SGRBG10_DPCM8", V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 },
 };
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux