Package | Description |
---|---|
org.webrtc |
Modifier and Type | Interface and Description |
---|---|
static interface |
VideoFrame.I420Buffer
Interface for I420 buffers.
|
static interface |
VideoFrame.TextureBuffer
Interface for buffers that are stored as a single texture, either in OES or RGB format.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaI420Buffer
Implementation of VideoFrame.I420Buffer backed by Java direct byte buffers.
|
class |
NV12Buffer |
class |
NV21Buffer |
class |
TextureBufferImpl
Android texture buffer that glues together the necessary information together with a generic
release callback.
|
Modifier and Type | Method and Description |
---|---|
VideoFrame.Buffer |
TextureBufferImpl.cropAndScale(int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight) |
VideoFrame.Buffer |
VideoFrame.Buffer.cropAndScale(int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight)
Crops a region defined by |cropx|, |cropY|, |cropWidth| and |cropHeight|.
|
VideoFrame.Buffer |
NV12Buffer.cropAndScale(int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight) |
VideoFrame.Buffer |
NV21Buffer.cropAndScale(int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight) |
VideoFrame.Buffer |
JavaI420Buffer.cropAndScale(int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight) |
static VideoFrame.Buffer |
JavaI420Buffer.cropAndScaleI420(VideoFrame.I420Buffer buffer,
int cropX,
int cropY,
int cropWidth,
int cropHeight,
int scaleWidth,
int scaleHeight) |
VideoFrame.Buffer |
VideoFrame.getBuffer() |
Constructor and Description |
---|
VideoFrame(VideoFrame.Buffer buffer,
int rotation,
long timestampNs)
Constructs a new VideoFrame backed by the given
buffer . |