summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/media-bus-format.h
diff options
context:
space:
mode:
authorJouni Ukkonen <jouni.ukkonen@intel.com>2016-04-25 09:19:10 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 11:15:50 -0300
commitcfe41359942b933ee0058c73df7dcc00dae64885 (patch)
treece935c407b0e10c308fca6cc06952590b1015ab0 /include/uapi/linux/media-bus-format.h
parente42c4754181fddbde843197340b1e175ba9e777c (diff)
downloadlinux-stable-cfe41359942b933ee0058c73df7dcc00dae64885.tar.gz
linux-stable-cfe41359942b933ee0058c73df7dcc00dae64885.tar.bz2
linux-stable-cfe41359942b933ee0058c73df7dcc00dae64885.zip
[media] media: Add 1X14 14-bit raw bayer media bus code definitions
The codes will be called: MEDIA_BUS_FMT_SBGGR14_1X14 MEDIA_BUS_FMT_SGBRG14_1X14 MEDIA_BUS_FMT_SGRBG14_1X14 MEDIA_BUS_FMT_SRGGB14_1X14 Signed-off-by: Jouni Ukkonen <jouni.ukkonen@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/media-bus-format.h')
-rw-r--r--include/uapi/linux/media-bus-format.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
index 190d491d5b13..1dff459ab6ff 100644
--- a/include/uapi/linux/media-bus-format.h
+++ b/include/uapi/linux/media-bus-format.h
@@ -97,7 +97,7 @@
#define MEDIA_BUS_FMT_YUV10_1X30 0x2016
#define MEDIA_BUS_FMT_AYUV8_1X32 0x2017
-/* Bayer - next is 0x3019 */
+/* Bayer - next is 0x301d */
#define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001
#define MEDIA_BUS_FMT_SGBRG8_1X8 0x3013
#define MEDIA_BUS_FMT_SGRBG8_1X8 0x3002
@@ -122,6 +122,10 @@
#define MEDIA_BUS_FMT_SGBRG12_1X12 0x3010
#define MEDIA_BUS_FMT_SGRBG12_1X12 0x3011
#define MEDIA_BUS_FMT_SRGGB12_1X12 0x3012
+#define MEDIA_BUS_FMT_SBGGR14_1X14 0x3019
+#define MEDIA_BUS_FMT_SGBRG14_1X14 0x301a
+#define MEDIA_BUS_FMT_SGRBG14_1X14 0x301b
+#define MEDIA_BUS_FMT_SRGGB14_1X14 0x301c
/* JPEG compressed formats - next is 0x4002 */
#define MEDIA_BUS_FMT_JPEG_1X8 0x4001