Lines Matching full:if
60 If the ``size`` is too small to receive the control result (only
64 string type it is possible that the same issue occurs again if the
78 the :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. The controls will only be set if *all*
81 To check if a set of controls have correct values applications
86 values are automatically adjusted to a valid value or if an error is
93 :c:type:`v4l2_ext_control`. If the new control value
97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>`
102 If the device does not support requests, then ``EACCES`` will be returned.
103 If requests are supported but an invalid request file descriptor is given,
109 If ``request_fd`` is specified and ``which`` is set to
113 If the request is not yet completed, then this will result in an
116 The driver will only set/get these controls if all control values are
140 the payload. If :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` finds that this value is
159 - New value or current value. Valid if this control is not of type
164 - New value or current value. Valid if this control is of type
169 - A pointer to a string. Valid if this control is of type
173 - A pointer to a matrix control of unsigned 8-bit values. Valid if
177 - A pointer to a matrix control of unsigned 16-bit values. Valid if
181 - A pointer to a matrix control of unsigned 32-bit values. Valid if
185 - A pointer to a struct :c:type:`v4l2_area`. Valid if this control is
189 - A pointer to a struct :c:type:`v4l2_ctrl_hdr10_cll_info`. Valid if this control is
193 - A pointer to a struct :c:type:`v4l2_ctrl_hdr10_mastering_display`. Valid if this control is
199 ``V4L2_CTRL_COMPOUND_TYPES``). Valid if
224 calling :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` with a ``count`` of 0. If that
234 file descriptor of the request that should be used. If the device
249 VIDIOC_TRY_EXT_CTRLS with a count of 0. If that fails, then the
258 - Set by the driver in case of an error. If the error is associated
260 of that control. If the error is not related to a specific
262 ``error_idx`` is set to ``count``. The value is undefined if the
266 step takes place: this checks if all controls in the list are
267 valid controls, if no attempt is made to write to a read-only
283 ``error_idx`` to ``count`` if the validation failed. This has the
285 control failed the validation. If the validation was successful
294 validation step instead of to ``count``. This means that if
302 valid if ``which`` is set to ``V4L2_CTRL_WHICH_REQUEST_VAL``.
303 If the device does not support requests, then ``EACCES`` will be returned.
304 If requests are supported but an invalid request file descriptor is
315 Ignored if ``count`` equals zero.
391 …T_CTRLS <VIDIOC_G_EXT_CTRLS>` and :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctls if two or
401 belongs to, or (if the ``which`` field was set to