Package tvi.webrtc
Interface VideoFrame.TextureBuffer
- All Superinterfaces:
RefCounted
,VideoFrame.Buffer
- All Known Implementing Classes:
TextureBufferImpl
- Enclosing class:
- VideoFrame
Interface for buffers that are stored as a single texture, either in OES or RGB format.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
android.graphics.Matrix
Retrieve the transform matrix associated with the frame.getType()
Methods inherited from interface tvi.webrtc.VideoFrame.Buffer
cropAndScale, getBufferType, getHeight, getWidth, release, retain, toI420
-
Method Details
-
getType
VideoFrame.TextureBuffer.Type getType() -
getTextureId
int getTextureId() -
getTransformMatrix
android.graphics.Matrix getTransformMatrix()Retrieve 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.
-