Plane

class Plane(val buffer: ByteBuffer, val rowStride: Int, val pixelStride: Int)

Represents a plane of image data.

Constructors

Link copied to clipboard
fun Plane(buffer: ByteBuffer, rowStride: Int, pixelStride: Int)

Properties

Link copied to clipboard

The ByteBuffer containing the pixel data of the plane.

Link copied to clipboard

The number of bytes between consecutive pixels in the plane.

Link copied to clipboard

The number of bytes between consecutive rows of pixels in the plane.