PixelFormat enum
Raw pixel-buffer format accepted by XybridEnvelope.imageRaw.
Mirrors the Rust PixelFormat (xybrid-core, vision feature) so camera or
canvas frames can be sent as raw pixels without JPEG re-encoding. Unsupported
raw formats (P010, 10-bit YUV, premultiplied alpha, opaque handles) are
rejected as UnsupportedPixelFormat before any pixel bytes are read.
Values
- rgb8 → const PixelFormat
-
Packed RGB, 8 bits per channel.
- rgba8 → const PixelFormat
-
Packed RGBA, 8 bits per channel.
- bgra8 → const PixelFormat
-
Packed BGRA, 8 bits per channel.
- nv12 → const PixelFormat
-
Semi-planar YUV 4:2:0 with interleaved UV chroma.
- nv21 → const PixelFormat
-
Semi-planar YUV 4:2:0 with interleaved VU chroma.
- i420 → const PixelFormat
-
Tri-planar YUV 4:2:0, also known as I420.
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<
PixelFormat> - A constant List of the values in this enum, in order of their declaration.