public class Monitor
extends java.lang.Object
| Constructor and Description |
|---|
Monitor(int positionVertexHandle,
int textureVertexHandle,
float top,
float bottom,
float z) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(int positionVertexHandle,
int textureVertexHandle) |
void |
refresh(int positionVertexHandle,
int textureVertexHandle,
int samplerY,
int samplerU,
int samplerV) |
void |
setOrientation(YSpVideoView.OrientationType orientationType,
int rotateAngle,
boolean adjustImmediately) |
void |
setRenderFormat(int formatHandle,
int format) |
void |
setSize(int width,
int height,
VideoConstant.ScaleMode scaleMode) |
void |
updateAsRGB(int width,
int height,
int type,
java.nio.ByteBuffer data) |
void |
updateAsYUV(YYRenderFrameBuffer buffer) |
void |
updateRenderSizeIfNeed(int width,
int height,
int imageWidth,
VideoConstant.ScaleMode scaleMode) |
void |
updateRenderSizeIfNeedMultiVideo(int imageW,
int imageH,
int viewW,
int viewH,
VideoConstant.ScaleMode scaleMode) |
public Monitor(int positionVertexHandle,
int textureVertexHandle,
float top,
float bottom,
float z)
public void setSize(int width,
int height,
VideoConstant.ScaleMode scaleMode)
public void setOrientation(YSpVideoView.OrientationType orientationType, int rotateAngle, boolean adjustImmediately)
public void setRenderFormat(int formatHandle,
int format)
public void updateRenderSizeIfNeed(int width,
int height,
int imageWidth,
VideoConstant.ScaleMode scaleMode)
public void updateRenderSizeIfNeedMultiVideo(int imageW,
int imageH,
int viewW,
int viewH,
VideoConstant.ScaleMode scaleMode)
public void updateAsRGB(int width,
int height,
int type,
java.nio.ByteBuffer data)
public void updateAsYUV(YYRenderFrameBuffer buffer)
public void refresh(int positionVertexHandle,
int textureVertexHandle,
int samplerY,
int samplerU,
int samplerV)
public void destroy(int positionVertexHandle,
int textureVertexHandle)