Parameters, Returns, Mid2246_api int sn_getvidsys (int board) – Sensoray 2246 User Manual
Page 29
Parameters:
xpos x position of video
ypos y position of video
xsize size of video display
ysize size of video display
left_clip number of pixels at left of source video to clip
top_clip y number of pixels at top of source video to clip
right_clip number of pixels at right of source video to clip
bottom_clip number of pixels at bottom of source video to clip
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_SetSource (MID2246_SOURCE input, BOOL bTest, int board)
Sets the video input source. Note: will stop the stream when input changed.
Parameters:
input is the enumerated input MID2246_SOURCE enum(composite, svideo, DV...) (see
mid22xxconst.h)
bTest whether to include colorbars or not
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_GetSource (MID2246_SOURCE * pSource, int board)
Gets the current video source
Parameters:
pSource pointer to returned value of current input source
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_SetVidSys (MID2246_VIDSYS vidsys, int board)
Set the current video system
Parameters:
vidsys is the video system type
board ID if multiple boards installed.
Returns:
0 on success
MID2246_API int SN_GetVidSys (int board)
Get the current video system
Parameters:
board ID if multiple boards installed.
Returns:
the video system type on success
29