beautypg.com

Sensoray 2255 User Manual

Page 31

background image

Copies the buffer specified to pdata. Use if mmap not used (double buffering).

Parameters

hdev

Handle to device

channel

Channel(1-4)

frame

index of frame

pdata

pointer to data

size

size of pdata

Returns

0 on success. Non-zero otherwise.

S2255_get_image_size( MODE2255 *mode);

Provides an easy way of determining the required buffer size based on the MODE2255 settings.

Parameters

mode

a pointer to MODE2255 structure.

Returns

Image size (bytes).

S2255_get_vid_status(HDEVICE hdev, int channel, UINT32 *pStatus);

Returns the video input status on selected video channel.

Parameters

hdev

a handle to the 2255 device.

channel

channel number (1-4).

pStatus

31