PixelFormat enum

Enumerates supported pixel formats.

Inheritance

Constructors

PixelFormat()
const

Values

undefined → const PixelFormat

Undefined.

grayscale8Bits → const PixelFormat

8-bits grayscale.

grayscale16Bits → const PixelFormat

16-bits grayscale.

grayscaleFloat → const PixelFormat

Floating point grayscale.

bgr24Bits → const PixelFormat

24 bits BGR.

rgb24Bits → const PixelFormat

24 bits RGB.

bgra → const PixelFormat

32 bits BGRA.

rgba → const PixelFormat

32 bits RGBA.

nv12 → const PixelFormat

NV12 (YUV semi-planar format).

i420 → const PixelFormat

I420 (YUV packed format).

yuy2 → const PixelFormat

YUY2 (YUV packed format).

yv12 → const PixelFormat

YV12 (YUV packed format).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PixelFormat>
A constant List of the values in this enum, in order of their declaration.
[undefined, grayscale8Bits, grayscale16Bits, grayscaleFloat, bgr24Bits, rgb24Bits, bgra, rgba, nv12, i420, yuy2, yv12]