[PATCH/RFC 31/32] include: linux: Drop V4L2_META_FMT_SENSOR_DATA

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Mar 1 22:21:20 CET 2024


The V4L2_META_FMT_SENSOR_DATA format was used by the Raspberry Pi VC4
pipeline handler and the downstream Unicam kernel driver. Now that they
have both moved to an upstream API, drop the format definition from the
kernel header. This brings videodev2.h closer to the mainline kernel.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 include/linux/videodev2.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 33e0ea95e0fa..4d968f5acb9e 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -809,7 +809,6 @@ struct v4l2_pix_format {
 #define V4L2_META_FMT_UVC         v4l2_fourcc('U', 'V', 'C', 'H') /* UVC Payload Header metadata */
 #define V4L2_META_FMT_D4XX        v4l2_fourcc('D', '4', 'X', 'X') /* D4XX Payload Header metadata */
 #define V4L2_META_FMT_VIVID	  v4l2_fourcc('V', 'I', 'V', 'D') /* Vivid Metadata */
-#define V4L2_META_FMT_SENSOR_DATA v4l2_fourcc('S', 'E', 'N', 'S') /* Sensor Ancillary metadata */
 #define V4L2_META_FMT_BCM2835_ISP_STATS v4l2_fourcc('B', 'S', 'T', 'A') /* BCM2835 ISP image statistics output */
 
 /* Vendor specific - used for RK_ISP1 camera sub-system */
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list