Advantech DVP-7020BE User Manual Download Page 1

 
 
 
 

 

 
 
 
 
 
 
 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

DVP-7020BE 

16 Channel PCI-bus 

Surveillance 

Capture card 

Summary of Contents for DVP-7020BE

Page 1: ...DVP 7020BE 16 Channel PCI bus Surveillance Capture card...

Page 2: ...ies which may result from its use Acknowledgments IBM and PC are trademarks of International Business Machines Corporation MS DOS Windows Microsoft Visual C and Visual BASIC are trade marks of Microso...

Page 3: ...3 CHAPTER 1 General Information...

Page 4: ...ports NTSC PAL composite video input through BNC connectors and digitizes the data to PC through PCI bus The DVP 7020BE is a digital video surveillance card with SDK software develop kit 1 1 Hardware...

Page 5: ...ck Diagram Figure 1 1 System diagram 1 4 Packing List DVP 7020BE PCI capture card X 1 Utility CD Driver Manual SDK Sample Sample source code X 1 Connection cable for WDT X 1 DVA 210 4 Channel expand b...

Page 6: ...DVP 7020BE User s Manual 6 1 5 Dimensions Figure 1 2 Dimensions...

Page 7: ...7 1 6 Connector location Figure 1 3 Connector location VI 1 VI 2 VI 3 GPIO J1 GPIO J2 Video input VI 4 GPIO J3 GPIO J4 for ODM customer only...

Page 8: ...GPIO J1 8 bit TTL CMOS level Digital I O GPIO J1 Pin define Pin no Description Pin 1 OUT0 Pin 2 OUT1 Pin 3 OUT2 Pin 4 OUT3 Pin 5 IN0 Pin 6 IN1 Pin 7 IN2 Pin 8 IN3 Pin 9 VCC Pin 10 GND Table 1 1 GPIO...

Page 9: ...S level Digital I O GPIO J2 Pin define Pin no Description Pin 1 OUT4 Pin 2 OUT5 Pin 3 OUT6 Pin 4 OUT7 Pin 5 IN4 Pin 6 IN5 Pin 7 IN6 Pin 8 IN7 Pin 9 VCC Pin 10 GND Table 1 2 GPIO J2 pin definition Figu...

Page 10: ...bit TTL CMOS level Digital I O GPIO J3 Pin define Pin no Description Pin 1 OUT8 Pin 2 OUT9 Pin 3 OUT10 Pin 4 OUT11 Pin 5 IN8 Pin 6 IN9 Pin 7 IN10 Pin 8 IN11 Pin 9 VCC Pin 10 GND Table 1 3 GPIO J3 pin...

Page 11: ...level Digital I O GPIO J4 Pin define Pin no Description Pin 1 OUT8 Pin 2 OUT9 Pin 3 OUT10 Pin 4 OUT11 Pin 5 IN8 Pin 6 IN9 Pin 7 IN10 Pin 8 IN11 Pin 9 VCC Pin 10 GND Table 1 4 GPIO J4 pin definition Fi...

Page 12: ...put VI By share frame technology DVP 7020BE can receive 16 channel composite inputs through 4 VIs The description for these 4VIs are shown in Figure 1 8 1 11 Figure 1 8 VI 1 pin definition Figure 1 9...

Page 13: ...13 Figure 1 11 VI 4pin definition...

Page 14: ...ou begin To facilitate the installation of the enhanced display device drivers and utility software you should read the instructions in this chapter carefully before you attempt installation The devic...

Page 15: ...15 Installation Step 1 Pop up the System Properties window choose the Hardware page and press the Device Manager bottom...

Page 16: ...DVP 7020BE User s Manual 16 Step 2 Click the PC icon and press the left bottom of the mouse Press the Scan for hardware changes...

Page 17: ...17 Step 3 The system will show the un known devices like below window...

Page 18: ...DVP 7020BE User s Manual 18 Step 4 Click the below icon to specify the driver location...

Page 19: ...19 Step 5 Specify the driver under the CD_ROM driver...

Page 20: ...DVP 7020BE User s Manual 20 Step 6 Push the Next bottom to process the installation Step 7 Continuing the installation...

Page 21: ...21 Step 8 Press the Finish bottom to finish the first circle installation Then repeat the installation step 1 8 until all the un known devices are all installed...

Page 22: ...DVP 7020BE User s Manual 22 Step 9 From below window we know there are 8 new items are installed...

