Technical Manual
© 2006-2010 by HIKVISION. All rights reserved. 1
CONTENTS
CONTENTS .......................................................................................................................... 1
1. Hikvision Card Overview ............................................................................................. 5
2. SDK Version Update .................................................................................................... 7
3. Data Structure Definition ........................................................................................... 10
4. Encoding Card SDK ................................................................................................... 12
4.1. Order of Function Call ................................................................................. 12
4.2. API of Encoding Card .................................................................................. 14
4.2.1. GetLastErrorNum() ........................................................................................ 14
4.2.2. InitDSPs(); ..................................................................................................... 14
4.2.3. DeInitDSPs(); ................................................................................................ 14
4.2.4. ChannelOpen(); ............................................................................................. 14
4.2.5. ChannelClose() ; ........................................................................................... 15
4.2.6. GetTotalChannels();....................................................................................... 15
4.2.7. GetTotalDSPs(); ............................................................................................ 15
4.2.8. GetBoardCount() ........................................................................................... 15
4.2.9. GetBoardDetail () .......................................................................................... 15
4.2.10. GetDspDetail ().............................................................................................. 16
4.2.11. GetEncodeChannelCount()............................................................................ 16
4.2.12. GetDecodeChannelCount() ........................................................................... 16
4.2.13. GetDisplayChannelCount() ............................................................................ 17
4.2.14. GetBoardInfo();.............................................................................................. 17
4.2.15. GetCapability(); ............................................................................................. 17
4.2.16. StartVideoPreview() ....................................................................................... 18
4.2.17. StopVideoPreview(); ...................................................................................... 18
4.2.18. SetVideoPara(); ............................................................................................. 18
4.2.19. GetVideoPara(); ............................................................................................ 18
4.2.20. GetSDKVersion (); ......................................................................................... 19
4.2.21. SetStreamType (); ......................................................................................... 19
4.2.22. GetStreamType(); .......................................................................................... 19
4.2.23. SetSubStreamType () .................................................................................... 19
4.2.24. GetSubStreamType() ..................................................................................... 20
4.2.25. StartVideoCapture(); ...................................................................................... 20
4.2.26. StopVideoCapture(); ...................................................................................... 20
4.2.27. StartSubVideoCapture() ................................................................................. 20
4.2.28. StopSubVideoCapture() ................................................................................. 20
4.2.29. SetIBPMode(); ............................................................................................... 21
4.2.30. SetDefaultQuant(); ........................................................................................ 21
4.2.31. SetEncoderPictureFormat() ; ......................................................................... 22
4.2.32. SetSubEncoderPictureFormat() ..................................................................... 22
4.2.33. SetupBitrateControl() ; ................................................................................... 22