summaryrefslogtreecommitdiff
path: root/include/linux/media-bus-format.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-01-18 13:06:14 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-04-23 16:37:40 +0300
commit5d76dca72e7e311f2c5360d6b21b3b43d602f30c (patch)
treefe5ecc73724b3bafaf5e87144cfce02056bbae7d /include/linux/media-bus-format.h
parentfb74bb7df66b96dbe28702155cddfc96a1b30f78 (diff)
[DNI] include: linux: Update kernel headers to metadata API
Update kernel headers to the rpi/v6.8/unicam/next branch at commit 1dfbc8d9a4e2. This pulls in the new V4L2 metadata API that is under development, and should not be merged in libcamera until the API stabilizes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/media-bus-format.h')
-rw-r--r--include/linux/media-bus-format.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/media-bus-format.h b/include/linux/media-bus-format.h
index f05f747e..13e68c2c 100644
--- a/include/linux/media-bus-format.h
+++ b/include/linux/media-bus-format.h
@@ -174,4 +174,17 @@
*/
#define MEDIA_BUS_FMT_METADATA_FIXED 0x7001
+/* Generic line based metadata formats for serial buses. Next is 0x8008. */
+#define MEDIA_BUS_FMT_META_8 0x8001
+#define MEDIA_BUS_FMT_META_10 0x8002
+#define MEDIA_BUS_FMT_META_12 0x8003
+#define MEDIA_BUS_FMT_META_14 0x8004
+#define MEDIA_BUS_FMT_META_16 0x8005
+#define MEDIA_BUS_FMT_META_20 0x8006
+#define MEDIA_BUS_FMT_META_24 0x8007
+
+/* Specific metadata formats. Next is 0x9003. */
+#define MEDIA_BUS_FMT_CCS_EMBEDDED 0x9001
+#define MEDIA_BUS_FMT_OV2740_EMBEDDED 0x9002
+
#endif /* __LINUX_MEDIA_BUS_FORMAT_H */