Lines Matching +full:pre +full:- +full:processing
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:
127 Whiteness for grey-scale devices. This is a synonym for
152 .. _v4l2-power-line-frequency:
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
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.
274 This is a read-only control that can be read by the application and
280 This is a read-only control that can be read by the application and
285 .. _v4l2-alpha-component:
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)
296 the device supports alpha channel processing this control lets you
297 set the alpha component value of all pixels for further processing
324 .. code-block:: c
366 .. code-block:: c
391 .. code-block:: c
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)