Page 23: ...23 Installation of DVP 7020BE Demo Program Step 1 Install the DVP 7020BE demo program The executive file is in the path CD_ROM DVP 7010B 7020B SDK DVP 7010B 7020B Sample Installation...

Page 24: ...DVP 7020BE User s Manual 24 Step 2 Press the Next bottom to begin the installation...

Page 25: ...25 Step 3 Accept the license agreement and continue the installation...

Page 26: ...DVP 7020BE User s Manual 26 Step 4 Key in your name and company name Then press the Next bottom to continue Step 5 Choose the setup type you want and next...

Page 27: ...27 Step 6 Beginning the installation Step 7 Finished the installation of DVP 7020BE demo program...

Page 28: ...a DVP7010B_4DEV exe icon on the desktop Execute the demo program 1 10 Demo Program Functionality Below is the demo program window The left side panels are the preview windows of video inputs The right...

Page 29: ...29 1 10 1 Device Each device is representative of one Conexant Fusion 878A video capture chip User can set different parameters to different 878A chip...

Page 30: ...Channels Set the Switch Channels to decide how many input for each 878A video chip Each 878A chip can switch to 4 channel video inputs to share 30 25 frame per second For more information please refe...

Page 31: ...e effect on the video image In other words there will be lines in the capture image especially when the targeted image is moving To eliminate this effect user might need to set the resolution down to...

Page 32: ...DVP 7020BE User s Manual 32...

Page 33: ...33 1 10 4 Frame Rate Set the frame rate for video capturing for specific channel Please refer to Chapter 2 5 13 AdvDVP_SetFrameRate...

Page 34: ...DVP 7020BE User s Manual 34 1 10 5 Video Mux Set the Video Mux to specify the video input channel for setting parameter Please refer to Chapter 2 5 16 AdvDVP_GetVideoInput...

Page 35: ...35 1 10 6 Video Standard Set the video standard of your cameras Please refer to Chapter 2 5 10 AdvDVP_GetVideoFormat...

Page 36: ...DVP 7020BE User s Manual 36 1 10 7 Snap Buffer Press the Snap Buffer to get the image data of specific channel video input The snap image will be show on the up panel...

Page 37: ...hannel Please refer to chapter 2 5 18 AdvDVP_SetBrightness 2 5 18 AdvDVP_GetContrast 2 5 18 AdvDVP_SetContrast 2 5 18 AdvDVP_GetHue 2 5 18 AdvDVP_SetHue 2 5 18 AdvDVP_GetSaturation 2 5 18 AdvDVP_SetSa...

Page 38: ......

Page 39: ...CHAPTER 2 Software Function Library CHAPTER...

Page 40: ...and close AdvDVP_CreateSDKInstence Creates SDK instance AdvDVP_InitSDK Initializes the SDK AdvDVP_CloseSDK Closes up the SDK Capture control AdvDVP_GetNoOfDevices Gets number of video capture devices...

Page 41: ...Input Gets video input mux AdvDVP_SetVideoInput Sets video input mux Sensor Control AdvDVP_GetBrightness Gets brightness value AdvDVP_SetBrightness Sets brightness value AdvDVP_GetContrast Gets contra...

Page 42: ...DVP 7020BE User s Manual 42 GPIO pin...

Page 43: ...Read End function pointer STREAMREAD_STRUCT The structure stores the Stream Read callback function pointers 2 2 2 Method Summary SDK Initialize and close AdvDVP_CreateEncSDKInstence Creates encoding...

Page 44: ...VP_GetVideoFrameRate Gets video encoding frame rate AdvDVP_SetVideoFrameRate Sets video encoding frame rate AdvDVP_GetVideoResolution Gets video encoding resolution AdvDVP_SetVideoResolution Sets vide...

Page 45: ...ly You can install the codec manually by using the rmp4 inf file Right click on the file and then click Install 2 3 1 Data Type Summary PlayerRes The method returned code 2 3 2 Method Summary Playback...

Page 46: ...hat is rendered AdvDVP_RegNotifyMsg Registers message sent to player when event occurs AdvDVP_CheckFileEnd Checks if file is finished playing Playback setting AdvDVP_GetVideoResolution Gets video reso...

Page 47: ...47 number of file AdvDVP_GetPlayRate Gets current played rate...

Page 48: ...4 DVP7010B 7020B Functions Reference Data Type 2 4 1 Res Syntax typedef enum tagRes SUCCEEDED 1 FAILED 0 SDKINITFAILED 1 PARAMERROR 2 NODEVICES 3 NOSAMPLE 4 DEVICENUMERROR 5 INPUTERROR 6 Res Descript...

