beautypg.com

Sensoray 2255 User Manual

Page 28

background image

Pointer to last frame

size

size of last frame (if capturing JPEGs)

Returns

0 if frame ready. Non-zero otherwise.

S2255_check_frame_poll_ts(HDEVICE hdev, int channel, int *last, int
*psize, unsigned int *ts);

Returns 0 if frame is ready on given channel. Stores index of last frame in last. Non-blocking.

Parameters

hdev

Handle to device

channel

Channel to check(1-4)

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_check_frame_block(HDEVICE hdev, int channel, int timeout, int
*last, int *psize);

Returns 0 if frame is ready on given channel. Stores index of last frame in last.

Parameters

hdev

Handle to device

channel

Channel to check(1-4)

timeout

Timeout in ms

last

28