User's Manual

7.5.14 DVS300_GetResolution
Syn t a x
int DVS300_GetResolution(int nDevNum, VideoSize * Size)
Pa ram et e r s
nDevNum: Specifies the device num ber(0~ 3) .
Size: A pointer to get video resolution.
typedef enum
{
SIZEFULLPAL= 0, / / (PAL: 768x576)
SI ZED1, / / (NTSC: 720x480, PAL: 720x576)
SI ZEVGA, / / (640x480)
SI ZEQVGA, / / (320x240)
SI ZESUBQVGA / / (160x120)
} VideoSize;
Ret urn Value
SUCCEEDED: Function succeeded.
FAI LED: Function failed.
DEVICENUMERROR: I nvalid device num ber.
PARAMERROR: I nvalid param eter.
SDKINITFAI LED: SDK not initialized.
De script ion
This function gets video resolution of a specified capture port.
Se e Also
DVS300_SetResolution