Page 49: ...KInstence Syntax int AdvDVP_CreateSDKInstence void pp Parameters pp A pointer to the SDK instance Return Value SUCCEEDED Function succeeded FAILED Function failed PARAMERROR Parameter error Descriptio...

Page 50: ...lue SUCCEEDED Function succeeded FAILED Function failed NODEVICES No devices found Description This function initializes all video capture devices in the system After initializing each device the capt...

Page 51: ...x int AdvDVP_CloseSDK void Parameters None Return Value SUCCEEDED Function succeeded SDKINITFAILED SDK not initialized Description This function cleans all instances of capture devices and closes up t...

Page 52: ...P_GetNoOfDevices int pNoOfDevs Parameters pNoOfDevs A pointer to get number of video capture devices Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized...

Page 53: ...ux2 mux3 Main A main window handle hwndPreview A windows handle for display area This parameter is only valid when the SwitchChans is zero When the value of this parameter is NULL the video will not b...

Page 54: ...DVP 7020BE User s Manual 54 SwitchingChans 0 the video input mux will be set 0 See Also AdvDVP_Stop AdvDVP_GetCapState...

Page 55: ...n Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number Description This function stops video capturing on a specified captur...

Page 56: ...m Specifies the device number 0 3 Return Value DEVICENUMERROR Invalid device number SDKINITFAILED SDK not initialized Description This function gets capture state of a specified capture port typedef e...

Page 57: ...ffer size buf Frame buffer VMux Video mux Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number PARAMERROR Invalid par...

Page 58: ...t nDevNum int VMux int bufsize BYTE buf nID Single video input ID or the video mux ID The value of IDs is showed as following define ID_NEW_FRAME 37810 define ID_MUX0_NEW_FRAME 37800 define ID_MUX1_NE...

Page 59: ...ded SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number Description This function sets a callback function to SDK When new frame arrived messages and frame information will be sent...

Page 60: ...eo_None 0x00000000 Video_NTSC_M 0x00000001 Video_NTSC_M_J 0x00000002 Video_PAL_B 0x00000010 Video_PAL_M 0x00000200 Video_PAL_N 0x00000400 Video_SECAM_B 0x00001000 AnalogVideoFormat Return Value SUCCEE...

Page 61: ...0 Video_NTSC_M 0x00000001 Video_NTSC_M_J 0x00000002 Video_PAL_B 0x00000010 Video_PAL_M 0x00000200 Video_PAL_N 0x00000400 Video_SECAM_B 0x00001000 AnalogVideoFormat Return Value SUCCEEDED Function succ...

Page 62: ...DVP 7020BE User s Manual 62 AdvDVP_GetVideoFormat...

Page 63: ...vice number 0 3 FrameRate A pointer to get video frame rate Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number PARA...

Page 64: ...channels mux0 mux1 2 three channels mux0 mux1 mux2 3 four channels mux0 mux1 mux2 mux3 FrameRate A value to set frame rate 0 FrameRate 30 Default value is 30 Return Value SUCCEEDED Function succeeded...

Page 65: ...65 SwitchingChans 0 the frame rate must be set 30 Otherwise the function will return PARAMERROR See Also AdvDVP_GetFrameRate...

Page 66: ...n typedef enum FULLPAL 0 PAL 768x576 SIZED1 NTSC 720x480 PAL 720x576 SIZEVGA 640x480 SIZEQVGA 320x240 SIZESUBQVGA 160x120 VideoSize Return Value SUCCEEDED Function succeeded FAILED Function failed SDK...

Page 67: ...PAL 768x576 SIZED1 NTSC 720x480 PAL 720x576 SIZEVGA 640x480 SIZEQVGA 320x240 SIZESUBQVGA 160x120 VideoSize Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initi...

Page 68: ...eeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number PARAMERROR Invalid parameter Description This function gets video input mux of a specified capture p...

Page 69: ...D Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR Invalid device number PARAMERROR Invalid parameter Description This function sets video input mux of a specified capture port It retu...

Page 70: ...1 3 This value must be set 1 when no switching channels lpValue A long pointer to get brightness value Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialize...

Page 71: ...s value must be set 1 when no switching channels lValue A value to set brightness 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERRO...

Page 72: ...ux 1 3 This value must be set 1 when no switching channels lpValue A long pointer to get contrast value Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initializ...

Page 73: ...3 This value must be set 1 when no switching channels lValue A value to set contrast 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUME...

Page 74: ...mux 1 3 This value must be set 1 when no switching channels lpValue A long pointer to get hue value Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized...

