DecoderOutputBuffer
@UnstableApi
public abstract class DecoderOutputBuffer extends 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 |
|---|
public interface DecoderOutputBuffer.Owner<S extends DecoderOutputBuffer>Buffer owner. |
Public fields |
|
|---|---|
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. |
Public constructors |
|---|
Public methods |
|
|---|---|
void |
Clears the buffer. |
abstract void |
release()Releases the output buffer for reuse. |
Inherited methods |
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public fields
shouldBeSkipped
public boolean shouldBeSkipped
Whether this buffer should be skipped, usually because the decoding process generated no data or invalid data.
skippedOutputBufferCount
public int skippedOutputBufferCount
The number of buffers immediately prior to this one that were skipped in the Decoder.
Public constructors
Public methods
release
public abstract void release()
Releases the output buffer for reuse. Must be called when the buffer is no longer needed.