FramePlane

interface FramePlane

A single plane of a planar Frame, e.g. the Y or the UV plane of a YUV Frame.

See also

Properties

Link copied to clipboard
abstract val bytesPerRow: Int

The number of bytes per row of this plane's pixel data.

Link copied to clipboard
abstract val height: Int

The height of this plane, in pixels, or 0 if it is not valid anymore.

Link copied to clipboard
abstract val isValid: Boolean

Whether this plane (and its parent Frame) is still valid, i.e. the Frame has not been disposed yet.

Link copied to clipboard
abstract val width: Int

The width of this plane, in pixels, or 0 if it is not valid anymore.

Functions

Link copied to clipboard
abstract fun getPixelBuffer(): ByteArray

Gets this plane's pixel data, as a copy.