Class DecoderOutputBuffer
- java.lang.Object
-
- com.google.android.exoplayer2.decoder.Buffer
-
- com.google.android.exoplayer2.decoder.DecoderOutputBuffer
-
- Direct Known Subclasses:
SimpleDecoderOutputBuffer,SubtitleOutputBuffer,VideoDecoderOutputBuffer
public abstract class DecoderOutputBuffer extends Buffer
Output buffer decoded by aDecoder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDecoderOutputBuffer.Owner<S extends DecoderOutputBuffer>Buffer owner.
-
Field Summary
Fields Modifier and Type Field Description intskippedOutputBufferCountThe number of buffers immediately prior to this one that were skipped in theDecoder.longtimeUsThe presentation timestamp for the buffer, in microseconds.
-
Constructor Summary
Constructors Constructor Description DecoderOutputBuffer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidrelease()Releases the output buffer for reuse.-
Methods inherited from class com.google.android.exoplayer2.decoder.Buffer
addFlag, clear, clearFlag, getFlag, hasSupplementalData, isDecodeOnly, isEndOfStream, isKeyFrame, setFlags
-
-
-
-
Field Detail
-
timeUs
public long timeUs
The presentation timestamp for the buffer, in microseconds.
-
skippedOutputBufferCount
public int skippedOutputBufferCount
The number of buffers immediately prior to this one that were skipped in theDecoder.
-
-