Lines Matching full:control
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
41 To query the attributes of a control applications set the ``id`` field
49 exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in
56 in the ``flags`` field this control is permanently disabled and should
60 driver returns the next supported non-compound control, or ``EINVAL`` if
63 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
71 control information that cannot be returned in struct
95 See also the examples in :ref:`control`.
110 - Identifies the control, set by the application. See
111 :ref:`control-id` for predefined IDs. When the ID is ORed with
113 returns the first control with a higher ID. Drivers which do not
117 - Type of control, see :c:type:`v4l2_ctrl_type`.
120 - Name of the control, a NUL-terminated ASCII string. This
125 control. See enum :c:type:`v4l2_ctrl_type` how
126 the minimum value is to be used for each possible control type.
131 control. See enum :c:type:`v4l2_ctrl_type` how
132 the maximum value is to be used for each possible control type.
136 - This field gives a step size for the control. See enum
138 to be used for each possible control type. Note that this an
141 Generally drivers should not scale hardware control values. It may
148 This field gives the smallest change of an integer control
159 ``_BITMASK``, ``_MENU`` or ``_INTEGER_MENU`` control. Not valid
168 - Control flags, see :ref:`control-flags`.
188 - Identifies the control, set by the application. See
189 :ref:`control-id` for predefined IDs. When the ID is ORed with
191 returns the first non-compound control with a higher ID. When the
193 the flag and returns the first compound control with a higher ID.
194 Set both to get the first control (compound or not) with a higher
198 - Type of control, see :c:type:`v4l2_ctrl_type`.
201 - Name of the control, a NUL-terminated ASCII string. This
206 control. See enum :c:type:`v4l2_ctrl_type` how
207 the minimum value is to be used for each possible control type.
212 control. See enum :c:type:`v4l2_ctrl_type` how
213 the maximum value is to be used for each possible control type.
217 - This field gives a step size for the control. See enum
219 to be used for each possible control type. Note that this an
222 Generally drivers should not scale hardware control values. It may
229 This field gives the smallest change of an integer control
238 or ``_U16`` control. Not valid for other types of controls.
246 - Control flags, see :ref:`control-flags`.
253 ``elem_size`` is always valid, also when the control isn't an
258 - The number of elements in the N-dimensional array. If this control
264 control is not an array, then this field is 0.
286 - Identifies the control, set by the application from the respective
330 - An integer-valued control ranging from minimum to maximum
336 - A boolean-valued control. Zero corresponds to "disabled", and one
342 - The control has a menu of N choices. The names of the menu items
348 - The control has a menu of N choices. The values of the menu items
363 - A control which performs an action when set. Drivers must ignore
370 - A 64-bit integer valued control. Minimum, maximum and step size
388 used will depend on the string control itself and should be part
389 of the control documentation.
394 - This is not a control. When ``VIDIOC_QUERYCTRL`` is called with a
395 control ID equal to a control class code (see :ref:`ctrl-class`)
396 + 1, the ioctl returns the name of the control class and this
397 control type. Older drivers which do not support this feature
403 - An unsigned 8-bit valued control ranging from minimum to maximum
409 - An unsigned 16-bit valued control ranging from minimum to maximum
415 - An unsigned 32-bit valued control ranging from minimum to maximum
490 .. flat-table:: Control Flags
497 - This control is permanently disabled and should be ignored by the
498 application. Any attempt to change the control will result in an
502 - This control is temporarily unchangeable, for example because
503 another application took over control of the respective resource.
505 Attempts to change the control may result in an ``EBUSY`` error code.
508 - This control is permanently readable only. Any attempt to change
509 the control will result in an ``EINVAL`` error code.
512 - A hint that changing this control may affect the value of other
513 controls within the same control class. Applications should update
517 - This control is not applicable to the current configuration and
519 the flag may be set on a MPEG audio level 2 bitrate control when
520 MPEG audio encoding level 1 was selected with another control.
523 - A hint that this control is best represented as a slider-like
527 - This control is permanently writable only. Any attempt to read the
528 control will result in an ``EACCES`` error code error code. This flag
531 action (e. g. motor control) but no meaningful value can be
535 - This control is volatile, which means that the value of the
536 control changes continuously. A typical example would be the
543 Setting a new value for a volatile control will be ignored
547 Setting a new value for a volatile control will *never* trigger a
551 - This control has a pointer type, so its value has to be accessed
556 payload of the control.
561 - The value provided to the control will be propagated to the driver
562 even if it remains constant. This is required when the control
570 - Changing this control value may modify the layout of the
573 A typical example would be the ``V4L2_CID_ROTATE`` control.
595 An attempt was made to read a write-only control.
602 control arrays and indices (``EINVAL`` cannot be used to skip private