PixelFormat Class¶
Header: #include "easyar/image.hpp"
Description¶
PixelFormat represents the format of image pixel data.
enum PixelFormat¶
Constant |
Value |
Description |
---|---|---|
kPixelFormatUnknown |
0 |
The Unknown format. |
kPixelFormatGray |
1 |
The gray format. |
kPixelFormatYUV_NV21 |
2 |
The YUV (NV21) format. |
kPixelFormatYUV_NV12 |
3 |
The YUV (NV12) format. |
kPixelFormatRGB888 |
4 |
The RGB888 format. |
kPixelFormatBGR888 |
5 |
The BGR888 format. |
kPixelFormatRGBA8888 |
6 |
The RGBA8888 format. |