Class DvbDecoder

    • Constructor Detail

      • DvbDecoder

        public DvbDecoder​(List<byte[]> initializationData)
        initializationData - The initialization data for the decoder. The initialization data must consist of a single byte array containing 5 bytes: flag_pes_stripped (1), composition_page (2), ancillary_page (2).
    • Method Detail

      • decode

        protected Subtitle decode​(byte[] data,
                                  int length,
                                  boolean reset)
        Description copied from class: SimpleSubtitleDecoder
        Decodes data into a Subtitle.
        Specified by:
        decode in class SimpleSubtitleDecoder
        data - An array holding the data to be decoded, starting at position 0.
        length - The size of the data to be decoded.
        reset - Whether the decoder must be reset before decoding.
        The decoded Subtitle.