Package-level declarations

Types

Link copied to clipboard
class Extra(extraBuffers: List<ByteBuffer>)

Ensures that extra are not used at the same time.

Link copied to clipboard
interface Frame : AutoCloseable

Encoded frame representation

Link copied to clipboard

Encoded frame representation

Link copied to clipboard
interface WithClosable<T>

Properties

Link copied to clipboard

Gets the duplicated extra.

Functions

Link copied to clipboard
fun RawFrame.copy(rawBuffer: ByteBuffer = this.rawBuffer, timestampInUs: Long = this.timestampInUs, onClosed: (RawFrame) -> Unit = {}): RawFrame

Copy a RawFrame to a new RawFrame.

fun Frame.copy(rawBuffer: ByteBuffer = this.rawBuffer, ptsInUs: Long = this.ptsInUs, dtsInUs: Long? = this.dtsInUs, isKeyFrame: Boolean = this.isKeyFrame, extra: Extra? = this.extra, format: MediaFormat = this.format, onClosed: (Frame) -> Unit = {}): Frame

Copy a Frame to a new Frame.

Link copied to clipboard
fun RawFrame.deepCopy(bufferPool: IBufferPool<ByteBuffer>, timestampInUs: Long = this.timestampInUs, onClosed: (RawFrame) -> Unit = {}): RawFrame

Deep copy the RawFrame.rawBuffer into a new RawFrame.

Link copied to clipboard
fun Extra.get(index: Int): ByteBuffer

Gets the duplicated extra at index