Frame

class Frame

Constructors

Link copied to clipboard
fun Frame(width: Int, height: Int, dataY: CustomVideoSourceYUV420.ByteArrayRange, dataU: CustomVideoSourceYUV420.ByteArrayRange, dataV: CustomVideoSourceYUV420.ByteArrayRange, strideY: Int, strideU: Int, strideV: Int, rotation: CustomVideoSourceYUV420.Rotation, timestampNs: Long)

Create a new YUV frame from the specified data.

Properties

Link copied to clipboard
val dataU: ByteBuffer
Link copied to clipboard
val dataV: ByteBuffer
Link copied to clipboard
val dataY: ByteBuffer
Link copied to clipboard
val height: Int
Link copied to clipboard
val rotation: CustomVideoSourceYUV420.Rotation
Link copied to clipboard
val strideU: Int
Link copied to clipboard
val strideV: Int
Link copied to clipboard
val strideY: Int
Link copied to clipboard
val timestampNs: Long
Link copied to clipboard
val width: Int