--- zzzz-none-000/linux-3.10.107/Documentation/DocBook/media/v4l/vidioc-cropcap.xml 2017-06-27 09:49:32.000000000 +0000
+++ scorpion-7490-727/linux-3.10.107/Documentation/DocBook/media/v4l/vidioc-cropcap.xml 2021-02-04 17:41:59.000000000 +0000
@@ -59,6 +59,11 @@
switch can occur implicit when switching the video input or
output.
+Do not use the multiplanar buffer types. Use V4L2_BUF_TYPE_VIDEO_CAPTURE
+instead of V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
+and use V4L2_BUF_TYPE_VIDEO_OUTPUT instead of
+V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE.
+
This ioctl must be implemented for video capture or output devices that
support cropping and/or scaling and/or have non-square pixels, and for overlay devices.
@@ -73,9 +78,7 @@
Type of the data stream, set by the application.
Only these types are valid here:
V4L2_BUF_TYPE_VIDEO_CAPTURE,
-V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
-V4L2_BUF_TYPE_VIDEO_OUTPUT,
-V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE and
+V4L2_BUF_TYPE_VIDEO_OUTPUT and
V4L2_BUF_TYPE_VIDEO_OVERLAY. See .
@@ -133,18 +136,14 @@
rectangle, in pixels.
- __s32
+ __u32
width
Width of the rectangle, in pixels.
- __s32
+ __u32
height
- Height of the rectangle, in pixels. Width
-and height cannot be negative, the fields are signed for
-hysterical reasons.
-
+ Height of the rectangle, in pixels.