videodev2.h: add p_s32 and p_s64 pointers
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 29 Sep 2022 09:11:22 +0000 (11:11 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 24 Oct 2022 17:03:53 +0000 (19:03 +0200)
commite77eb66342c73946f7ed9ea68a6329f13b4343eb
treeb6adba378620a520cc4543fb8288da2d07d53ddf
parentf30ce3d3760b22ee33c8d9c2e223764ad30bdc5f
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>
include/uapi/linux/videodev2.h