Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_VIDEO_COLOR_CONFIG

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    typedef struct _dd_video_color_config_
    {
        unsigned int iSize;
        unsigned int usedNum;
        DD_VIDEO_COLOR videoColor[DD_MAX_COLOR_CFG_NUM];
    } DD_VIDEO_COLOR_CONFIG;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_VIDEO_COLOR_CONFIG
    {
        public UInt32 iSize;
        public UInt32 usedNum;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 3)]
        public DD_VIDEO_COLOR[] videoColor;
    }

### Function Description

Video color scheme structure.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
usedNum | unsigned int | The number of schemes to use, default is 1.
videoColor | `DD_VIDEO_COLOR`[DD_MAX_COLOR_CFG_NUM] | Color scheme.

Error Code