Sensoray 2224 Windows Uživatelský manuál Strana 41

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 40
callback function. See header file for definition of cbfunc_t function.
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_RegisterCallbackRaw(
cbfunc_t callback_function,
HANDLE hdev
);
Registers a callback function. Call before S2226_StartPreview, S2226_StartRecord,
S2226_StartPreviewAndRecord or S2226_StartCallback to receive the data as it is captured. Data
available in the callback is the raw preview downscaled stream (320x240). The callback is
unregistered after S2226_StopStream or S2226_StopRawPreview. Each callback will occur on
capture of a single complete frame (but not necessarily synchronized to the MPEG stream).
Parameters
callback_function
callback function. See header file for definition of cbfunc_t function.
hdev
handle to device (obtained from S2226_OpenBoard).
Returns
0 on success, negative value if error (see mid2226types.h for error codes list).
MID2226_API int S2226_StartRawPreviewCallback(
HANDLE hdev
);
This is similar to S2226_StartRawPreview, but it does not render the image (display it) on the
screen. It is designed to be used in conjunction with S2226_RegisterCallbackRaw in order to grab
raw frames faster (by streaming) instead of using the other S2226_ snapshot functions. Please
see the section S2226 Snapshot demo later in this manual.
Parameters
hdev
handle to device (obtained from S2226_OpenBoard).
41
Zobrazit stránku 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 93 94

Komentáře k této Příručce

Žádné komentáře