Sensoray 2255 User Manual
Page 29
Advertising

Pointer to last frame
size
size of last frame (if capturing JPEGs)
Returns
0 if frame ready. Non-zero otherwise.
S2255_check_frame_block_ts(HDEVICE hdev, int channel, int timeout, int
*last, int *psize, unsigned int *ts);
Returns 0 if frame is ready on given channel. Stores index of last frame in last and returns
hardware timestamp.
Parameters
hdev
Handle to device
channel
Channel to check(1-4)
timeout
Timeout in ms
last
Pointer to last frame
size
size of last frame (if capturing JPEGs)
ts
timestamp in ms
Returns
0 if frame ready. Non-zero otherwise.
S2255_query_buf(HDEVICE hdev, int channel, int frmnum);
Queries state of frame with index frmnum.
Parameters
hdev
Handle to device
channel
Channel to check(1-4)
frmnum
Frame index to check (0 to SYS_FRAMES - 1)
29
Advertising