Skip to content

DD_ENCODE_CONFIG_N9000_Ex

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
typedef struct _dd_encode_config_n9000_ex_
{
    unsigned int iSize;              
    unsigned int resolution;         
    unsigned short rate;             
    unsigned short encodeType;       
    unsigned short quality;          
    unsigned short minBitrate;       
    unsigned short maxBitrate;       
    unsigned short bitrateRange[16]; 
} DD_ENCODE_CONFIG_N9000_Ex;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_ENCODE_CONFIG_N9000_Ex
{
    public UInt32 iSize;
    public UInt32 resolution;
    public UInt16 rate;
    public UInt16 encodeType;
    public UInt16 quality;
    public UInt16 minBitrate;
    public UInt16 maxBitrate;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U2, SizeConst = 16)]
    public UInt16[] bitrateRange;
}

Function Description

N9000 video encoding configuration extension structure.

Member Description

Member Type Remark
iSize unsigned int The length of this structure.
resolution unsigned int Resolution, refer to DD_VIDEO_SIZE for the value.
rate unsigned short Frame rate.
encodeType unsigned short Encoding type, refer to DD_VIDEO_ENCODE_MODE for its value.
quality unsigned short Image quality. For the value, refer to DD_IMAGE_QUALITY.
minBitrate unsigned short The lower limit of bit rate.
maxBitrate unsigned short The upper limit of bit rate.
bitrateRange unsigned short[16] Supported bitrate items.
Error Code