Пример #1
0
  void Init() throws IOException {
    m_OutWindow.Init(false);

    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsMatchDecoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsRep0LongDecoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsRepDecoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsRepG0Decoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsRepG1Decoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_IsRepG2Decoders);
    SevenZip.Compression.RangeCoder.Decoder.InitBitModels(m_PosDecoders);

    m_LiteralDecoder.Init();
    int i;
    for (i = 0; i < Base.kNumLenToPosStates; i++) m_PosSlotDecoder[i].Init();
    m_LenDecoder.Init();
    m_RepLenDecoder.Init();
    m_PosAlignDecoder.Init();
    m_RangeDecoder.Init();
  }