public static interface VideoFrame.Buffer
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getWidth()
Resolution of the buffer in pixels.
|
void |
release() |
void |
retain()
Reference counting is needed since a video buffer can be shared between multiple VideoSinks,
and the buffer needs to be returned to the VideoSource as soon as all references are gone.
|
VideoFrame.I420Buffer |
toI420()
Returns a memory-backed frame in I420 format.
|
int getWidth()
int getHeight()
VideoFrame.I420Buffer toI420()
void retain()
void release()