Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
0002 
0003 .. _v4l2-meta-fmt-vivid:
0004 
0005 *******************************
0006 V4L2_META_FMT_VIVID ('VIVD')
0007 *******************************
0008 
0009 VIVID Metadata Format
0010 
0011 
0012 Description
0013 ===========
0014 
0015 This describes metadata format used by the vivid driver.
0016 
0017 It sets Brightness, Saturation, Contrast and Hue, each of which maps to
0018 corresponding controls of the vivid driver with respect to the range and default values.
0019 
0020 It contains the following fields:
0021 
0022 .. flat-table:: VIVID Metadata
0023     :widths: 1 4
0024     :header-rows:  1
0025     :stub-columns: 0
0026 
0027     * - Field
0028       - Description
0029     * - u16 brightness;
0030       - Image brightness, the value is in the range 0 to 255, with the default value as 128.
0031     * - u16 contrast;
0032       - Image contrast, the value is in the range 0 to 255, with the default value as 128.
0033     * - u16 saturation;
0034       - Image color saturation, the value is in the range 0 to 255, with the default value as 128.
0035     * - s16 hue;
0036       - Image color balance, the value is in the range -128 to 128, with the default value as 0.