Lines Matching +full:ref +full:- +full:pad

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_SELECTION - VIDIOC_SUBDEV_S_SELECTION - Get or set selection rectangles on a subdev…
43 :ref:`the old subdev crop API <VIDIOC_SUBDEV_G_CROP>`. All the
46 See :ref:`subdev` for more information on how each selection target
49 If the subdev device node has been registered in read-only mode, calls to
52 variable is set to ``-EPERM``.
55 --------------------------
62 ------------------------------
69 :ref:`v4l2-selections-common`.
75 .. flat-table:: struct v4l2_subdev_selection
76 :header-rows: 0
77 :stub-columns: 0
80 * - __u32
81 - ``which``
82 - Active or try selection, from enum
83 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
84 * - __u32
85 - ``pad``
86 - Pad number as reported by the media framework.
87 * - __u32
88 - ``target``
89 - Target selection rectangle. See :ref:`v4l2-selections-common`.
90 * - __u32
91 - ``flags``
92 - Flags. See :ref:`v4l2-selection-flags`.
93 * - struct :c:type:`v4l2_rect`
94 - ``r``
95 - Selection rectangle, in pixels.
96 * - __u32
97 - ``stream``
98 - Stream identifier.
99 * - __u32
100 - ``reserved``\ [7]
101 - Reserved for future extensions. Applications and drivers must set
107 On success 0 is returned, on error -1 and the ``errno`` variable is set
109 :ref:`Generic Error Codes <gen-errors>` chapter.
112 The selection rectangle can't be changed because the pad is
114 stream on the pad. The ioctl must not be retried without performing
119 The struct :c:type:`v4l2_subdev_selection` ``pad`` references a
120 non-existing pad, the ``which`` field has an unsupported value, or the
121 selection target is not supported on the given subdev pad.
124 The ``VIDIOC_SUBDEV_S_SELECTION`` ioctl has been called on a read-only