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)``
146 .. _v4l2-cid-hflip:
151 .. _v4l2-cid-vflip:
156 .. _v4l2-power-line-frequency:
174 ``V4L2_CID_WHITE_BALANCE_TEMPERATURE`` ``(integer)``
181 ``V4L2_CID_SHARPNESS`` ``(integer)``
185 ``V4L2_CID_BACKLIGHT_COMPENSATION`` ``(integer)``
192 ``V4L2_CID_CHROMA_GAIN`` ``(integer)``
200 .. _v4l2-colorfx:
209 .. flat-table::
210 :header-rows: 0
211 :stub-columns: 0
214 * - ``V4L2_COLORFX_NONE``
215 - Color effect is disabled.
216 * - ``V4L2_COLORFX_ANTIQUE``
217 - An aging (old photo) effect.
218 * - ``V4L2_COLORFX_ART_FREEZE``
219 - Frost color effect.
220 * - ``V4L2_COLORFX_AQUA``
221 - Water color, cool tone.
222 * - ``V4L2_COLORFX_BW``
223 - Black and white.
224 * - ``V4L2_COLORFX_EMBOSS``
225 - Emboss, the highlights and shadows replace light/dark boundaries
227 * - ``V4L2_COLORFX_GRASS_GREEN``
228 - Grass green.
229 * - ``V4L2_COLORFX_NEGATIVE``
230 - Negative.
231 * - ``V4L2_COLORFX_SEPIA``
232 - Sepia tone.
233 * - ``V4L2_COLORFX_SKETCH``
234 - Sketch.
235 * - ``V4L2_COLORFX_SKIN_WHITEN``
236 - Skin whiten.
237 * - ``V4L2_COLORFX_SKY_BLUE``
238 - Sky blue.
239 * - ``V4L2_COLORFX_SOLARIZATION``
240 - Solarization, the image is partially reversed in tone, only color
242 * - ``V4L2_COLORFX_SILHOUETTE``
243 - Silhouette (outline).
244 * - ``V4L2_COLORFX_VIVID``
245 - Vivid colors.
246 * - ``V4L2_COLORFX_SET_CBCR``
247 - The Cb and Cr chroma components are replaced by fixed coefficients
249 * - ``V4L2_COLORFX_SET_RGB``
250 - The RGB components are replaced by the fixed RGB components determined
254 ``V4L2_CID_COLORFX_RGB`` ``(integer)``
261 ``V4L2_CID_COLORFX_CBCR`` ``(integer)``
270 ``V4L2_CID_ROTATE`` ``(integer)``
278 ``V4L2_CID_BG_COLOR`` ``(integer)``
281 value is interpreted as bits 0-7 Red color information, bits 8-15
282 Green color information, bits 16-23 Blue color information and bits
283 24-31 must be zero.
289 ``V4L2_CID_MIN_BUFFERS_FOR_CAPTURE`` ``(integer)``
290 This is a read-only control that can be read by the application and
296 ``V4L2_CID_MIN_BUFFERS_FOR_OUTPUT`` ``(integer)``
297 This is a read-only control that can be read by the application and
303 .. _v4l2-alpha-component:
305 ``V4L2_CID_ALPHA_COMPONENT`` ``(integer)``
307 queue of a mem-to-mem device) produces a frame format that includes
309 :ref:`packed RGB image formats <pixfmt-rgb>`) and the alpha value
310 is not defined by the device or the mem-to-mem input data this
312 When an output device (or output queue of a mem-to-mem device)
342 .. code-block:: c
349 printf(" Menu items:\\n");
358 printf(" %s\\n", querymenu.name);
368 printf("Control %s\\n", queryctrl.name);
384 .. code-block:: c
393 printf("Control %s\\n", query_ext_ctrl.name);
409 .. code-block:: c
421 printf("Control %s\\n", queryctrl.name);
440 printf("Control %s\\n", queryctrl.name);
457 .. code-block:: c
465 if (-1 == ioctl(fd, VIDIOC_QUERYCTRL, &queryctrl)) {
470 printf("V4L2_CID_BRIGHTNESS is not supported\n");
473 printf("V4L2_CID_BRIGHTNESS is not supported\n");
479 if (-1 == ioctl(fd, VIDIOC_S_CTRL, &control)) {
493 if (-1 == ioctl(fd, VIDIOC_S_CTRL, &control)