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