History

media: v4l2_ctrl: Add V4L2_CTRL_TYPE_RECT

Add p_rect to struct v4l2_ext_control with basic support in v4l2-ctrls.

Yunke Cao committed 1 year ago

Commit 3b9d7341 parent f4b21176 files · +31 −1Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+2−0
@@ -1859,6 +1859,7 @@ struct v4l2_ext_control { · 1858 unmodified lines
18591859 __s32 __user *p_s32;
18601860 __s64 __user *p_s64;
18611861 struct v4l2_area __user *p_area;
1862+ struct v4l2_rect __user *p_rect;
18621863 struct v4l2_ctrl_h264_sps __user *p_h264_sps;
18631864 struct v4l2_ctrl_h264_pps __user *p_h264_pps;
18641865 struct v4l2_ctrl_h264_scaling_matrix __user *p_h264_scaling_matrix;
@@ -1929,6 +1930,7 @@ enum v4l2_ctrl_type { · 64 unmodified lines
19291930 V4L2_CTRL_TYPE_U16 = 0x0101,
19301931 V4L2_CTRL_TYPE_U32 = 0x0102,
19311932 V4L2_CTRL_TYPE_AREA = 0x0106,
1933+ V4L2_CTRL_TYPE_RECT = 0x0107,
19321934
19331935 V4L2_CTRL_TYPE_HDR10_CLL_INFO = 0x0110,
19341936 V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY = 0x0111,