HardwareBufferFrameQueue.FrameFormat


class HardwareBufferFrameQueue.FrameFormat


Defines the configuration parameters required for a HardwareBuffer.

Summary

Public constructors

FrameFormat(width: Int, height: Int, pixelFormat: Int, usageFlags: Long)

Creates a new FrameFormat instance.

Public functions

Boolean
equals(o: Any?)
Int
String!

Public constructors

FrameFormat

FrameFormat(width: Int, height: Int, pixelFormat: Int, usageFlags: Long)

Creates a new FrameFormat instance.

Parameters
width: Int

The width of the buffer in pixels.

height: Int

The height of the buffer in pixels.

pixelFormat: Int

The format of the HardwareBuffer.

usageFlags: Long

The usage flags of the HardwareBuffer.

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String!

Public properties

height

val heightInt

pixelFormat

val pixelFormatInt

usageFlags

val usageFlagsLong

width

val widthInt