162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci.. _v4l2-meta-fmt-vivid: 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci******************************* 662306a36Sopenharmony_ciV4L2_META_FMT_VIVID ('VIVD') 762306a36Sopenharmony_ci******************************* 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciVIVID Metadata Format 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciDescription 1362306a36Sopenharmony_ci=========== 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciThis describes metadata format used by the vivid driver. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciIt sets Brightness, Saturation, Contrast and Hue, each of which maps to 1862306a36Sopenharmony_cicorresponding controls of the vivid driver with respect to the range and default values. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciIt contains the following fields: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci.. flat-table:: VIVID Metadata 2362306a36Sopenharmony_ci :widths: 1 4 2462306a36Sopenharmony_ci :header-rows: 1 2562306a36Sopenharmony_ci :stub-columns: 0 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci * - Field 2862306a36Sopenharmony_ci - Description 2962306a36Sopenharmony_ci * - u16 brightness; 3062306a36Sopenharmony_ci - Image brightness, the value is in the range 0 to 255, with the default value as 128. 3162306a36Sopenharmony_ci * - u16 contrast; 3262306a36Sopenharmony_ci - Image contrast, the value is in the range 0 to 255, with the default value as 128. 3362306a36Sopenharmony_ci * - u16 saturation; 3462306a36Sopenharmony_ci - Image color saturation, the value is in the range 0 to 255, with the default value as 128. 3562306a36Sopenharmony_ci * - s16 hue; 3662306a36Sopenharmony_ci - Image color balance, the value is in the range -128 to 128, with the default value as 0. 37