Sensoray 811 Windows SDK User Manual

Page 20

Advertising
background image

int bottom_clip,

int devid

);

Sets the video position in the clipping window.

Parameters

xpos, ypos

x and y coordinates of the top left corner.

xsize, ysize

horizontal and vertical sizes of video display.

left_clip, top_clip, right_clip, bottom_clip

number of pixels to clip of the left, top, right and bottom sides of source video.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_EnableSnapshots(

BOOL bOnOff,

int devid,

);

Enables snapshot capture filter. This will increase CPU usage, but it is required to use the
S811_GetFrame and S811_SnapshotToFile functions. Must be called before starting the
stream(S811_StartRecord or S811_StartPreview).

Parameters

bOnOff

control value to turn snapshots on/off.

devid

device id in the system (use 0 for first channel with a single board installed).

Returns

0 on success, negative value if error (see mid811types.h for error codes list).

MID811_API int S811_SetColorSpace(

20

Advertising