Page 75: ...This value must be set 1 when no switching channels lValue A value to set hue 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERROR I...

Page 76: ...x 1 3 This value must be set 1 when no switching channels lpValue A long pointer to get saturation value Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initiali...

Page 77: ...s value must be set 1 when no switching channels lValue A value to set saturation 0 100 Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized DEVICENUMERRO...

Page 78: ...cifies the digital input number 0 3 pValue A pointer to get the value of the specified digital input Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized...

Page 79: ...gital output number 0 3 bValue A value to set the value of the specified digital output Return Value SUCCEEDED Function succeeded FAILED Function failed SDKINITFAILED SDK not initialized PARAMERROR In...

Page 80: ...B Encoding Functions Reference Data Type 2 6 1 EncRes Syntax typedef enum tagRes ENC_SUCCEEDED 1 ENC_FAILED 0 ENC_SDKINITFAILED 1 ENC_ENCINITFAILED 2 ENC_PARAMERROR 3 ENC_ENCNUMERROR 4 ENC_BUFFERFULL...

Page 81: ...PSTREAMREADBEGIN int nEncNum Parameters nEncNum Specifies the encoder number Return Value None Description The pointer to the Stream Read Begin callback function called when begins the video stream r...

Page 82: ...ncoded video frame lBufSize Specifies the size of the encoded video frame dwCompFlags Specifies if this encoded video frame is I frame The AVIIF_KEYFRAME value means the frame is I frame define AVIIF_...

Page 83: ...STREAMREADEND int nEncNum Parameters nEncNum Specifies the encoder number Return Value None Description The pointer to the Stream Read End callback function called when the video stream read process i...

Page 84: ...DEND int nEncNum STREAMREAD_STRUCT Parameters PSTREAMREADBEGIN The pointer to the Stream Read Begin callback function called when begins the video stream read process PSTREAMREADPROC The pointer to th...

Page 85: ...85 This structure stores the Stream Read callback function pointers See Also PSTREAMREADBEGIN PSTREAMREADPROC PSTREAMREADEND AdvDVP_SetStreamReadCB...

Page 86: ...ence Syntax int AdvDVP_CreateEncSDKInstence void pp Parameters pp A pointer to the encoding SDK instance Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_PARAMERROR Paramet...

Page 87: ...AdvDVP_InitSDK Syntax int AdvDVP_InitSDK void Parameters None Return Value ENC_SUCCEEDED Function succeeded Description This function initializes all parameters of the SDK in the system See Also AdvDV...

Page 88: ...ax int AdvDVP_CloseSDK void Parameters None Return Value ENC_SUCCEEDED Function succeeded ENC_SDKINITFAILED SDK does not be initialized successfully Description This function cleans all parameters of...

Page 89: ...fer size Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number Description This fun...

Page 90: ...C_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number ENC_ENCINITFAILED Encoder does not be initialized successfully Description Th...

Page 91: ...ailed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number ENC_ENCINITFAILED Encoder does not be initialized successfully Description This function notifie...

Page 92: ...nBufSize Specifies the size of the input buffer bKeyFrame Specifies if the video frame is encoded as a I frame Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILE...

Page 93: ...93 buffer Description This function writes the video frame to the encoding buffer to encode it by the specified encoder See Also AdvDVP_StartVideoEncode AdvDVP_StopVideoEncode...

Page 94: ...ailed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number ENC_ENCINITFAILED Encoder does not be initialized successfully Description This function notifie...

Page 95: ...umber 0 15 Return Value ENC_ENCNUMERROR Invalid encoder number Description This function gets encoding state of a specified video encoder typedef enum ENC_STOPPED 1 ENC_RUNNING 2 ENC_UNINITIALIZED 1 E...

Page 96: ...STREAMREAD_STRU CT pStreamRead Parameters pStreamRead A pointer to STREAMREAD_STRUCT structure recording the pointers to the StreamRead callback functions Return Value None Description This function...

Page 97: ...turn Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number ENC_ENCINITFAILED Encoder does...

Page 98: ...ity is 4 Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number ENC_ENCINITFAILED En...

Page 99: ...o get the video frame rate Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number EN...

Page 100: ...frame rate The range is 1 30 The default video frame rate is 30 Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC...

Page 101: ...width of the video nHeight A pointer to get the height of the video Return Value ENC_SUCCEEDED Function succeeded ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid en...

Page 102: ...ault width is 320 nHeight A value to set the height of the video The default height is 240 Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be in...

