YuvLayout enum

Memory layout of a packed YUV buffer produced by packYuv420.

This enum is intentionally opencv-free: callers wrap PackedYuv.bytes in whatever their image library expects. For opencv_dart, map the layout to the matching COLOR_YUV2BGR_* / COLOR_YUV2RGB_* conversion code.

Inheritance
Available extensions

Values

nv12 → const YuvLayout

Y plane followed by interleaved U,V,U,V,... (iOS camera default).

nv21 → const YuvLayout

Y plane followed by interleaved V,U,V,U,... (most Android devices).

i420 → const YuvLayout

Y plane, then full U plane, then full V plane (planar Android).

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<YuvLayout>
A constant List of the values in this enum, in order of their declaration.