diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2024-07-31 15:39:33 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2024-07-31 15:39:33 +0200 |
commit | 4565f34764585254b24eb7eb03d717a9000c7a03 (patch) | |
tree | 41f0b904d43da12ebc0643581061ea41b08bfc6c | |
parent | 03c0197f812a5a52a3e3c4b117ffeb94e8416efc (diff) |
videodev2: Add BIND_CONTEXT
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
-rw-r--r-- | include/linux/videodev2.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 7fe522e8..733509e5 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -996,6 +996,14 @@ struct v4l2_jpegcompression { }; /* + * V I D E O D E V I C E C O N T E X T + */ + +struct v4l2_context { + __u64 context_fd; +}; + +/* * M E M O R Y - M A P P I N G B U F F E R S */ @@ -2717,6 +2725,8 @@ struct v4l2_remove_buffers { #define VIDIOC_QUERY_EXT_CTRL _IOWR('V', 103, struct v4l2_query_ext_ctrl) #define VIDIOC_REMOVE_BUFS _IOWR('V', 104, struct v4l2_remove_buffers) +/* Context handling */ +#define VIDIOC_BIND_CONTEXT _IOW('V', 104, struct v4l2_context) /* Reminder: when adding new ioctls please add support for them to drivers/media/v4l2-core/v4l2-compat-ioctl32.c as well! */ |