MultiPlaneImage

data class MultiPlaneImage(val width: Int, val height: Int, internalPlanes: List<MultiPlaneImage.Plane>, val timestamp: Long, val elapsedRealtimeWhenCaptured: Long, val seq: Long = 0, val orientation: Orientation = Orientation(false, RotationDegrees.R0))

Represents an image composed of multiple planes.

Constructors

Link copied to clipboard
fun MultiPlaneImage(width: Int, height: Int, internalPlanes: List<MultiPlaneImage.Plane>, timestamp: Long, elapsedRealtimeWhenCaptured: Long, seq: Long = 0, orientation: Orientation = Orientation(false, RotationDegrees.R0))

Types

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

Represents a plane of image data.

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

The elapsed real-time when the image was captured.

Link copied to clipboard
val height: Int

The height of the image.

Link copied to clipboard

The orientation of the image (default value is Orientation with rotation RotationDegrees.R0).

Link copied to clipboard
Link copied to clipboard
val seq: Long = 0

The sequence number of the image (default value is 0).

Link copied to clipboard

The timestamp of the image.

Link copied to clipboard
val width: Int

The width of the image.