DmaBufFrame class final

The dmabuf of an acquired frame.

See mln_dma_buf_frame in the C API reference.

Constructors

DmaBufFrame({int width = 0, int height = 0, double scaleFactor = 0, int slot = 0, int fourcc = 0, int modifier = 0, List<DmaBufPlane> planes = const []})

Properties

fourcc → int
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
final
modifier → int
final
planes → List<DmaBufPlane>
The buffer's planes, in the order that its fourcc and modifier define. Import all of them, as EGL_EXT_image_dma_buf_import_modifiers planes 0 and up, or with one zwp_linux_buffer_params_v1.add call each.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor → double
final
slot → int
The buffer's index in the ring.
final
width → int
final

Methods

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

Operators

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