GlVideoFrameDrawer
interface GlVideoFrameDrawer
GlVideoFrameDrawer is a interface for implementing the drawing of video frames and supported buffers to the current EGL surface
Inheritors
Functions
Link copied to clipboard
abstract fun drawFrame(frame: VideoFrame, viewportX: Int, viewportY: Int, viewportWidth: Int, viewportHeight: Int, additionalRenderMatrix: Matrix?)
Draw a VideoFrame to the current EGL surface using the provided viewport and matrix. additionalRenderMatrix will be applied on top of any matrices attached to the video frame buffer. The resulting draw will have the rotation and any internal transform matrices applied.