S2253_getimagesize, S2253_setstreamtype – Sensoray 2253 Windows User Manual
Page 24

devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2253_GetImageSize
MID2253_API int __stdcall S2253_GetImageSize (
int
*width,
int
*height,
int
devid,
int
strmidx)
;
Retrieves currently set image size (resolution). The values may not match
those passed by S2253_SetImageSize function, in case those were invalid. If
the size changes, it will change after the stream is started. Therefor it is best
to call S2253_GetImageSize after the stream is running.
width
pointer to the variable receiving the width of the image.
height
pointer to the variable receiving the height of the image.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2253_SetStreamType
MID2253_API int __stdcall S2253_SetStreamType(
MID2253_STREAMTYPE
stype,
int
devid,
int
strmidx);
Sets the required stream type (compression). Please see mid2253types.h for
the description.
stype
One of supported stream types.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
24