summaryrefslogtreecommitdiff
path: root/include/linux/media.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-10-23 09:01:18 +0200
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2025-01-08 14:28:35 +0100
commit052a9ff245fe1192cf007c9246a215c897535e78 (patch)
tree64cd4b378380b4aa6a32bcebd8d7fe7b91990317 /include/linux/media.h
parent18c9ff46ef79d474d7c620cc915ae3b3d52ec21d (diff)
include: linux: Update headers for line-based embedded data support
Update the kernel headers with the definition of two device-specific line-based metadata formats, and with the definition of the MEDIA_PAD_FL_INTERNAL and V4L2_SUBDEV_ROUTE_FL_IMMUTABLE flags. The new definitions will allow to support handling line-based metadata streams exposed by the sensor driver through an internal sink pad. While the changes have not yet been collected in the official linux-media tree, they're available in the 'metadata' branch of https://git.linuxtv.org/sailus/media_tree.git, at revision: f9bbbd9a696d ("media: Documentation: Add binning and sub-sampling controls") Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/media.h')
-rw-r--r--include/linux/media.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/media.h b/include/linux/media.h
index b5a77bbf..4a733b9b 100644
--- a/include/linux/media.h
+++ b/include/linux/media.h
@@ -206,6 +206,7 @@ struct media_entity_desc {
#define MEDIA_PAD_FL_SINK (1U << 0)
#define MEDIA_PAD_FL_SOURCE (1U << 1)
#define MEDIA_PAD_FL_MUST_CONNECT (1U << 2)
+#define MEDIA_PAD_FL_INTERNAL (1U << 3)
struct media_pad_desc {
__u32 entity; /* entity ID */