xref: /linux/Documentation/userspace-api/media/v4l/metafmt-vivid.rst (revision 778b8ebe5192e7a7f00563a7456517dfa63e1d90)
1.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
2.. c:namespace:: V4L
3
4.. _v4l2-meta-fmt-vivid:
5
6*******************************
7V4L2_META_FMT_VIVID ('VIVD')
8*******************************
9
10VIVID Metadata Format
11
12
13Description
14===========
15
16This describes metadata format used by the vivid driver.
17
18It sets Brightness, Saturation, Contrast and Hue, each of which maps to
19corresponding controls of the vivid driver with respect to the range and default values.
20
21It contains the following fields:
22
23.. flat-table:: VIVID Metadata
24    :widths: 1 4
25    :header-rows:  1
26    :stub-columns: 0
27
28    * - Field
29      - Description
30    * - u16 brightness;
31      - Image brightness, the value is in the range 0 to 255, with the default value as 128.
32    * - u16 contrast;
33      - Image contrast, the value is in the range 0 to 255, with the default value as 128.
34    * - u16 saturation;
35      - Image color saturation, the value is in the range 0 to 255, with the default value as 128.
36    * - s16 hue;
37      - Image color balance, the value is in the range -128 to 128, with the default value as 0.
38