Lines Matching +full:integer +full:- +full:n
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 Devices typically have a number of user-settable controls such as
21 pre-defined control IDs have the prefix ``V4L2_CID_``, and are listed in
22 :ref:`control-id`. The ID is used when querying the attributes of a
27 the user is supposed to understand. When the purpose is non-intuitive
28 the driver writer should provide a user manual, a user interface plug-in
57 .. _control-id:
68 ``V4L2_CID_BRIGHTNESS`` ``(integer)``
71 ``V4L2_CID_CONTRAST`` ``(integer)``
74 ``V4L2_CID_SATURATION`` ``(integer)``
77 ``V4L2_CID_HUE`` ``(integer)``
80 ``V4L2_CID_AUDIO_VOLUME`` ``(integer)``
84 ``V4L2_CID_AUDIO_BALANCE`` ``(integer)``
88 ``V4L2_CID_AUDIO_BASS`` ``(integer)``
91 ``V4L2_CID_AUDIO_TREBLE`` ``(integer)``
103 ``V4L2_CID_BLACK_LEVEL`` ``(integer)``
117 ``V4L2_CID_RED_BALANCE`` ``(integer)``
120 ``V4L2_CID_BLUE_BALANCE`` ``(integer)``
123 ``V4L2_CID_GAMMA`` ``(integer)``
126 ``V4L2_CID_WHITENESS`` ``(integer)``
127 Whiteness for grey-scale devices. This is a synonym for
131 ``V4L2_CID_EXPOSURE`` ``(integer)``
137 ``V4L2_CID_GAIN`` ``(integer)``
152 .. _v4l2-power-line-frequency:
167 ``V4L2_CID_WHITE_BALANCE_TEMPERATURE`` ``(integer)``
174 ``V4L2_CID_SHARPNESS`` ``(integer)``
178 ``V4L2_CID_BACKLIGHT_COMPENSATION`` ``(integer)``
185 ``V4L2_CID_CHROMA_GAIN`` ``(integer)``
193 .. _v4l2-colorfx:
202 .. flat-table::
203 :header-rows: 0
204 :stub-columns: 0
207 * - ``V4L2_COLORFX_NONE``
208 - Color effect is disabled.
209 * - ``V4L2_COLORFX_ANTIQUE``
210 - An aging (old photo) effect.
211 * - ``V4L2_COLORFX_ART_FREEZE``
212 - Frost color effect.
213 * - ``V4L2_COLORFX_AQUA``
214 - Water color, cool tone.
215 * - ``V4L2_COLORFX_BW``
216 - Black and white.
217 * - ``V4L2_COLORFX_EMBOSS``
218 - Emboss, the highlights and shadows replace light/dark boundaries
220 * - ``V4L2_COLORFX_GRASS_GREEN``
221 - Grass green.
222 * - ``V4L2_COLORFX_NEGATIVE``
223 - Negative.
224 * - ``V4L2_COLORFX_SEPIA``
225 - Sepia tone.
226 * - ``V4L2_COLORFX_SKETCH``
227 - Sketch.
228 * - ``V4L2_COLORFX_SKIN_WHITEN``
229 - Skin whiten.
230 * - ``V4L2_COLORFX_SKY_BLUE``
231 - Sky blue.
232 * - ``V4L2_COLORFX_SOLARIZATION``
233 - Solarization, the image is partially reversed in tone, only color
235 * - ``V4L2_COLORFX_SILHOUETTE``
236 - Silhouette (outline).
237 * - ``V4L2_COLORFX_VIVID``
238 - Vivid colors.
239 * - ``V4L2_COLORFX_SET_CBCR``
240 - The Cb and Cr chroma components are replaced by fixed coefficients
245 ``V4L2_CID_COLORFX_CBCR`` ``(integer)``
254 ``V4L2_CID_ROTATE`` ``(integer)``
262 ``V4L2_CID_BG_COLOR`` ``(integer)``
265 value is interpreted as bits 0-7 Red color information, bits 8-15
266 Green color information, bits 16-23 Blue color information and bits
267 24-31 must be zero.
273 ``V4L2_CID_MIN_BUFFERS_FOR_CAPTURE`` ``(integer)``
274 This is a read-only control that can be read by the application and
279 ``V4L2_CID_MIN_BUFFERS_FOR_OUTPUT`` ``(integer)``
280 This is a read-only control that can be read by the application and
285 .. _v4l2-alpha-component:
287 ``V4L2_CID_ALPHA_COMPONENT`` ``(integer)``
289 queue of a mem-to-mem device) produces a frame format that includes
291 :ref:`packed RGB image formats <pixfmt-rgb>`) and the alpha value
292 is not defined by the device or the mem-to-mem input data this
294 When an output device (or output queue of a mem-to-mem device)
324 .. code-block:: c
331 printf(" Menu items:\\n");
340 printf(" %s\\n", querymenu.name);
350 printf("Control %s\\n", queryctrl.name);
366 .. code-block:: c
375 printf("Control %s\\n", query_ext_ctrl.name);
391 .. code-block:: c
403 printf("Control %s\\n", queryctrl.name);
422 printf("Control %s\\n", queryctrl.name);
439 .. code-block:: c
447 if (-1 == ioctl(fd, VIDIOC_QUERYCTRL, &queryctrl)) {
461 if (-1 == ioctl(fd, VIDIOC_S_CTRL, &control)) {
475 if (-1 == ioctl(fd, VIDIOC_S_CTRL, &control)