PixelFormat Class

Header: #include "easyar/image.hpp"

Description

PixelFormat表示图像像素格式。

enum PixelFormat

Constant

Value

Description

kPixelFormatUnknown

0

未知

kPixelFormatGray

1

灰度

kPixelFormatYUV_NV21

2

YUV (NV21)

kPixelFormatYUV_NV12

3

YUV (NV12)

kPixelFormatRGB888

4

RGB888

kPixelFormatBGR888

5

BGR888

kPixelFormatRGBA8888

6

RGBA8888