DecoderOutputBuffer
@UnstableApi
abstract class DecoderOutputBuffer : Buffer
ImageOutputBuffer |
Output buffer for |
SimpleDecoderOutputBuffer |
Buffer for |
SubtitleOutputBuffer |
Base class for |
VideoDecoderOutputBuffer |
Video decoder output buffer containing video frame data. |
Output buffer decoded by a Decoder
.
Summary
Nested types |
---|
interface DecoderOutputBuffer.Owner<S : DecoderOutputBuffer?> Buffer owner. |
Public constructors |
---|
Public functions |
|
---|---|
Unit |
Clears the buffer. |
abstract Unit |
release() Releases the output buffer for reuse. |
Public properties |
|
---|---|
Boolean |
Whether this buffer should be skipped, usually because the decoding process generated no data or invalid data. |
Int |
The number of buffers immediately prior to this one that were skipped in the |
Long |
The presentation timestamp for the buffer, in microseconds. |
Inherited functions |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public constructors
Public functions
Public properties
shouldBeSkipped
val shouldBeSkipped: Boolean
Whether this buffer should be skipped, usually because the decoding process generated no data or invalid data.
skippedOutputBufferCount
val skippedOutputBufferCount: Int
The number of buffers immediately prior to this one that were skipped in the Decoder
.