Agora Java API Reference for Android
|
Classes | |
interface | GlDrawer |
interface | RendererEvents |
enum | ScalingType |
class | VideoLayoutMeasure |
Static Public Member Functions | |
static final float [] | identityMatrix () |
static final float [] | verticalFlipMatrix () |
static final float [] | horizontalFlipMatrix () |
static float [] | rotateTextureMatrix (float[] textureMatrix, float rotationDegree) |
static float [] | multiplyMatrices (float[] a, float[] b) |
static float [] | getLayoutMatrix (boolean mirror, float videoAspectRatio, float displayAspectRatio) |
static android.graphics.Matrix | convertMatrixToAndroidGraphicsMatrix (float[] matrix4x4) |
static float [] | convertMatrixFromAndroidGraphicsMatrix (android.graphics.Matrix matrix) |
static Point | getDisplaySize (ScalingType scalingType, float videoAspectRatio, int maxDisplayWidth, int maxDisplayHeight) |
Static helper functions for renderer implementations.
|
static |
Returns texture matrix that will have the effect of rotating the frame |rotationDegree| clockwise when rendered.
|
static |
Returns new matrix with the result of a * b.
|
static |
Returns layout transformation matrix that applies an optional mirror effect and compensates for video vs display aspect ratio.
|
static |
Converts a float[16] matrix array to android.graphics.Matrix.
|
static |
Converts android.graphics.Matrix to a float[16] matrix array.
|
static |
Calculate display size based on scaling type, video aspect ratio, and maximum display size.