public static class VideoFrame.DefaultVideoFrame extends java.lang.Object implements VideoFrame
VideoFrame.DefaultVideoFrame
Constructor and Description |
---|
DefaultVideoFrame(java.nio.ByteBuffer[] yuvPlanes,
int[] yuvStrides,
int width,
int height,
int rotationDegreesCW,
int colorFormat) |
Modifier and Type | Method and Description |
---|---|
int |
getColorFormat() |
int |
getRotation() |
int |
height() |
int |
width() |
java.nio.ByteBuffer[] |
yuvPlanes() |
int[] |
yuvStrides() |
public DefaultVideoFrame(java.nio.ByteBuffer[] yuvPlanes, int[] yuvStrides, int width, int height, int rotationDegreesCW, int colorFormat)
public int width()
width
in interface VideoFrame
public int height()
height
in interface VideoFrame
public int[] yuvStrides()
yuvStrides
in interface VideoFrame
public java.nio.ByteBuffer[] yuvPlanes()
yuvPlanes
in interface VideoFrame
public int getColorFormat()
getColorFormat
in interface VideoFrame
ImageFormat
.public int getRotation()
getRotation
in interface VideoFrame
Copyright 2016, Sinch AB