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