ImagePlane class

One memory plane inside a raw pixel image.

Mirrors the Rust ImagePlane. Packed RGB-family inputs carry a single plane; NV12/NV21 carry two; I420 carries three. Plane validation in the core constructor enforces row stride, pixel stride, and extents.

Constructors

ImagePlane({required int offset, required int rowStride, required int pixelStride, required int width, required int height})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
Plane height in samples. Chroma planes are usually subsampled.
final
offset int
Byte offset into the raw pixel buffer where this plane begins.
final
pixelStride int
Bytes between adjacent samples in the same row.
final
rowStride int
Bytes between adjacent rows in this plane.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Plane width in samples. Chroma planes are usually subsampled.
final

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