跳转至

NET_SDK_IVE_EvenTargetData_T

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
typedef struct
{
    int targetId;                
    unsigned int type;           
    unsigned int status;         
    unsigned int width;          
    unsigned int height;         
    NET_SDK_IVE_RECT_T pos;      
    unsigned int dataLen;        
    unsigned char targetType;    
    unsigned char reserved[3];   
    LONGLONG absolutePts;        
    unsigned char reserved1[44]; 
} NET_SDK_IVE_EvenTargetData_T;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_IVE_EvenTargetData_T
{
    public Int32 targetId;
    public UInt32 type;
    public UInt32 status;
    public UInt32 width;
    public UInt32 height;
    public NET_SDK_IVE_RECT_T pos;
    public UInt32 dataLen;
    public byte targetType;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 3)]
    public byte[] reserved;
    public Int64 absolutePts;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 44)]
    public byte[] reserved1;
}

功能描述

事件数据目标图结构体。

成员说明

成员 类型 备注
targetId int 目标ID。
type unsigned int 目标图编码类型,0:JPG; 1:YUV。
status unsigned int 目标图状态,0:INVALID; 1:VALID; 2:SAVED。
width unsigned int 图片宽度。
height unsigned int 图片高度。
pos NET_SDK_IVE_RECT_T 目标矩形框。
dataLen unsigned int 图片数据长度。
targetType unsigned char 目标类型。
reserved unsigned char[3] 预留字段。
absolutePts LONGLONG 绝对时间戳
reserved1 unsigned char[44] 预留字段。
错误码