18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci.. _v4l2-meta-fmt-vivid: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci******************************* 68c2ecf20Sopenharmony_ciV4L2_META_FMT_VIVID ('VIVD') 78c2ecf20Sopenharmony_ci******************************* 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciVIVID Metadata Format 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciDescription 138c2ecf20Sopenharmony_ci=========== 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciThis describes metadata format used by the vivid driver. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciIt sets Brightness, Saturation, Contrast and Hue, each of which maps to 188c2ecf20Sopenharmony_cicorresponding controls of the vivid driver with respect to the range and default values. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciIt contains the following fields: 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci.. flat-table:: VIVID Metadata 238c2ecf20Sopenharmony_ci :widths: 1 4 248c2ecf20Sopenharmony_ci :header-rows: 1 258c2ecf20Sopenharmony_ci :stub-columns: 0 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci * - Field 288c2ecf20Sopenharmony_ci - Description 298c2ecf20Sopenharmony_ci * - u16 brightness; 308c2ecf20Sopenharmony_ci - Image brightness, the value is in the range 0 to 255, with the default value as 128. 318c2ecf20Sopenharmony_ci * - u16 contrast; 328c2ecf20Sopenharmony_ci - Image contrast, the value is in the range 0 to 255, with the default value as 128. 338c2ecf20Sopenharmony_ci * - u16 saturation; 348c2ecf20Sopenharmony_ci - Image color saturation, the value is in the range 0 to 255, with the default value as 128. 358c2ecf20Sopenharmony_ci * - s16 hue; 368c2ecf20Sopenharmony_ci - Image color balance, the value is in the range -128 to 128, with the default value as 0. 37