YuvConverter

Class for converting OES textures to a YUV ByteBuffer. It can be constructed on any thread, but should only be operated from a single thread with an active EGL context.

Constructors

Link copied to clipboard
constructor()
This class should be constructed on a thread that has an active EGL context.
constructor(videoFrameDrawer: VideoFrameDrawer)

Functions

Link copied to clipboard
Converts the texture buffer to I420.
Link copied to clipboard
open fun release()