diff options
Diffstat (limited to 'include/linux')
-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! */ |