All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 4/9] media-bus: uapi: Add YCrCb 420 media bus format
@ 2018-02-15  6:42 Satish Kumar Nagireddy
  0 siblings, 0 replies; only message in thread
From: Satish Kumar Nagireddy @ 2018-02-15  6:42 UTC (permalink / raw)
  To: linux-media, laurent.pinchart, michal.simek, hyun.kwon
  Cc: Rohit Athavale, Satish Kumar Nagireddy

From: Rohit Athavale <rohit.athavale@xilinx.com>

This commit adds a YUV 420 media bus format. Currently, one
doesn't exist. VYYUYY8_1X24 does not describe the way the pixels are
sent over the bus, but is an approximation.

Signed-off-by: Satish Kumar Nagireddy <satishna@xilinx.com>
---
 include/uapi/linux/media-bus-format.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
index 9e35117..ade7e9d 100644
--- a/include/uapi/linux/media-bus-format.h
+++ b/include/uapi/linux/media-bus-format.h
@@ -62,7 +62,7 @@
 #define MEDIA_BUS_FMT_RGB121212_1X36           0x1019
 #define MEDIA_BUS_FMT_RGB161616_1X48           0x101a

-/* YUV (including grey) - next is      0x202c */
+/* YUV (including grey) - next is      0x202d */
 #define MEDIA_BUS_FMT_Y8_1X8                   0x2001
 #define MEDIA_BUS_FMT_UV8_1X8                  0x2015
 #define MEDIA_BUS_FMT_UYVY8_1_5X8              0x2002
@@ -106,6 +106,7 @@
 #define MEDIA_BUS_FMT_YUV12_1X36               0x2029
 #define MEDIA_BUS_FMT_YUV16_1X48               0x202a
 #define MEDIA_BUS_FMT_UYYVYY16_0_5X48          0x202b
+#define MEDIA_BUS_FMT_VYYUYY8_1X24             0x202c

 /* Bayer - next is     0x3021 */
 #define MEDIA_BUS_FMT_SBGGR8_1X8               0x3001
--
2.7.4

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-15  6:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15  6:42 [PATCH v3 4/9] media-bus: uapi: Add YCrCb 420 media bus format Satish Kumar Nagireddy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.