public final class PgsDecoder extends SimpleSubtitleDecoder
SimpleSubtitleDecoder for PGS subtitles.| Constructor and Description |
|---|
PgsDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected Subtitle |
decode(byte[] data,
int size,
boolean reset)
Decodes data into a
Subtitle. |
createInputBuffer, createOutputBuffer, createUnexpectedDecodeException, decode, getName, releaseOutputBuffer, setPositionUsdequeueInputBuffer, dequeueOutputBuffer, flush, queueInputBuffer, release, setInitialInputBufferSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdequeueInputBuffer, dequeueOutputBuffer, flush, queueInputBuffer, releaseprotected Subtitle decode(byte[] data, int size, boolean reset) throws SubtitleDecoderException
SimpleSubtitleDecoderSubtitle.decode in class SimpleSubtitleDecoderdata - An array holding the data to be decoded, starting at position 0.size - The size of the data to be decoded.reset - Whether the decoder must be reset before decoding.Subtitle.SubtitleDecoderException - If a decoding error occurs.