public class VideoFrameDrawer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
VideoFrameDrawer() |
Modifier and Type | Method and Description |
---|---|
void |
drawFrame(VideoFrame frame,
RendererCommon.GlDrawer drawer) |
void |
drawFrame(VideoFrame frame,
RendererCommon.GlDrawer drawer,
android.graphics.Matrix additionalRenderMatrix) |
void |
drawFrame(VideoFrame frame,
RendererCommon.GlDrawer drawer,
android.graphics.Matrix additionalRenderMatrix,
int viewportX,
int viewportY,
int viewportWidth,
int viewportHeight) |
static void |
drawTexture(RendererCommon.GlDrawer drawer,
VideoFrame.TextureBuffer buffer,
android.graphics.Matrix renderMatrix,
int frameWidth,
int frameHeight,
int viewportX,
int viewportY,
int viewportWidth,
int viewportHeight)
Draws a VideoFrame.TextureBuffer.
|
VideoFrame.Buffer |
prepareBufferForViewportSize(VideoFrame.Buffer buffer,
int width,
int height) |
void |
release() |
public static final java.lang.String TAG
public static void drawTexture(RendererCommon.GlDrawer drawer, VideoFrame.TextureBuffer buffer, android.graphics.Matrix renderMatrix, int frameWidth, int frameHeight, int viewportX, int viewportY, int viewportWidth, int viewportHeight)
public void drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer)
public void drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer, android.graphics.Matrix additionalRenderMatrix)
public void drawFrame(VideoFrame frame, RendererCommon.GlDrawer drawer, @Nullable android.graphics.Matrix additionalRenderMatrix, int viewportX, int viewportY, int viewportWidth, int viewportHeight)
public VideoFrame.Buffer prepareBufferForViewportSize(VideoFrame.Buffer buffer, int width, int height)
public void release()
6.4.1