Advantech DVP-7410 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Placas gráficas Advantech DVP-7410. Description Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - Capture card

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

Página 2 - Rev. 1.00

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

Página 3 - General Information

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

Página 4

- 101 - AdvDVP_CloseAVIFile

Página 5 - Figure 1.1 System diagram

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

Página 6

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

Página 7 - GPIO: J1

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

Página 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

Página 9

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

Página 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

Página 11

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

Página 12

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

Página 13

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

Página 14

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

Página 15

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

Página 16

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

Página 17

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

Página 18

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

Página 19

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

Página 20

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

Página 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

Página 22

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

Página 23

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

Página 24 - 1.10.1 Device

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

Página 25 - 1.10.2 Switch Channels

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

Página 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

Página 27

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

Página 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

Página 29 - 1.10.5 Video Mux

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

Página 30 - 1.10.6 Video Standard

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

Página 31 - 1.10.7 Snap Buffer

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

Página 32 - 1.10.9 GPIO control

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

Página 33 - Software Function Library

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

Página 34

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

Página 35

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

Página 36 - GPIO pin

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

Página 37

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

Página 38

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

Página 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.

Página 40

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

Página 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

Página 42

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

Página 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

Página 44

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

Página 46

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

Página 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

Página 48

3 CHAPTER 1General Information

Página 49

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

Página 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. .

Página 51

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

Página 52

CHAPTER 2 Software Function Library CHAPTER

Página 53

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

Página 54

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

Página 55

DVP-7010BE User’s Manual 36GPIO pin

Página 56 - AdvDVP_GetVideoFormat

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

Página 57

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

Página 58

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

Página 59

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

Página 60

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

Página 61

- 41 - number of file AdvDVP_GetPlayRate Gets current played rate

Página 62

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

Página 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

Página 64

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

Página 65

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

Página 66

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

Página 67

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

Página 68

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

Página 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

Página 70

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

Página 71

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

Página 72

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

Página 73

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

Página 74

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

Página 75

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

Página 76

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

Página 77

DVP-7010BE User’s Manual 56AdvDVP_GetVideoFormat

Página 78

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

Página 79

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

Página 80

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

Página 81

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

Página 82

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

Página 83

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

Página 84

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

Página 85

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

Página 86

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

Página 87

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

Página 88

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

Página 89

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

Página 90

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

Página 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

Página 92

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

Página 93

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

Página 94

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

Página 95

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

Página 96

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

Página 97

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

Página 98

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

Página 99

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

Página 100

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

Página 101 - AdvDVP_CloseAVIFile

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

Página 102

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

Página 103 - - 103

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

Página 104

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

Página 105 - - 105

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

Página 106

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

Página 107 - - 107

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

Página 108

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

Página 109 - - 109

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

Página 110

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

Página 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

Página 112

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

Página 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

Página 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

Página 115 - - 115

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

Página 116 - AdvDVP_CheckFileEnd

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

Página 117 - - 117

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

Página 118

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

Página 119 - - 119

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

Página 120

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

Página 121 - - 121

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

Página 122

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

Página 123 - - 123

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

Página 124

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

Comentários a estes Manuais

Sem comentários