Agora Java API Reference for Android
|
Public Member Functions | |
YuvConverter () | |
VideoFrame.I420Buffer | convert (VideoFrame.TextureBuffer textureBuffer) |
void | release () |
Class for converting OES textures to a YUV ByteBuffer. It should be constructed on a thread with an active EGL context, and only be used from that thread.
io.agora.rtc.gl.YuvConverter.YuvConverter | ( | ) |
This class should be constructed on a thread that has an active EGL context.
VideoFrame.I420Buffer io.agora.rtc.gl.YuvConverter.convert | ( | VideoFrame.TextureBuffer | textureBuffer | ) |
Converts the texture buffer to I420.