| 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 |
******************************* |
| 7 |
V4L2_META_FMT_VIVID ('VIVD') |
| 8 |
******************************* |
| 9 |
|
| 10 |
VIVID Metadata Format |
| 11 |
|
| 12 |
|
| 13 |
Description |
| 14 |
=========== |
| 15 |
|
| 16 |
This describes metadata format used by the vivid driver. |
| 17 |
|
| 18 |
It sets Brightness, Saturation, Contrast and Hue, each of which maps to |
| 19 |
corresponding controls of the vivid driver with respect to the range and default values. |
| 20 |
|
| 21 |
It 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. |