Advantech DVP-7020BE User Manual page 92

16 channel pci-bus surveillance capture card
Table of Contents

Advertisement

2.7.7 AdvDVP_VideoEncode
Syntax
int AdvDVP_VideoEncode(int nEncNum, LPVOID
lpInBuf,
int InBufSize, BOOL bKeyFrame)
Parameters
nEncNum:
number (0~15).
lpbiIn:
InBufSize:
bKeyFrame:
Return Value
ENC_SUCCEEDED:
ENC_FAILED:
ENC_SDKINITFAILED:
ENC_ENCNUMERROR:
number.
ENC_ENCINITFAILED:
ENC_PARAMERROR:
ENC_BUFFERFULL:
Specifies the encoder
Specifies the input buffer
stores the source video
frame.
Specifies the size of the
input buffer.
Specifies if the video
frame is encoded as a
I-frame.
Function succeeded.
Function failed.
SDK does not be
initialized
successfully.
Invalid encoder
Encoder does not be
initialized
successfully.
Parameter error.
Encoding buffer is full,
the video frame can
not be written to the
92
DVP-7020BE User's Manual

Advertisement

Table of Contents
loading

Table of Contents