-
- All Implemented Interfaces:
-
com.sinch.android.rtc.video.VideoFrame
public final class VideoFrame.DefaultVideoFrame implements VideoFrame
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerwidthprivate final Integerheightprivate final Array<ByteBuffer>yuvPlanesprivate final IntArrayyuvStridesprivate final IntegercolorFormatprivate final Integerrotation
-
Constructor Summary
Constructors Constructor Description VideoFrame.DefaultVideoFrame(Array<ByteBuffer> yuvPlanes, IntArray yuvStrides, Integer width, Integer height, Integer rotationDegreesCw, Integer colorFormat)
-
Method Summary
Modifier and Type Method Description IntegergetWidth()The frame width. IntegergetHeight()The frame height. Array<ByteBuffer>getYuvPlanes()The Y, U and V planes array. IntArraygetYuvStrides()The frame strides for each plane. IntegergetColorFormat()Color format of YUV frame as in android.graphics.ImageFormat. IntegergetRotation()-
-
Method Detail
-
getYuvPlanes
Array<ByteBuffer> getYuvPlanes()
The Y, U and V planes array.
-
getYuvStrides
IntArray getYuvStrides()
The frame strides for each plane.
-
getColorFormat
Integer getColorFormat()
Color format of YUV frame as in android.graphics.ImageFormat.
-
getRotation
Integer getRotation()
-
-
-
-