Package tvi.webrtc

Interface VideoFrame.TextureBuffer

All Superinterfaces:
RefCounted, VideoFrame.Buffer
All Known Implementing Classes:
Enclosing class:

public static interface VideoFrame.TextureBuffer extends VideoFrame.Buffer
Interface for buffers that are stored as a single texture, either in OES or RGB format.
  • Method Details

    • getType

    • getTextureId

      int getTextureId()
    • getTransformMatrix 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.