Agora Java API Reference for Android
|
Classes | |
enum | Type |
Public Member Functions | |
Type | getType () |
int | getTextureId () |
Matrix | getTransformMatrix () |
![]() | |
int | getWidth () |
int | getHeight () |
I420Buffer | toI420 () |
void | retain () |
void | release () |
Buffer | cropAndScale (int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight) |
Interface for buffers stored as a single texture, either in OES or RGB format.
Matrix io.agora.rtc.gl.VideoFrame.TextureBuffer.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.
Implemented in io.agora.rtc.gl.TextureBufferImpl.