VideoFrameTextureBuffer
class VideoFrameTextureBuffer(val width: Int, val height: Int, val textureId: Int, val transformMatrix: Matrix?, val type: VideoFrameTextureBuffer.Type, releaseCallback: Runnable) : VideoFrameBuffer
VideoFrameTextureBuffer provides an reference counted wrapper of an OpenGLES texture and related metadata
Constructors
Link copied to clipboard
constructor(width: Int, height: Int, textureId: Int, transformMatrix: Matrix?, type: VideoFrameTextureBuffer.Type, releaseCallback: Runnable)
Properties
Link copied to clipboard
The transform matrix associated with the frame. This transform matrix maps 2D homogeneous coordinates of the form (s, t, 1) with s and t in the inclusive range [0, 1]
to the coordinate that should be used to sample that location from the buffer.
Link copied to clipboard
GL type of underlying GL texture