
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved.
43
5.1.34.
int HW_SetFileEndMsg(int hChannel, sem_t* nMsg);
Explanation:
Register the semaphore that will be post when the file finish decode
Parameter:
hChannel
channel handler
nMsg
semaphore
5.1.35.
int HW_SetStreamOpenMode(int hChannel,ULONG nMode);
Explanation:
Set the change mode of the stream decoding
Parameter:
hChannel
channel handler
nMode 0 ~ 5 , 0 means don‘t change just as decode file
,
1 ~ 5 will change the
smooth and delay. If set 5, the stream will be more smooth but delay more
5.1.36.
int HW_GetStreamOpenMode(int hChannel,ULONG *pMode);
Explanation:
Get the current change mode
Parameter:
hChannel
channel handler
*pMode
0 ~ 5
;
5.1.37.
int HW_SetAudioPreview(int hChannel, UINT bEnable);
Explanation:
Set audio preview. The Link just as the HCI There will be only one channel could be
open in the time. The Sdk will close other channels. Call after HW_ChannelOpen and
HW_PlaySound
Parameter:
bEnable
1—open, 0—close
5.1.38.
int HW_StartDecVgaDisplay(int hChannel, PREVIEWCONFIG* pPreviewConf,
UINT useSyncSem);
Explanation:
Start video display on the Vga
;
Just as the function StartVideoPreview() Please refer
to the Section4.16
Parameter:
pPreviewConf
Please refer to the section 4.16
useSyncSem If set, the sdk will post pPreviewConf->SyncSem when decode one
frame
5.1.39.
int HW_StopDecChanVgaDisplay(int hChannel);
Explanation:
Stop video display