YuvFrame

open fun YuvFrame(videoFrame: VideoFrame)

Creates a YuvFrame from the provided VideoFrame. Does no processing, and uses the current time as a timestamp.

Parameters

videoFrame

Source VideoFrame.


open fun YuvFrame(videoFrame: VideoFrame, processingFlags: Int)

Creates a YuvFrame from the provided VideoFrame. Does any processing indicated, and uses the current time as a timestamp.

Parameters

videoFrame

Source VideoFrame.

processingFlags

Processing flags, YuvFrame.PROCESSING_NONE for no processing.


open fun YuvFrame(videoFrame: VideoFrame, processingFlags: Int, timestamp: Long)

Creates a YuvFrame from the provided VideoFrame. Does any processing indicated, and uses the given timestamp.

Parameters

videoFrame

Source VideoFrame.

processingFlags

Processing flags, YuvFrame.PROCESSING_NONE for no processing.

timestamp

The timestamp to give the frame.