Sensoray 812 Windows Uživatelský manuál Strana 19

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 21
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 18
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_SetColorSpace(
MID812_COLORSPACE cspace,
int devid,
int strmidx
);
Sets the colorspace for preview and for callback streaming. Please note that for preview if the
video card does not support the colorspace (typically most modern video cards do not support
RGB565), performance problems may result.
Parameters
cspace
colorspace of the RAW data. MID812_COLORSPACE_YUY2, MID812_COLORSPACE_UYVY,
MID812_COLORSPACE_RGB565.
devid
device id in the system (use 0 with a single board installed).
strmidx
channel index (0-7)
Returns
0 on success, negative value if error (see mid812types.h for error codes list).
MID812_API int S812_GetColorSpace(
MID812_COLORSPACE *cspace,
int devid,
int strmidx
);
Returns the current colorspace setting.
Parameters
cspace
colorspace of the RAW data. MID812_COLORSPACE_YUY2, MID812_COLORSPACE_UYVY,
MID812_COLORSPACE_RGB565.
devid
device id in the system (use 0 with a single board installed).
19
Zobrazit stránku 18
1 2 ... 14 15 16 17 18 19 20 21

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

Žádné komentáře