public static class VideoRenderer.I420Frame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
textureId |
java.lang.Object |
textureObject |
int |
width |
boolean |
yuvFrame |
java.nio.ByteBuffer[] |
yuvPlanes |
int[] |
yuvStrides |
Constructor and Description |
---|
I420Frame(int width,
int height,
int[] yuvStrides,
java.nio.ByteBuffer[] yuvPlanes)
Construct a frame of the given dimensions with the specified planar
data.
|
I420Frame(int width,
int height,
java.lang.Object textureObject,
int textureId)
Construct a texture frame of the given dimensions with data in
SurfaceTexture
|
Modifier and Type | Method and Description |
---|---|
VideoRenderer.I420Frame |
copyFrom(byte[] yuvData) |
VideoRenderer.I420Frame |
copyFrom(VideoRenderer.I420Frame source)
Copy the planes out of |source| into |this| and return |this|.
|
java.lang.String |
toString() |
public final int width
public final int height
public final int[] yuvStrides
public final java.nio.ByteBuffer[] yuvPlanes
public final boolean yuvFrame
public java.lang.Object textureObject
public int textureId
public I420Frame(int width, int height, int[] yuvStrides, java.nio.ByteBuffer[] yuvPlanes)
public I420Frame(int width, int height, java.lang.Object textureObject, int textureId)
public VideoRenderer.I420Frame copyFrom(VideoRenderer.I420Frame source)
public VideoRenderer.I420Frame copyFrom(byte[] yuvData)
public java.lang.String toString()
toString
in class java.lang.Object