Sensoray 2251 Rev.A User Manual
Page 27

MID2250_API int SN_SetVideoPosition(
int xpos,
int ypos,
int xsize,
int ysize,
int left_clip,
int top_clip,
int right_clip,
int bottom_clip,
int board
);
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.
board
board number in the system (use 0 for single board setups).
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
MID2250_API int SN_SetOpMode(
MID2250_OPMODE mode,
int board
);
Sets the operation mode to normal, or MJPEG capture. In normal mode the stream from the 2250
is rendered on the display and optionally recorded. MJPEG capture mode is for plain capture of
27