beautypg.com

S2263_startpreview, S2263_enablesnapshot, S2263_startsnapshot – Sensoray 2263 User Manual

Page 13

background image

fileName

full path to the target file, no extension.

bUnicode

TRUE if filename is unicode.

devid

device id in the system (use 0 with a single board installed).

S2263_StartPreview

MID2263_API int __stdcall S2263_StartPreview (

int

devid);

Starts video stream and displays video in a pop-up window.
devid

device id in the system (use 0 with a single board installed).

S2263_EnableSnapshot

MID2263_API int __stdcall S2263_EnableSnapshot (

BOOL

bOn,

int

devid,

int

strmidx);

Enables or disables snapshots (using S2263_GetSample) for preview or record

streams. Disabling snapshots decreases CPU usage. Snapshots are enabled by
default.
bOn

TRUE - enables S2263_GetSample function, FALSE - disables it.

devid

device id in the system (use 0 with a single board installed).

strmidx

stream index (0 or 1).

S2263_StartSnapshot

MID2263_API int __stdcall S2263_StartSnapshot (

int

devid,

int

strmidx);

Starts a snapshot stream. Device will stream and samples will be buffered
until S2263_GetSample is called. Stream will not be previewed or recorded.
Stop stream with S2263_StopStream. Snapshot stream is independent from
preview or record stream. Snapshots can still be obtained with preview or
record by using S2263_EnableSnapshot.

13