S817_setcapturemode, S817_getbuffer – Sensoray 817 User Manual
Page 12

12
board
Index of the board being addressed (1 ..
SYS_MAXBOARDS
).
aChan
Index of the input video channel being addressed (1 .. 16).
pVMode
Pointer to
VIDEO
_
MODE
structure defining required video mode.
S817_SetCaptureMode
ECODE S817_SetCaptureMode (int board, int aChan, CAPTURE_MODE *pCMode)
Sets capture mode for a selected channel on a selected board.
board
Index of the board being addressed (1 ..
SYS_MAXBOARDS
).
aChan
Index of the input video channel being addressed (1 .. 16).
pCMode
Pointer to
CAPTURE
_
MODE
structure defining required capture mode.
S817_GetBuffer
ECODE S817_GetBuffer (int board, int aChan, CAP_BUFFER *cBuf, int
capType)
Copies the pointers to captured data into the
CAP_BUFFER
structure . New capture to
this buffer is not allowed and the data remains unchanged until the buffer is released
back to the driver (see
S817_ReleaseBuffer
below).
board
Index of the board being addressed (1 ..
SYS_MAXBOARDS
).
aChan
Index of the input video channel being addressed (1 .. 16).
cBuf
Pointer to
CAP_BUFFER
structure.
capType
Type of captured data requested: bitmap or JPEG. Must be either
CAP_JPG
or
CAP_BMP.