[PATCH v3 01/11] include: linux: Add C3 ISP Stats and Params V4L2 format
Keke Li
keke.li at amlogic.com
Thu Feb 27 11:57:23 CET 2025
Add the new format describing the C3 ISP Statistics and Parameters
to videodev2. These come from the v6 of the C3 ISP kernel driver
series[1]. Once the kernel driver is merged we can replace these
temporary manual additions with updates to the scripts that merge
in the kernel headers.
[1] https://lore.kernel.org/linux-media/20250227-c3isp-v6-6-f72e19084d0d@amlogic.com/
Signed-off-by: Keke Li <keke.li at amlogic.com>
---
include/linux/videodev2.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 317d063a..a9f73438 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -843,6 +843,10 @@ struct v4l2_pix_format {
#define V4L2_META_FMT_MALI_C55_PARAMS v4l2_fourcc('C', '5', '5', 'P') /* ARM Mali-C55 Parameters */
#define V4L2_META_FMT_MALI_C55_3A_STATS v4l2_fourcc('C', '5', '5', 'S') /* ARM Mali-C55 3A Statistics */
+/* Vendor specific - used for C3 ISP */
+#define V4L2_META_FMT_C3ISP_PARAMS v4l2_fourcc('C', '3', 'P', 'M') /* Amlogic C3 ISP Parameters */
+#define V4L2_META_FMT_C3ISP_STATS v4l2_fourcc('C', '3', 'S', 'T') /* Amlogic C3 ISP Statistics */
+
/*
* Line-based metadata formats. Remember to update v4l_fill_fmtdesc() when
* adding new ones!
--
2.48.1
More information about the libcamera-devel
mailing list