You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
From 85a54de5c8103ff7d12d6a2a5bef3a7c3ae35e00 Mon Sep 17 00:00:00 2001
|
|
From: Evgeni Raikhel <evgeni.raikhel@intel.com>
|
|
Date: Mon, 10 Apr 2017 10:24:17 +0300
|
|
Subject: [PATCH] Register format description with ioctls
|
|
|
|
---
|
|
drivers/media/v4l2-core/v4l2-ioctl.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
|
|
index 7486af2c8ae4..fccb5606d5e6 100644
|
|
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
|
|
+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
|
|
@@ -1229,6 +1229,11 @@ static void v4l_fill_fmtdesc(struct v4l2_fmtdesc *fmt)
|
|
case V4L2_SDR_FMT_CS8: descr = "Complex S8"; break;
|
|
case V4L2_SDR_FMT_CS14LE: descr = "Complex S14LE"; break;
|
|
case V4L2_SDR_FMT_RU12LE: descr = "Real U12LE"; break;
|
|
+ case V4L2_PIX_FMT_Y8I: descr = "8-bit Greyscale L/R interleaved"; break;
|
|
+ case V4L2_PIX_FMT_Y12I: descr = "12-bit Grey L/R interleaved"; break;
|
|
+ case V4L2_PIX_FMT_Z16: descr = "16-bit Depth data"; break;
|
|
+ case V4L2_PIX_FMT_RW16: descr = "16-bit Raw data"; break;
|
|
+ case V4L2_PIX_FMT_INZI: descr = "32-bit IR:Depth 10:16"; break;
|
|
|
|
default:
|
|
/* Compressed formats */
|
|
--
|
|
2.7.4
|
|
|