public static class VideoRenderer.I420Frame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
rotationDegree |
float[] |
samplingMatrix |
int |
textureId |
int |
width |
boolean |
yuvFrame |
java.nio.ByteBuffer[] |
yuvPlanes |
int[] |
yuvStrides |
Constructor and Description |
---|
I420Frame(int width,
int height,
int rotationDegree,
float[] samplingMatrix,
VideoFrame.Buffer buffer,
long nativeFramePointer)
Construct a frame of the given dimensions from VideoFrame.Buffer.
|
I420Frame(int width,
int height,
int rotationDegree,
int[] yuvStrides,
java.nio.ByteBuffer[] yuvPlanes,
long nativeFramePointer)
Construct a frame of the given dimensions with the specified planar data.
|
I420Frame(int width,
int height,
int rotationDegree,
int textureId,
float[] samplingMatrix,
long nativeFramePointer)
Construct a texture frame of the given dimensions with data in SurfaceTexture
|
Modifier and Type | Method and Description |
---|---|
int |
rotatedHeight() |
int |
rotatedWidth() |
java.lang.String |
toString() |
public final int width
public final int height
public final int[] yuvStrides
public java.nio.ByteBuffer[] yuvPlanes
public final boolean yuvFrame
public final float[] samplingMatrix
public int textureId
public int rotationDegree
public I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, java.nio.ByteBuffer[] yuvPlanes, long nativeFramePointer)
public I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix, long nativeFramePointer)
public I420Frame(int width, int height, int rotationDegree, float[] samplingMatrix, VideoFrame.Buffer buffer, long nativeFramePointer)