Lines Matching +full:cm +full:- +full:name

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters
59 .. tabularcolumns:: |p{3.7cm}|p{3.5cm}|p{10.1cm}|
63 .. flat-table:: struct v4l2_streamparm
64 :header-rows: 0
65 :stub-columns: 0
68 * - __u32
69 - ``type``
70 - The buffer (stream) type, same as struct
73 * - union {
74 - ``parm``
75 * - struct :c:type:`v4l2_captureparm`
76 - ``capture``
77 - Parameters for capture devices, used when ``type`` is
80 * - struct :c:type:`v4l2_outputparm`
81 - ``output``
82 - Parameters for output devices, used when ``type`` is
84 * - __u8
85 - ``raw_data``\ [200]
86 - A place holder for future extensions.
87 * - }
90 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
94 .. flat-table:: struct v4l2_captureparm
95 :header-rows: 0
96 :stub-columns: 0
99 * - __u32
100 - ``capability``
101 - See :ref:`parm-caps`.
102 * - __u32
103 - ``capturemode``
104 - Set by drivers and applications, see :ref:`parm-flags`.
105 * - struct :c:type:`v4l2_fract`
106 - ``timeperframe``
107 - This is the desired period between successive frames captured by
109 * - :cspan:`2`
129 * - __u32
130 - ``extendedmode``
131 - Custom (driver specific) streaming parameters. When unused,
133 using this field should check the driver name and version, see
135 * - __u32
136 - ``readbuffers``
137 - Applications set this field to the desired number of buffers used
143 * - __u32
144 - ``reserved``\ [4]
145 - Reserved for future extensions. Drivers and applications must set
149 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}|
153 .. flat-table:: struct v4l2_outputparm
154 :header-rows: 0
155 :stub-columns: 0
158 * - __u32
159 - ``capability``
160 - See :ref:`parm-caps`.
161 * - __u32
162 - ``outputmode``
163 - Set by drivers and applications, see :ref:`parm-flags`.
164 * - struct :c:type:`v4l2_fract`
165 - ``timeperframe``
166 - This is the desired period between successive frames output by the
168 * - :cspan:`2`
189 * - __u32
190 - ``extendedmode``
191 - Custom (driver specific) streaming parameters. When unused,
193 using this field should check the driver name and version, see
195 * - __u32
196 - ``writebuffers``
197 - Applications set this field to the desired number of buffers used
203 * - __u32
204 - ``reserved``\ [4]
205 - Reserved for future extensions. Drivers and applications must set
209 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
211 .. _parm-caps:
213 .. flat-table:: Streaming Parameters Capabilities
214 :header-rows: 0
215 :stub-columns: 0
218 * - ``V4L2_CAP_TIMEPERFRAME``
219 - 0x1000
220 - The frame period can be modified by setting the ``timeperframe``
224 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
226 .. _parm-flags:
228 .. flat-table:: Capture Parameters Flags
229 :header-rows: 0
230 :stub-columns: 0
233 * - ``V4L2_MODE_HIGHQUALITY``
234 - 0x0001
235 - High quality imaging mode. High quality mode is intended for still
243 - The driver may be able to capture higher resolutions than for
246 - The driver may support fewer pixel formats than motion capture
249 - The driver may capture and arithmetically combine multiple
253 - The driver may capture images in slices like a scanner in order
257 - An image capture operation may be significantly slower than
260 - Moving objects in the image might have excessive motion blur.
262 - Capture might only work through the :c:func:`read()` call.
267 On success 0 is returned, on error -1 and the ``errno`` variable is set
269 :ref:`Generic Error Codes <gen-errors>` chapter.