Page 103: ...erval of the video key frame Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully ENC_ENCNUMERROR Invalid encoder number...

Page 104: ...eo key frame The range is 1 99 The default video frame rate is 60 Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully EN...

Page 105: ...ileName Specifies the file name of the AVI file nWidth nHeight nFrameRate Specifies the frame rate of the video Return Value If the function succeeds the file handle is returned Otherwise the function...

Page 106: ...BufSize Specifies the size of the video stream data buffer dwCompFlags Flag associated with this data The AVIIF_KEYFRAME flag is defined to indicate this data does not rely on preceding data in the fi...

Page 107: ...107 AdvDVP_CloseAVIFile...

Page 108: ...AVIFile Parameters hAVIFile Specifies the AVI file handle Return Value ENC_SUCCEEDED Function succeeded ENC_FAILED Function failed ENC_SDKINITFAILED SDK does not be initialized successfully Descriptio...

Page 109: ...10B 7020B Player Functions Reference Data Type 2 8 1 PlayerRes Syntax typedef enum tagRes PLAYER_SUCCEEDED 1 PLAYER_FAILED 0 PLAYER_SDKINITFAILED 1 PLAYER_PARAMERROR 2 PlayerRes Description The method...

Page 110: ...nce Syntax int AdvDVP_CreatePlayerSDKInstence void pp Parameters pp A pointer to the player SDK instance Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed PLAYER_PARAMERRO...

Page 111: ...the source video file Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function opens the source video file and initializes the video player The playbac...

Page 112: ...ue PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function closes the source video file and free resources allocated for video player The playback status would be s...

Page 113: ...the display area is resized automatically according to the video resolution Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function plays the file that...

Page 114: ...rn Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function pauses or continues the file that has been opened The playback status would be set as PLAYER_PAUSED...

Page 115: ...alue PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function stops the file that is playing The playback status would be set as PLAYER_STOPPED after successfully ca...

Page 116: ...ER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function improves the current play speed by one time 4 times at most The playback status would be set as PLAYER_PLAYING a...

Page 117: ...ED Function succeeded PLAYER_FAILED Function failed Description This function slows the current play speed by one time 4 times at most The playback status would be set as PLAYER_PLAYING after successf...

Page 118: ...ne Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function makes the video to step forward one frame The playback status would be set as PLAYER_PAUSED...

Page 119: ...PLAYER_FAILED Function failed Description This function gets playback status typedef enum tagPlayerStatus PLAYER_NOTOPENED 0 PLAYER_OPENED 1 PLAYER_PLAYING 2 PLAYER_STOPPED 3 PLAYER_PAUSED 4 PlayerSta...

Page 120: ...e LPBYTE lpImage long pBufSize Parameters lpImage A pointer to a image buffer pBufSize A long pointer to receive the returned image buffer size Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_...

Page 121: ...age When this message is received it means some event of the playback occur such as the file playing is end Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description T...

Page 122: ...DVP 7020BE User s Manual 122 See Also AdvDVP_CheckFileEnd...

Page 123: ...VP_CheckFileEnd Parameters None Return Value If the event that the file playing end is detected this function returns TRUE Otherwise the function returns FALSE Description This function checks if the...

Page 124: ...nt nWidth int nHeight Parameters nWidth An integer pointer to get the width of the video nHeight An integer pointer to get the height of the video Return Value PLAYER_SUCCEEDED Function succeeded PLAY...

Page 125: ...ble AdvDVP_GetPlayRate Parameters None Return Value If the function succeeded the playback ratio is returned Otherwise the function returns 0 Description This function retrieves the playback rate See...

Page 126: ...double AdvDVP_GetFileTime Parameters None Return Value If the function succeeded the total file time is returned Otherwise the function returns 0 Description This function retrieves total file time in...

Page 127: ..._GetPlayedTime Parameters None Return Value If the function succeeded the current file time is returned Otherwise the function returns 0 Description This function retrieves current file time in second...

Page 128: ...SetPlayPosition double dTime Parameters dTime Specifies the file time in seconds Return Value PLAYER_SUCCEEDED Function succeeded PLAYER_FAILED Function failed Description This function seeks the file...

Page 129: ...FileTotalFrames Parameters None Return Value If the function succeeded the total number of the frame of the file is returned Otherwise the function returns 0 Description This function retrieves total...

Page 130: ...GLONG AdvDVP_GetPlayedFrames Parameters None Return Value If the function succeeded the current frame number of the file is returned Otherwise the function returns 0 Description This function retrieve...

Reviews: