跳转至

NET_SDK_SMART_TARGET_SNAP_IMG

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
typedef struct _net_sdk_smart_target_snap_img_
{
    DD_TIME_EX frameTime;       
    unsigned int imgId;         
    unsigned int chl;           
    unsigned char pathGUID[48]; 
    unsigned int sectionNo;     
    unsigned int fileIndex;     
    unsigned int blockNo;       
    unsigned int offset;        
    unsigned int eventType;     
    unsigned char isPanorama;   
    unsigned char resv[7];      
} NET_SDK_SMART_TARGET_SNAP_IMG;
 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_SMART_TARGET_SNAP_IMG
{
    public DD_TIME_EX frameTime;
    public UInt32 imgId;
    public UInt32 chl;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
    public byte[] pathGUID;
    public UInt32 sectionNo;
    public UInt32 fileIndex;
    public UInt32 blockNo;
    public UInt32 offset;
    public UInt32 eventType;
    public byte isPanorama;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 7)]
    public byte[] resv;
}

功能描述

智能目标截图信息结构体。

成员说明

成员 类型 备注
frameTime DD_TIME_EX 帧时间。
imgId unsigned int 图像ID。
chl unsigned int 截图通道,从0开始,返回值 255 表示已经删除的通道。
pathGUID unsigned char[48] 数据所在的存储GUID
sectionNo unsigned int 章节编号。
fileIndex unsigned int 录像文件索引。
blockNo unsigned int 块编号。
offset unsigned int 偏移。
eventType unsigned int 事件类型,参考DD_EVENT_TYPE
isPanorama unsigned char 是否是全景图, 0:抓拍图片,1:全景图。
resv unsigned char[7] 预留字段。
错误码