Class BitTreeDecoder


  • public class BitTreeDecoder
    extends java.lang.Object
    • Field Detail

      • Models

        private final short[] Models
      • NumBitLevels

        private final int NumBitLevels
    • Constructor Detail

      • BitTreeDecoder

        public BitTreeDecoder​(int numBitLevels)
    • Method Detail

      • init

        public void init()
      • decode

        public int decode​(Decoder rangeDecoder)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • reverseDecode

        public int reverseDecode​(Decoder rangeDecoder)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • reverseDecode

        public static int reverseDecode​(short[] Models,
                                        int startIndex,
                                        Decoder rangeDecoder,
                                        int NumBitLevels)
                                 throws java.io.IOException
        Throws:
        java.io.IOException