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