public class Coordinate
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Coordinate.Size |
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.FloatBuffer |
mVertexBuffer |
| Modifier | Constructor and Description |
|---|---|
protected |
Coordinate(float[] vertex) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyRatioIfNeed(int width,
int height,
int imageWidth,
VideoConstant.ScaleMode scaleMode) |
protected boolean |
applyRatioIfNeedMultiVideo(int imageWidth,
int imageHeight,
int viewWidth,
int viewHight,
VideoConstant.ScaleMode scaleType) |
protected boolean |
applySizeRatio() |
protected int |
getBufferSize() |
void |
setOrientation(YSpVideoView.OrientationType orientationType,
int rotateAngle,
boolean adjustImmediately) |
protected void |
setSize(int width,
int height,
VideoConstant.ScaleMode scaleMode) |
protected int getBufferSize()
protected void setSize(int width,
int height,
VideoConstant.ScaleMode scaleMode)
public void setOrientation(YSpVideoView.OrientationType orientationType, int rotateAngle, boolean adjustImmediately)
protected boolean applySizeRatio()
protected boolean applyRatioIfNeedMultiVideo(int imageWidth,
int imageHeight,
int viewWidth,
int viewHight,
VideoConstant.ScaleMode scaleType)
protected boolean applyRatioIfNeed(int width,
int height,
int imageWidth,
VideoConstant.ScaleMode scaleMode)