mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
videodev2.h: add p_s32 and p_s64 pointers
Added p_s32 and p_s64 pointers to the union in struct v4l2_ext_control to simplify INTEGER and INTEGER64 control array support. Internally the control framework handles such arrays just fine, but userspace is missing corresponding pointers to access array elements of these types. The internal union v4l2_ctrl_ptr which the control framework uses already has these types, they just were never added to the public API. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
f30ce3d376
commit
e77eb66342
1 changed files with 2 additions and 0 deletions
|
@ -1779,6 +1779,8 @@ struct v4l2_ext_control {
|
|||
__u8 __user *p_u8;
|
||||
__u16 __user *p_u16;
|
||||
__u32 __user *p_u32;
|
||||
__u32 __user *p_s32;
|
||||
__u32 __user *p_s64;
|
||||
struct v4l2_area __user *p_area;
|
||||
struct v4l2_ctrl_h264_sps __user *p_h264_sps;
|
||||
struct v4l2_ctrl_h264_pps *p_h264_pps;
|
||||
|
|
Loading…
Reference in a new issue