User's Manual

7.5.11 DVS300_SetVideoFormat
Syn t a x
int DVS300_SetVideoFormat( int nDevNum , AnalogVideoFormat* vFormat)
Pa ram et e r s
nDevNum: Specifies the port device num ber(0~ 3).
Vformat: video form at:
typedef enum tagAnalogVideoFormat
{
Video_None = 0x00000000,
Video_NTSC_M = 0x00000001,
Video_NTSC_M_J = 0x00000002,
Video_PAL_B = 0x00000010,
Video_PAL_M = 0x00000200,
Video_PAL_N = 0x00000400,
Video_SECAM_B = 0x00001000
} AnalogVideoFormat;
Ret urn Value
SUCCEEDED: Function succeeded.
FAI LED: Function failed.
DEVICENUMERROR: I nvalid device num ber.
SDKINITFAI LED: SDK not initialized.
De script ion
This function sets video input format a specified capture port. This function
should be called before DVS300_Start.
Se e Also
DVS300_GetVideoFormat