Package | Description |
---|---|
org.webrtc |
Modifier and Type | Method and Description |
---|---|
static JavaI420Buffer |
JavaI420Buffer.allocate(int width,
int height)
Allocates an empty I420Buffer suitable for an image of the given dimensions.
|
static JavaI420Buffer |
JavaI420Buffer.wrap(int width,
int height,
java.nio.ByteBuffer dataY,
int strideY,
java.nio.ByteBuffer dataU,
int strideU,
java.nio.ByteBuffer dataV,
int strideV,
java.lang.Runnable releaseCallback)
Wraps existing ByteBuffers into JavaI420Buffer object without copying the contents.
|