Advantech DVP-7410 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Grafické karty Advantech DVP-7410. Description Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - Capture card

DVP-7010BE 4 Channel PCI-bus Surveillance Capture card

Strany 2 - Rev. 1.00

DVP-7010BE User’s Manual 10Installation Step 1: Pop-up the “System Properties” window, choose the “Hardware”

Strany 3 - General Information

DVP-7010BE User’s Manual 1002.7.20 AdvDVP_WriteAVIFile Syntax int AdvDVP_WriteAVIFile(HANDLE hAVIFile, LPV

Strany 4

- 101 - AdvDVP_CloseAVIFile

Strany 5 - Figure 1.1 System diagram

DVP-7010BE User’s Manual 1022.7.21 AdvDVP_CloseAVIFile Syntax int AdvDVP_CloseAVIFile(HANDLE hAVIFile) Pa

Strany 6

- 103 - 2.8 DVP7010B/7020B Player Functions Reference Data Type 2.8.1 PlayerRes Syntax typedef enum tagRes { PLAYER_SUCCEEDED = 1, PLAYER_FAIL

Strany 7 - GPIO: J1

DVP-7010BE User’s Manual 1042.9 Method 2.9.1 AdvDVP_CreatePlayerSDKInstence Syntax int AdvDVP_CreatePlayer

Strany 8 - 1.7 Pin definition

- 105 - 2.9.2 AdvDVP_OpenFile Syntax int AdvDVP_OpenFile(LPCSTR lpcsFileName) Parameters lpcsFileName: Specifies the file name of the source video

Strany 9

DVP-7010BE User’s Manual 1062.9.3 AdvDVP_CloseFile Syntax int AdvDVP_CloseFile() Parameters None. Return

Strany 10 - Installation

- 107 - 2.9.4 AdvDVP_Play Syntax int AdvDVP_Play(HWND hwndApp, BOOL bAutoResizeWnd) Parameters hwndApp: A windows handle for display area. bAutoRes

Strany 11

DVP-7010BE User’s Manual 1082.9.5 AdvDVP_Pause Syntax int AdvDVP_Pause() Parameters None. Return Value P

Strany 12

- 109 - 2.9.6 AdvDVP_Stop Syntax int AdvDVP_Stop() Parameters None. Return Value PLAYER_SUCCEEDED: Function succeeded. PLAYER_FAILED: Functi

Strany 13

11Step 2: Click the PC icon and press the left bottom of the mouse. Press the “Scan for hardware changes”.

Strany 14

DVP-7010BE User’s Manual 1102.9.7 AdvDVP_Fast Syntax int AdvDVP_Fast() Parameters None. Return Value PLA

Strany 15

- 111 - 2.9.8 AdvDVP_Slow Syntax int AdvDVP_Slow() Parameters None. Return Value PLAYER_SUCCEEDED: Function succeeded. PLAYER_FAILED: Functi

Strany 16

DVP-7010BE User’s Manual 1122.9.9 AdvDVP_PlayStep Syntax int AdvDVP_PlayStep() Parameters None. Return V

Strany 17

- 113 - 2.9.10 AdvDVP_GetStatus Syntax int AdvDVP_GetStatus () Parameters None Return Value PLAYER_SUCCEEDED: Function succeeded. PLAYER_FAILED:

Strany 18

DVP-7010BE User’s Manual 1142.9.11 AdvDVP_GetCurImage Syntax int AdvDVP_GetCurImage(LPBYTE *lpImage, lon

Strany 19

- 115 - 2.9.12 AdvDVP_RegNotifyMsg Syntax int AdvDVP_RegNotifyMsg(HWND hWnd, UINT nMsg) Parameters hWnd: Specifies the handle of the window receivi

Strany 20

DVP-7010BE User’s Manual 116See Also AdvDVP_CheckFileEnd

Strany 21 - “Next” bottom to continue

- 117 - 2.9.13 AdvDVP_CheckFileEnd Syntax BOOL AdvDVP_CheckFileEnd () Parameters None Return Value If the event that the file playing end is det

Strany 22

DVP-7010BE User’s Manual 1182.9.14 AdvDVP_GetVideoResolution Syntax int AdvDVP_GetVideoResolution(int *nWi

Strany 23

- 119 - 2.9.15 AdvDVP_GetPlayRate Syntax double AdvDVP_GetPlayRate() Parameters None Return Value If the function succeeded, the playback ratio is

Strany 24 - 1.10.1 Device

DVP-7010BE User’s Manual 12Step 3: The system will show the un-known devices like below window.

Strany 25 - 1.10.2 Switch Channels

DVP-7010BE User’s Manual 1202.9.16 AdvDVP_GetFileTime Syntax double AdvDVP_GetFileTime() Parameters None

Strany 26 - 1.10.3 Resolution

- 121 - 2.9.17 AdvDVP_GetPlayedTime Syntax double AdvDVP_GetPlayedTime() Parameters None Return Value If the function succeeded, the current file

Strany 27

DVP-7010BE User’s Manual 1222.9.18 AdvDVP_SetPlayPosition Syntax int AdvDVP_SetPlayPosition (double dTime)

Strany 28 - 1.10.4 Frame Rate

- 123 - 2.9.19 AdvDVP_GetFileTotalFrames Syntax LONGLONG AdvDVP_GetFileTotalFrames() Parameters None Return Value If the function succeeded, the

Strany 29 - 1.10.5 Video Mux

DVP-7010BE User’s Manual 1242.9.20 AdvDVP_GetPlayedFrames Syntax LONGLONG AdvDVP_GetPlayedFrames() Param

Strany 30 - 1.10.6 Video Standard

13Step 4: Click the below icon to specify the driver location.

Strany 31 - 1.10.7 Snap Buffer

DVP-7010BE User’s Manual 14Step 5: Specify the driver under the CD_ROM\driver

Strany 32 - 1.10.9 GPIO control

15Step 6: Push the “Next” bottom to process the installation. Step 7: Continuing the installation.

Strany 33 - Software Function Library

DVP-7010BE User’s Manual 16Step 8: Press the “Finish” bottom to finish the first circle installation. Then r

Strany 34

17Step 9: From below window, we know there are 8 new items are installed.

Strany 35

DVP-7010BE User’s Manual 18Installation of DVP-7010BE Demo Program Step 1: Install the DVP-7010BE demo progr

Strany 36 - GPIO pin

19Step 2: Press the “Next” bottom to begin the installation.

Strany 37

DVP-7010BE User’s Manual 2Copyright This documentation and the software included with this product are copyr

Strany 38

DVP-7010BE User’s Manual 20Step 3: Accept the license agreement and continue the installation.

Strany 39

21Step 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.

Strany 40

DVP-7010BE User’s Manual 22Step 6: Beginning the installation. Step 7: Finished the installation of DVP-701

Strany 41

23Step 8: There will be a DVP7010B_4DEV.exe icon on the desktop. Execute the demo program. 1.10 Demo Program Functionality Below is the demo progr

Strany 42

DVP-7010BE User’s Manual 241.10.1 Device Each device is representative of one Conexant Fusion 878A video cap

Strany 43

251.10.2 Switch Channels Set the “Switch Channels” to decide how many input for each 878A video chip. Each 878A chip can switch to 4 channel video in

Strany 44

DVP-7010BE User’s Manual 261.10.3 Resolution Set the video capturing resolution. Please refer to “Chapter 2.

Strany 46

DVP-7010BE User’s Manual 281.10.4 Frame Rate Set the frame rate for video capturing for specific channel. Pl

Strany 47

291.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

Strany 48

3 CHAPTER 1General Information

Strany 49

DVP-7010BE User’s Manual 301.10.6 Video Standard Set the video standard of your cameras. Please refer to “Ch

Strany 50

311.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. .

Strany 51

DVP-7010BE User’s Manual 321.10.8 Sensor Control To set the brightness, contrast, hue and saturation of spec

Strany 52

CHAPTER 2 Software Function Library CHAPTER

Strany 53

DVP-7010BE User’s Manual 34Chapter 2 Software Function Library 2.1 DVP7010B/7020B Functions Library Libr

Strany 54

- 35 - buffer Capture setting AdvDVP_GetVideoFormat Gets video input format AdvDVP_SetVideoFormat Sets video input format AdvDVP_GetFrameRate Gets

Strany 55

DVP-7010BE User’s Manual 36GPIO pin

Strany 56 - AdvDVP_GetVideoFormat

2.2 DVP7010B/7020B Encoding Functions Library Library: DVP7010BEnc.dll Encoder: rmp4.dll Before using the DVP7010B/7020B encoding functions library,

Strany 57

DVP-7010BE User’s Manual 38Encode setting AdvDVP_GetVideoQuant Gets video encoding quant AdvDVP_SetVideoQu

Strany 58

2.3 DVP7010B/7020B Player Functions Library Library: DVP7010BPlayer.dll Decoder: rmp4.dll Before using the DVP7010B/7020B player functions library, t

Strany 59

DVP-7010BE User’s Manual 4 Chapter 1 General Information DVP-7010BE is 4 channel input, PCI-bus video cap

Strany 60

DVP-7010BE User’s Manual 40AdvDVP_Stop Stops to play file AdvDVP_Fast Plays file with faster speed AdvDVP

Strany 61

- 41 - number of file AdvDVP_GetPlayRate Gets current played rate

Strany 62

DVP-7010BE User’s Manual 422.4 DVP7010B/7020B Functions Reference Data Type 2.4.1 Res Syntax typedef enum

Strany 63

- 43 - 2.5 Method 2.5.1 AdvDVP_CreateSDKInstence Syntax int AdvDVP_CreateSDKInstence(void **pp) Parameters pp: A pointer to the SDK instance. Retu

Strany 64

DVP-7010BE User’s Manual 442.5.2 AdvDVP_InitSDK Syntax int AdvDVP_InitSDK() Parameters None Return Value

Strany 65

- 45 - 2.5.3 AdvDVP_CloseSDK Syntax int AdvDVP_CloseSDK(void) Parameters None Return Value SUCCEEDED: Function succeeded. SDKINITFAILED:

Strany 66

DVP-7010BE User’s Manual 462.5.4 AdvDVP_GetNumberOfDevices Syntax int AdvDVP_GetNoOfDevices(int *pNoOfDevs

Strany 67

- 47 - 2.5.5 AdvDVP_Start Syntax int AdvDVP_Start(int nDevNum, int SwitchingChans, HWND Main, HWND hwndPreview) Parameters nDevNum: Specifies the d

Strany 68

DVP-7010BE User’s Manual 48SwitchingChans>0), the video input mux will be set 0. See Also AdvDVP_Stop A

Strany 69

- 49 - 2.5.6 AdvDVP_Stop Syntax int AdvDVP_Stop(int nDevNum) Parameters nDevNum: Specifies the device number(0~3). Return Value SUCCEEDED: F

Strany 70

51.3 Block Diagram Figure 1.1 System diagram 1.4 Packing List DVP-7010BE PCI capture car

Strany 71

DVP-7010BE User’s Manual 502.5.7 AdvDVP_GetCapState Syntax int AdvDVP_GetCapState(int nDevNum) Parameters

Strany 72

- 51 - 2.5.8 AdvDVP_GetCurFrameBuffer Syntax int AdvDVP_GetCurFrameBuffer(int nDevNum, long* bufSize, BYTE* buf, int VMux) Parameters nDevNum: Spec

Strany 73

DVP-7010BE User’s Manual 522.5.9 AdvDVP_SetNewFrameCallback Syntax int AdvDVP_SetNewFrameCallback(int nDev

Strany 74

- 53 - SUCCEEDED: Function succeeded. SDKINITFAILED: SDK not initialized. DEVICENUMERROR: Invalid device number. Description This functio

Strany 75

DVP-7010BE User’s Manual 542.5.10 AdvDVP_GetVideoFormat Syntax int AdvDVP_GetVideoFormat(int nDevNum, Anal

Strany 76

- 55 - 2.5.11 AdvDVP_SetVideoFormat Syntax int AdvDVP_SetVideoFormat(int nDevNum, AnalogVideoFormat* vFormat) Parameters nDevNum: Specifies the por

Strany 77

DVP-7010BE User’s Manual 56AdvDVP_GetVideoFormat

Strany 78

- 57 - 2.5.12 AdvDVP_GetFrameRate Syntax int AdvDVP_GetFrameRate(int nDevNum, int *FrameRate) Parameters nDevNum: Specifies the device number(0~3).

Strany 79

DVP-7010BE User’s Manual 582.5.13 AdvDVP_SetFrameRate Syntax int AdvDVP_SetFrameRate(int nDevNum , int Swi

Strany 80

- 59 - SwitchingChans>0), the frame rate must be set 30. Otherwise, the function will return PARAMERROR. See Also AdvDVP_GetFrameRate

Strany 81

DVP-7010BE User’s Manual 61.5 Dimensions Figure 1.2 Dimensions

Strany 82

DVP-7010BE User’s Manual 602.5.14 AdvDVP_GetResolution Syntax int AdvDVP_GetResolution(int nDevNum, VideoS

Strany 83

- 61 - 2.5.15 AdvDVP_SetResolution Syntax int AdvDVP_SetResolution(int nDevNum, VideoSize Size) Parameters nDevNum: Specifies the device number(0~3

Strany 84

DVP-7010BE User’s Manual 62 2.5.16 AdvDVP_GetVideoInput Syntax int AdvDVP_GetVideoInput(int nDevNum, int*

Strany 85

- 63 - 2.5.17 AdvDVP_SetVideoInput Syntax int AdvDVP_SetVideoInput(int nDevNum, int nInput) Parameters nDevNum: Specifies the device number(0~3). n

Strany 86

DVP-7010BE User’s Manual 642.5.18 AdvDVP_GetBrightness Syntax AdvDVP_GetBrightness(int nDevNum, int nInput

Strany 87

- 65 - 2.5.19 AdvDVP_SetBrightness Syntax int AdvDVP_SetBrightness(int nDevNum , int nInput, long lValue) Parameters nDevNum: Specifies the device

Strany 88

DVP-7010BE User’s Manual 662.5.20 AdvDVP_GetContrast Syntax int AdvDVP_GetContrast(int nDevNum, int nInput

Strany 89

- 67 - 2.5.21 AdvDVP_SetContrast Syntax int AdvDVP_SetContrast(int nDevNum, int nInput, long lValue) Parameters nDevNum: Specifies the device numbe

Strany 90

DVP-7010BE User’s Manual 682.5.22 AdvDVP_GetHue Syntax int AdvDVP_GetHue(int nDevNum, int nInput, long *lp

Strany 91

- 69 - 2.5.23 AdvDVP_SetHue Syntax int AdvDVP_SetHue(int nDevNum, int nInput, long lValue) Parameters nDevNum: Specifies the device number(0~3). nI

Strany 92

71.6 Connector location Figure 1.3 connector location GPIO: J1Video input for ODM customer only

Strany 93

DVP-7010BE User’s Manual 702.5.24 AdvDVP_GetSaturation Syntax int AdvDVP_GetSaturation(int nDevNum, int nI

Strany 94

- 71 - 2.5.25 AdvDVP_SetSaturation Syntax int AdvDVP_SetSaturation(int nDevNum , int nInput, long lValue) Parameters nDevNum: Specifies the device

Strany 95

DVP-7010BE User’s Manual 722.5.26 AdvDVP_GPIOGetData Syntax int AdvDVP_GPIOGetData(int nDINum, BOOL* pValu

Strany 96

- 73 - 2.5.27 AdvDVP_GPIOSetData Syntax int AdvDVP_GPIOSetData(int nDONum, BOOL bValue) Parameters nDONum: Specifies the digital output number(0~3

Strany 97

DVP-7010BE User’s Manual 742.6 DVP7010B/7020B Encoding Functions Reference Data Type 2.6.1 EncRes Syntax

Strany 98

- 75 - 2.6.2 PSTREAMREADBEGIN Syntax void (*PSTREAMREADBEGIN)(int nEncNum) Parameters nEncNum: Specifies the encoder number. Return Value No

Strany 99

DVP-7010BE User’s Manual 762.6.3 PSTREAMREADPROC Syntax void (*PSTREAMREADPROC)(int nEncNum, LPVOID pStrea

Strany 100

- 77 - 2.6.4 PSTREAMREADEND Syntax void (*PSTREAMREADEND)(int nEncNum) Parameters nEncNum: Specifies the encoder number. Return Value None

Strany 101 - AdvDVP_CloseAVIFile

DVP-7010BE User’s Manual 782.6.5 STREAMREAD_STRUCT structure Syntax typedef struct { void (*PSTREAMREA

Strany 102

- 79 - This structure stores the Stream Read callback function pointers. See Also PSTREAMREADBEGIN PSTREAMREADPROC PSTREAMREADEND AdvDVP_SetStreamRea

Strany 103 - - 103

DVP-7010BE User’s Manual 81.7 Pin definition 1.7.1 GPIO: J1 • 8 bit TTL/CMOS level Digital I/O.

Strany 104

DVP-7010BE User’s Manual 802.7 Method 2.7.1 AdvDVP_CreateEncSDKInstence Syntax int AdvDVP_CreateEncSDKInst

Strany 105 - - 105

- 81 - 2.7.2 AdvDVP_InitSDK Syntax int AdvDVP_InitSDK(void) Parameters None Return Value ENC_SUCCEEDED: Function succeeded. Description This f

Strany 106

DVP-7010BE User’s Manual 822.7.3 AdvDVP_CloseSDK Syntax int AdvDVP_CloseSDK(void) Parameters None Return

Strany 107 - - 107

- 83 - 2.7.4 AdvDVP_InitEncoder Syntax int AdvDVP_InitEncoder(int nEncNum, int nEncBufSize) Parameters nEncNum: Specifies the encoder number

Strany 108

DVP-7010BE User’s Manual 842.7.5 AdvDVP_CloseEncoder Syntax int AdvDVP_CloseEncoder(int nEncNum) Paramete

Strany 109 - - 109

- 85 - 2.7.6 AdvDVP_StartVideoEncode Syntax int AdvDVP_StartVideoEncode(int nEncNum) Parameters nEncNum: Specifies the encoder number (0~15).

Strany 110

DVP-7010BE User’s Manual 862.7.7 AdvDVP_VideoEncode Syntax int AdvDVP_VideoEncode(int nEncNum, LPVOID lpIn

Strany 111 - - 111

- 87 - buffer. Description This function writes the video frame to the encoding buffer to encode it by the specified encoder. See Also AdvDVP_StartV

Strany 112

DVP-7010BE User’s Manual 882.7.8 AdvDVP_StopVideoEncode Syntax int AdvDVP_StopVideoEncode(int nEncNum) Pa

Strany 113 - - 113

- 89 - 2.7.9 AdvDVP_GetState Syntax int AdvDVP_GetState(int nEncNum) Parameters nEncNum: Specifies the encoder number (0~15). Return Value E

Strany 114

91.8 Hardware Installation 1 Turn off your computer and unplug the power cord. 2 Remove the cover of your computer. 3 Touch t

Strany 115 - - 115

DVP-7010BE User’s Manual 902.7.10 AdvDVP_SetStreamReadCB Syntax void AdvDVP_SetStreamReadCB(STREAMREAD_STR

Strany 116 - AdvDVP_CheckFileEnd

- 91 - 2.7.11 AdvDVP_GetVideoQuant Syntax int AdvDVP_GetVideoQuant(int nEncNum, int *nQuant) Parameters nEncNum: Specifies the encoder number

Strany 117 - - 117

DVP-7010BE User’s Manual 922.7.12 AdvDVP_SetVideoQuant Syntax int AdvDVP_SetVideoQuant(int nEncNum, int nQ

Strany 118

- 93 - 2.7.13 AdvDVP_GetVideoFrameRate Syntax int AdvDVP_GetVideoFrameRate(int nEncNum, int *nFrameRate) Parameters nEncNum: Specifies the en

Strany 119 - - 119

DVP-7010BE User’s Manual 942.7.14 AdvDVP_SetVideoFrameRate Syntax int AdvDVP_SetVideoFrameRate(int nEncNum

Strany 120

- 95 - 2.7.15 AdvDVP_GetVideoResolution Syntax int AdvDVP_GetVideoResolution(int nEncNum, int *nWidth, int *nHeight) Parameters nEncNum: Spec

Strany 121 - - 121

DVP-7010BE User’s Manual 962.7.16 AdvDVP_SetVideoResolution Syntax int AdvDVP_SetVideoResolution(int nEncN

Strany 122

- 97 - 2.7.17 AdvDVP_GetVideoKeyInterval Syntax int AdvDVP_GetVideoKeyInterval(int nEncNum, int *nKeyInterval) Parameters nEncNum: Specifie

Strany 123 - - 123

DVP-7010BE User’s Manual 982.7.18 AdvDVP_SetVideoKeyInterval Syntax int AdvDVP_SetVideoKeyInterval(int nEn

Strany 124

- 99 - 2.7.19 AdvDVP_CreateAVIFile Syntax HANDLE AdvDVP_CreateAVIFile(LPCSTR lpcsFileName, int nWidth, int nHeight, int nFrameRate) Parameters lpcsF

Komentáře k této Příručce

Žádné komentáře