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
333 - An integer-valued control ranging from minimum to maximum
339 - A boolean-valued control. Zero corresponds to "disabled", and one
345 - The control has a menu of N choices. The names of the menu items
351 - The control has a menu of N choices. The values of the menu items
366 - A control which performs an action when set. Drivers must ignore
373 - A 64-bit integer valued control. Minimum, maximum and step size
391 used will depend on the string control itself and should be part
392 of the control documentation.
397 - This is not a control. When ``VIDIOC_QUERYCTRL`` is called with a
398 control ID equal to a control class code (see :ref:`ctrl-class`)
399 + 1, the ioctl returns the name of the control class and this
400 control type. Older drivers which do not support this feature
406 - An unsigned 8-bit valued control ranging from minimum to maximum
412 - An unsigned 16-bit valued control ranging from minimum to maximum
418 - An unsigned 32-bit valued control ranging from minimum to maximum
563 .. flat-table:: Control Flags
570 - This control is permanently disabled and should be ignored by the
571 application. Any attempt to change the control will result in an
575 - This control is temporarily unchangeable, for example because
576 another application took over control of the respective resource.
578 Attempts to change the control may result in an ``EBUSY`` error code.
581 - This control is permanently readable only. Any attempt to change
582 the control will result in an ``EINVAL`` error code.
585 - A hint that changing this control may affect the value of other
586 controls within the same control class. Applications should update
590 - This control is not applicable to the current configuration and
592 the flag may be set on a MPEG audio level 2 bitrate control when
593 MPEG audio encoding level 1 was selected with another control.
596 - A hint that this control is best represented as a slider-like
600 - This control is permanently writable only. Any attempt to read the
601 control will result in an ``EACCES`` error code error code. This flag
604 action (e. g. motor control) but no meaningful value can be
608 - This control is volatile, which means that the value of the
609 control changes continuously. A typical example would be the
616 Setting a new value for a volatile control will be ignored
620 Setting a new value for a volatile control will *never* trigger a
624 - This control has a pointer type, so its value has to be accessed
629 payload of the control.
634 - The value provided to the control will be propagated to the driver
635 even if it remains constant. This is required when the control
643 - Changing this control value may modify the layout of the
646 A typical example would be the ``V4L2_CID_ROTATE`` control.
654 - This control is a dynamically sized 1-dimensional array. It
657 ``dims[0]``. So setting the control with a differently sized
658 array will change the ``elems`` field when the control is
676 An attempt was made to read a write-only control.
683 control arrays and indices (``EINVAL`` cannot be used to skip private