Package-level declarations

Types

Link copied to clipboard
data class BgraRawImage(val size: ImageSize, val bytes: ByteArray)

Represents an image with 8-bit BGRA color components with the values Blue, Green, and Red stored in 3 bytes and 1 byte of alpha.

Link copied to clipboard
data class BgrRawImage(val size: ImageSize, val bytes: ByteArray)

Represents an image with 8-bit BGR color components with the values Blue, Green, and Red stored in 3 bytes.

Link copied to clipboard
data class Image(val format: ImageFormat, val size: ImageSize, val bytes: ByteArray)

Represents an image.

Link copied to clipboard

Image format.

Link copied to clipboard

Image rotation.

Link copied to clipboard
data class ImageSize(val width: Int, val height: Int)

Represents image size in pixels.

Link copied to clipboard
data class Nv21Image(val size: ImageSize, val rotation: ImageRotation, val bytes: ByteArray)

Represents an Android NV21 image.