Package tvi.webrtc
Class YuvConverter
java.lang.Object
tvi.webrtc.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.
-
Constructor Summary
ConstructorDescriptionThis class should be constructed on a thread that has an active EGL context.YuvConverter
(VideoFrameDrawer videoFrameDrawer) -
Method Summary
Modifier and TypeMethodDescriptionconvert
(VideoFrame.TextureBuffer inputTextureBuffer) Converts the texture buffer to I420.void
release()
-
Constructor Details
-
YuvConverter
public YuvConverter()This class should be constructed on a thread that has an active EGL context. -
YuvConverter
-
-
Method Details
-
convert
Converts the texture buffer to I420. -
release
public void release()
-