37 / 58
37
Mode functions:
int
iCube
SDK_
SetMode(int nCamIndex,int nMode)
Purpose:
set the basic format (e.g. 640x480). This function has to be called before
“
iCube
SDK_Start”.
If
iCube
SDK_SetMode is not used, the camera will start with the default mode
(highest resolution).
Description
Parameters
int
CamIndex,
int
nMode
Return value
int
stat
Return value:
int
stat: IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
int
nMode: this value sets the basis format (see table below)
Table 2:
resolution
Mode Resolution
0
320x240 QVGA
1
640x480 VGA
2
752x480 WVGA
3
800x600 SVGA
4
1024x768 XGA
5
1280x1024 SXGA
6
1600x1200 UXGA
7
2048x1536 QXGA
8
2592x1944 QSXGA
9
3840x2748 WQUXGA