public interface VideoFrame
Modifier and Type | Interface and Description |
---|---|
static interface |
VideoFrame.Buffer
Video frame buffer basic class
|
static interface |
VideoFrame.I420Buffer
Definition of I420 buffers
|
static interface |
VideoFrame.TextureBuffer
Definition of texture buffers
|
Modifier and Type | Method and Description |
---|---|
VideoFrame.Buffer |
getBuffer()
When the sdk uses a hard decoder to decode, the returned Buffer type is
VideoFrame.TextureBuffer When the sdk uses a soft decoder to decode, the returned Buffer type is VideoFrame.I420Buffer |
int |
getHeight()
Video frame height
|
int |
getRotation()
The clockwise rotation angle of video pixels.
|
long |
getTimestampNs()
The timestamp of the video frame, in ns
|
int |
getWidth()
Video frame width
|
void |
release()
Decreases ref count by one.
|
void |
retain()
Increases ref count by one.
|
VideoFrame.Buffer getBuffer()
VideoFrame.TextureBuffer
VideoFrame.I420Buffer
int getRotation()
long getTimestampNs()
int getWidth()
int getHeight()
void retain()
void release()