Lines Matching full:control

19 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
49 To query the attributes of a control applications set the ``id`` field
57 exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in
64 in the ``flags`` field this control is permanently disabled and should
68 driver returns the next supported non-compound control, or ``EINVAL`` if
71 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
79 control information that cannot be returned in struct
103 See also the examples in :ref:`control`.
119 - Identifies the control, set by the application. See
120 :ref:`control-id` for predefined IDs. When the ID is ORed with
122 returns the first control with a higher ID. Drivers which do not
126 - Type of control, see :c:type:`v4l2_ctrl_type`.
129 - Name of the control, a NUL-terminated ASCII string. This
134 control. See enum :c:type:`v4l2_ctrl_type` how
135 the minimum value is to be used for each possible control type.
140 control. See enum :c:type:`v4l2_ctrl_type` how
141 the maximum value is to be used for each possible control type.
145 - This field gives a step size for the control. See enum
147 to be used for each possible control type. Note that this an
150 Generally drivers should not scale hardware control values. It may
157 This field gives the smallest change of an integer control
168 ``_BITMASK``, ``_MENU`` or ``_INTEGER_MENU`` control. Not valid
177 - Control flags, see :ref:`control-flags`.
198 - Identifies the control, set by the application. See
199 :ref:`control-id` for predefined IDs. When the ID is ORed with
201 returns the first non-compound control with a higher ID. When the
203 the flag and returns the first compound control with a higher ID.
204 Set both to get the first control (compound or not) with a higher
208 - Type of control, see :c:type:`v4l2_ctrl_type`.
211 - Name of the control, a NUL-terminated ASCII string. This
216 control. See enum :c:type:`v4l2_ctrl_type` how
217 the minimum value is to be used for each possible control type.
222 control. See enum :c:type:`v4l2_ctrl_type` how
223 the maximum value is to be used for each possible control type.
227 - This field gives a step size for the control. See enum
229 to be used for each possible control type. Note that this an
232 Generally drivers should not scale hardware control values. It may
239 This field gives the smallest change of an integer control
248 or ``_U16`` control. Not valid for other types of controls.
256 - Control flags, see :ref:`control-flags`.
263 ``elem_size`` is always valid, also when the control isn't an
268 - The number of elements in the N-dimensional array. If this control
274 control is not an array, then this field is 0.
298 - Identifies the control, set by the application from the respective
347 - An integer-valued control ranging from minimum to maximum
353 - A boolean-valued control. Zero corresponds to "disabled", and one
359 - The control has a menu of N choices. The names of the menu items
365 - The control has a menu of N choices. The values of the menu items
380 - A control which performs an action when set. Drivers must ignore
387 - A 64-bit integer valued control. Minimum, maximum and step size
405 used will depend on the string control itself and should be part
406 of the control documentation.
411 - This is not a control. When ``VIDIOC_QUERYCTRL`` is called with a
412 control ID equal to a control class code (see :ref:`ctrl-class`)
413 + 1, the ioctl returns the name of the control class and this
414 control type. Older drivers which do not support this feature
420 - An unsigned 8-bit valued control ranging from minimum to maximum
426 - An unsigned 16-bit valued control ranging from minimum to maximum
432 - An unsigned 32-bit valued control ranging from minimum to maximum
483 .. flat-table:: Control Flags
490 - This control is permanently disabled and should be ignored by the
491 application. Any attempt to change the control will result in an
495 - This control is temporarily unchangeable, for example because
496 another application took over control of the respective resource.
498 Attempts to change the control may result in an ``EBUSY`` error code.
501 - This control is permanently readable only. Any attempt to change
502 the control will result in an ``EINVAL`` error code.
505 - A hint that changing this control may affect the value of other
506 controls within the same control class. Applications should update
510 - This control is not applicable to the current configuration and
512 the flag may be set on a MPEG audio level 2 bitrate control when
513 MPEG audio encoding level 1 was selected with another control.
516 - A hint that this control is best represented as a slider-like
520 - This control is permanently writable only. Any attempt to read the
521 control will result in an ``EACCES`` error code error code. This flag
524 action (e. g. motor control) but no meaningful value can be
528 - This control is volatile, which means that the value of the
529 control changes continuously. A typical example would be the
536 Setting a new value for a volatile control will be ignored
540 Setting a new value for a volatile control will *never* trigger a
544 - This control has a pointer type, so its value has to be accessed
549 payload of the control.
554 - The value provided to the control will be propagated to the driver
555 even if it remains constant. This is required when the control
563 - Changing this control value may modify the layout of the
566 A typical example would be the ``V4L2_CID_ROTATE`` control.
589 An attempt was made to read a write-only control.
596 control arrays and indices (``EINVAL`` cannot be used to skip private