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