Package-level declarations

Types

Link copied to clipboard

VideoFrameBuffer is a buffer which contains a single video buffer's raw data. Typically owned by a VideoFrame which includes additional metadata.

Link copied to clipboard
class VideoFrameI420Buffer(val width: Int, val height: Int, val dataY: ByteBuffer, val dataU: ByteBuffer, val dataV: ByteBuffer, val strideY: Int, val strideU: Int, val strideV: Int, releaseCallback: Runnable) : VideoFrameBuffer

VideoFrameI420Buffer provides an reference counted wrapper of a YUV where planes are natively (i.e. in JNI) allocated direct byte buffers.

Link copied to clipboard
class VideoFrameRGBABuffer(val width: Int, val height: Int, val data: ByteBuffer, val stride: Int, releaseCallback: Runnable) : VideoFrameBuffer

VideoFrameRGBABuffer provides an reference counted wrapper of an RGBA natively (i.e. in JNI) allocated direct byte buffer.

Link copied to clipboard
class VideoFrameTextureBuffer(val width: Int, val height: Int, val textureId: Int, val transformMatrix: Matrix?, val type: VideoFrameTextureBuffer.Type, releaseCallback: Runnable) : VideoFrameBuffer

VideoFrameTextureBuffer provides an reference counted wrapper of an OpenGLES texture and related metadata