Skip to content

DD_VIDEO_COLOR_CONFIG

Structure Definition

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