
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
10
3.
Data Structure Definition
3.1 Definition for frame type
PktError illegal frame data
PktSysHeader System header
PktIFrames I frame
PktPFrames P frame
PktBBPFrames BBP frame
PktAudioFrames Audio frame
PktMotionDetection Motion detection frame
PktSFrames Frame types transferred during capturing I frame
PktSubIFrames: when in double decoding, I frame in subchannel
PktSubPFrames: when in double encoding, P frame in subchannel
PktSubBBPFrames: when in double encoding, BBP frame in subchannel
PktSubSysHeader: when in double encoding, system header in subchannel
3.2 Definition for video standard
StandardNone No video signal
StandardNTSC NTSC format
StandardPAL PAL format
3.3 Definition for extraordinary ability
typedef struct tagChannelCapability{
UCHAR bAudioPreview; Audio preview
UCHAR bAlarmIO; Alarming signal
UCHAR bWatchDog; Watch dog
}CHANNEL_CAPABILITY, *PCHANNEL_CAPABILITY;
3.4 Frame data Stat.
typedef struct tagFramsStatistics{
ULONG VideoFrames; Video frame
ULONG AudioFrames; Audio frame
ULONG FramesLost; Lost frame
ULONG QueueOverflow; Buffer overflow
}FRAMES_STATISTICS, *PFRAMES_STATISTICS;
3.5 The preview rectangle
typedef struct tagRect{
short RectTop;