enum ImageFormat (Niantic.ARDK.AR.ImageFormat)

Overview

Possible formats for an ImageBuffer. More...

enum ImageFormat {
    Grayscale  = 0,
    RGB        = 1,
    RGBA       = 2,
    BGRA       = 3,
    YCbCr12    = 4,
    YCbCr21    = 5,
    Incomplete = 6,
};

Detailed Documentation

Possible formats for an ImageBuffer.

Enum Values

Grayscale

Single plane, grayscale image.

RGB

Single plane, BGRA image.

RGBA

Single plane, BGRA image.

BGRA

Single plane, BGRA image.

YCbCr12

Dual plane, YCbCr (4:2:0) image. The YCbCr NV12 format, with Cb(U) coming before Cr(V) in each pair on the UV plane.

YCbCr21

Dual plane, YCbCr (4:2:0) image. The YCbCr NV21 format, with Cr(V) coming before Cb(U) in each pair on the UV plane.