webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
interface | GlDrawer |
interface | RendererEvents |
enum | ScalingType |
class | VideoLayoutMeasure |
class | YuvUploader |
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 Point | getDisplaySize (ScalingType scalingType, float videoAspectRatio, int maxDisplayWidth, int maxDisplayHeight) |
Static helper functions for renderer implementations.
|
inlinestatic |
Calculate display size based on scaling type, video aspect ratio, and maximum display size.
|
inlinestatic |
Returns layout transformation matrix that applies an optional mirror effect and compensates for video vs display aspect ratio.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Returns new matrix with the result of a * b.
|
inlinestatic |
Returns texture matrix that will have the effect of rotating the frame |rotationDegree| clockwise when rendered.
|
inlinestatic |