YuvFrame

open class YuvFrame

Constructors

Link copied to clipboard
open fun YuvFrame(videoFrame: VideoFrame)
Creates a YuvFrame from the provided VideoFrame.
Link copied to clipboard
open fun YuvFrame(videoFrame: VideoFrame, processingFlags: Int)
Creates a YuvFrame from the provided VideoFrame.
Link copied to clipboard
open fun YuvFrame(videoFrame: VideoFrame, processingFlags: Int, timestamp: Long)
Creates a YuvFrame from the provided VideoFrame.

Functions

Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun fromVideoFrame(videoFrame: VideoFrame, processingFlags: Int, timestamp: Long)
Replaces the data in this YuvFrame with the data from the provided frame.
Link copied to clipboard
open fun getBitmap(): Bitmap
Converts this YUV frame to an ARGB_8888 Bitmap.
Link copied to clipboard
open fun hasData(): Boolean

Properties

Link copied to clipboard
open var height: Int
Link copied to clipboard
open var nv21Buffer: Array<Byte>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var timestamp: Long
Link copied to clipboard
open var width: Int