S2263_registercallback, Mode control functions, S2263_setvidsys – Sensoray 2263 User Manual
Page 15

minimize time spent in the callback routine otherwise the buffers used by
DirectShow (the Windows capture API) will overflow. See
S2263_RegisterCallback for details about the callback routine.
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
S2263_RegisterCallback
MID2263_API int __stdcall S2263_StartCallback (
cbfunc_t
callback,
int
devid,
int
strmidx);
Registers a callback. Care must be taken to minimize time spent in the
callback routine otherwise the buffers used by DirectShow (the Windows
capture API) will overflow.
callback
callback function to use. Callback function should be defined as follows: “int
callback_name(BYTE *data, long size, int devid, int strmidx).
devid
device id in the system (use 0 with a single board installed).
strmidx
stream index (0 or 1).
Mode Control Functions
S2263_SetVidSys
MID2263_API int __stdcall S2263_SetVidSys (
MID2263_VIDSYS
vidsys,
int
devid);
Sets the input video system (NTSC, PAL). Note: applies to both streams.
vidsys
video system enumerated type (see mid2263types.h).
devid
device id in the system (use 0 with a single board installed).
15