Lines Matching +full:stream +full:- +full:id +full:- +full:range
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _extended-controls:
22 relating to how the video is encoded into an MPEG stream are specific to
24 of the resulting MPEG stream, not how the video is actually encoded into
71 it also allows for 64-bit values and pointers to be passed.
75 such as N-dimensional arrays and/or structures. You need to specify the
83 particular, this ioctl gives the dimensions of the N-dimensional array if
90 supported in the driver and what the valid range of values is. So use
97 support a wider range.
110 .. code-block:: c
114 qctrl.id = V4L2_CTRL_FLAG_NEXT_CTRL;
117 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL;
120 The initial control ID is set to 0 ORed with the
122 return the first control with a higher ID than the specified one. When
126 you can set the initial ``qctrl.id`` value to the control class and add
131 .. code-block:: c
133 qctrl.id = V4L2_CTRL_CLASS_CODEC | V4L2_CTRL_FLAG_NEXT_CTRL;
135 if (V4L2_CTRL_ID2CLASS(qctrl.id) != V4L2_CTRL_CLASS_CODEC)
138 qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL;
141 The 32-bit ``qctrl.id`` value is subdivided into three bit ranges: the
143 and are not actually part of the ID. The remaining 28 bits form the
144 control ID, of which the most significant 12 bits define the control
147 non-zero for controls. The range of 0x1000 and up are reserved for
148 driver-specific controls. The macro ``V4L2_CTRL_ID2CLASS(id)`` returns
149 the control class ID based on a control ID.
156 including driver-private controls.
170 The flags field of struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` also