PixelFormat Enum¶
This type is an EasyAR Sense API in C#: PixelFormat . Some descriptions may not apply to Unity environment on this page.
Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.
Description¶
PixelFormat represents the format of image pixel data. All formats follow the pixel direction from left to right and from top to bottom.
Constant |
Value |
Description |
---|---|---|
Unknown |
0 |
Unknown |
Gray |
1 |
256 shades grayscale |
YUV_NV21 |
2 |
YUV_NV21 |
YUV_NV12 |
3 |
YUV_NV12 |
YUV_I420 |
4 |
YUV_I420 |
YUV_YV12 |
5 |
YUV_YV12 |
RGB888 |
6 |
RGB888 |
BGR888 |
7 |
BGR888 |
RGBA8888 |
8 |
RGBA8888 |
BGRA8888 |
9 |
BGRA8888 |