[v3,01/11] include: linux: Add C3 ISP Stats and Params V4L2 format
diff mbox series

Message ID 20250227105733.187611-2-keke.li@amlogic.com
State New
Headers show
Series
  • Add Amlogic C3 ISP pipeline handler and IPA
Related show

Commit Message

Keke Li Feb. 27, 2025, 10:57 a.m. UTC
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@amlogic.com>
---
 include/linux/videodev2.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

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!