CVImageStructs.h File Reference
#include "CVRes.h"
Go to the source code of this file. Compounds
Typedefs
Enumerations
- enum {
CVIMAGETYPE_DEFAULT = 0,
CVIMAGETYPE_RGB24 = 1,
CVIMAGETYPE_RGBFLOAT = 2,
CVIMAGETYPE_GREY = 3,
CVIMAGETYPE_RGBINT = 4,
CVIMAGETYPE_GREYINT = 5,
CVIMAGETYPE_GREYFLOAT = 6
}
- enum {
VIDCAP_FORMAT_UNKNOWN = 0,
VIDCAP_FORMAT_YVU9,
VIDCAP_FORMAT_Y411,
VIDCAP_FORMAT_Y41P,
VIDCAP_FORMAT_YUY2,
VIDCAP_FORMAT_YVYU,
VIDCAP_FORMAT_UYVY,
VIDCAP_FORMAT_Y211,
VIDCAP_FORMAT_CLJR,
VIDCAP_FORMAT_IF09,
VIDCAP_FORMAT_CPLA,
VIDCAP_FORMAT_MJPG,
VIDCAP_FORMAT_TVMJ,
VIDCAP_FORMAT_WAKE,
VIDCAP_FORMAT_CFCC,
VIDCAP_FORMAT_IJPG,
VIDCAP_FORMAT_Plum,
VIDCAP_FORMAT_RGB1,
VIDCAP_FORMAT_RGB4,
VIDCAP_FORMAT_RGB8,
VIDCAP_FORMAT_RGB565,
VIDCAP_FORMAT_RGB555,
VIDCAP_FORMAT_RGB24,
VIDCAP_FORMAT_RGB32,
VIDCAP_FORMAT_ARGB32,
VIDCAP_FORMAT_Overlay,
VIDCAP_FORMAT_QTMovie,
VIDCAP_FORMAT_QTRpza,
VIDCAP_FORMAT_QTSmc,
VIDCAP_FORMAT_QTRle,
VIDCAP_FORMAT_QTJpeg,
VIDCAP_FORMAT_dvsd,
VIDCAP_FORMAT_dvhd,
VIDCAP_FORMAT_dvsl,
VIDCAP_FORMAT_MPEG1Packet,
VIDCAP_FORMAT_MPEG1Payload,
VIDCAP_FORMAT_VPVideo,
VIDCAP_FORMAT_MPEG1Video,
VIDCAP_FORMAT_I420,
VIDCAP_FORMAT_IYUV,
VIDCAP_FORMAT_Y444,
VIDCAP_FORMAT_Y800,
VIDCAP_FORMAT_Y422,
VIDCAP_NUM_FORMATS
}
Variables
Typedef Documentation
|
|
! These are all the formats in the DirectX 8.1 documentation, ! plus a few I've encountered that weren't in the docs or .h's. ! ! Honestly, we don't particularly care what the format is ! for the DirectX code, but we may need to know on other ! platforms that don't automagically perform conversions. ! ! The library itself currently only returns RGB24, RGBFloat, ! and Grey scale images regardless of the format of the input ! video - totally independant of what format the input video ! is in. ! ! We also need to tell the user what format the camera is ! in to differentiate between the various modes of a camera. ! ! While the type names are ripped from DirectX - these values are not ! equivalent to the DirectX codes. There is a conversion table ! between the two in the DirectX-specific class (CVVidCaptureDSWin32). ! Other platforms will need to convert their own values to these ! as well...
Definition at line 120 of file CVImageStructs.h.
Referenced by CVDevGetFormatName(), and CVVidCaptureDSWin32::GetVidCapFormat(). |
Enumeration Type Documentation
|
|
- Enumeration values:
-
| CVIMAGETYPE_DEFAULT |
Default type (sometimes used for auto-detect) |
| CVIMAGETYPE_RGB24 |
8-bit red, green, blue triplets |
| CVIMAGETYPE_RGBFLOAT |
32-bit float red, green, blue triplets |
| CVIMAGETYPE_GREY |
8-bit intensity values |
| CVIMAGETYPE_RGBINT |
|
| CVIMAGETYPE_GREYINT |
32-bit integer red, green, blue triplets |
| CVIMAGETYPE_GREYFLOAT |
32-bit integer intensity values |
Definition at line 57 of file CVImageStructs.h. |
|
|
- Enumeration values:
-
| VIDCAP_FORMAT_UNKNOWN |
|
| VIDCAP_FORMAT_YVU9 |
|
| VIDCAP_FORMAT_Y411 |
|
| VIDCAP_FORMAT_Y41P |
|
| VIDCAP_FORMAT_YUY2 |
|
| VIDCAP_FORMAT_YVYU |
|
| VIDCAP_FORMAT_UYVY |
|
| VIDCAP_FORMAT_Y211 |
|
| VIDCAP_FORMAT_CLJR |
|
| VIDCAP_FORMAT_IF09 |
|
| VIDCAP_FORMAT_CPLA |
|
| VIDCAP_FORMAT_MJPG |
|
| VIDCAP_FORMAT_TVMJ |
|
| VIDCAP_FORMAT_WAKE |
|
| VIDCAP_FORMAT_CFCC |
|
| VIDCAP_FORMAT_IJPG |
|
| VIDCAP_FORMAT_Plum |
|
| VIDCAP_FORMAT_RGB1 |
|
| VIDCAP_FORMAT_RGB4 |
|
| VIDCAP_FORMAT_RGB8 |
|
| VIDCAP_FORMAT_RGB565 |
|
| VIDCAP_FORMAT_RGB555 |
|
| VIDCAP_FORMAT_RGB24 |
|
| VIDCAP_FORMAT_RGB32 |
|
| VIDCAP_FORMAT_ARGB32 |
|
| VIDCAP_FORMAT_Overlay |
|
| VIDCAP_FORMAT_QTMovie |
|
| VIDCAP_FORMAT_QTRpza |
|
| VIDCAP_FORMAT_QTSmc |
|
| VIDCAP_FORMAT_QTRle |
|
| VIDCAP_FORMAT_QTJpeg |
|
| VIDCAP_FORMAT_dvsd |
|
| VIDCAP_FORMAT_dvhd |
|
| VIDCAP_FORMAT_dvsl |
|
| VIDCAP_FORMAT_MPEG1Packet |
|
| VIDCAP_FORMAT_MPEG1Payload |
|
| VIDCAP_FORMAT_VPVideo |
|
| VIDCAP_FORMAT_MPEG1Video |
|
| VIDCAP_FORMAT_I420 |
|
| VIDCAP_FORMAT_IYUV |
|
| VIDCAP_FORMAT_Y444 |
|
| VIDCAP_FORMAT_Y800 |
|
| VIDCAP_FORMAT_Y422 |
|
| VIDCAP_NUM_FORMATS |
|
Definition at line 121 of file CVImageStructs.h. |
Variable Documentation
|