public final class SubtitleInputBuffer extends DecoderInputBuffer implements java.lang.Comparable<SubtitleInputBuffer>
DecoderInputBuffer for a SubtitleDecoder.DecoderInputBuffer.BufferReplacementMode| Modifier and Type | Field and Description |
|---|---|
long |
subsampleOffsetUs
An offset that must be added to the subtitle's event times after it's been decoded, or
Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added. |
BUFFER_REPLACEMENT_MODE_DIRECT, BUFFER_REPLACEMENT_MODE_DISABLED, BUFFER_REPLACEMENT_MODE_NORMAL, cryptoInfo, data, timeUs| Constructor and Description |
|---|
SubtitleInputBuffer() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SubtitleInputBuffer other) |
clear, ensureSpaceForWrite, flip, isEncrypted, isFlagsOnly, newFlagsOnlyInstanceaddFlag, clearFlag, getFlag, isDecodeOnly, isEndOfStream, isKeyFrame, setFlagspublic long subsampleOffsetUs
Format.OFFSET_SAMPLE_RELATIVE if DecoderInputBuffer.timeUs should be added.public int compareTo(@NonNull
SubtitleInputBuffer other)
compareTo in interface java.lang.Comparable<SubtitleInputBuffer>