PackedImageFormat enum

Backend-neutral packed image formats used by camera frame decode plans.

These describe how bytes are laid out in memory. Image backends such as OpenCV still decide which concrete Mat / bitmap / native buffer type to construct from the layout.

Inheritance
Available extensions

Values

bgra8888 → const PackedImageFormat

8-bit BGRA, four bytes per pixel.

rgba8888 → const PackedImageFormat

8-bit RGBA, four bytes per pixel.

yuv420Nv12 → const PackedImageFormat

YUV420 NV12: Y plane followed by interleaved UV bytes.

yuv420Nv21 → const PackedImageFormat

YUV420 NV21: Y plane followed by interleaved VU bytes.

yuv420I420 → const PackedImageFormat

YUV420 I420: Y plane, then U plane, then V plane.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<PackedImageFormat>
A constant List of the values in this enum, in order of their declaration.