Example #1
0
 public LZMAEncoder()
 {
     for (int i = 0; i < kNumOpts; i++)
         _optimum[i] = new Optimal();
     for (int i = 0; i < LZMABase.kNumLenToPosStates; i++)
         _posSlotEncoder[i] = new BitTreeEncoder(LZMABase.kNumPosSlotBits);
 }
Example #2
0
 public LenEncoder()
 {
     for (uint posState = 0; posState < LZMABase.kNumPosStatesEncodingMax; posState++)
     {
         _lowCoder[posState] = new BitTreeEncoder(LZMABase.kNumLowLenBits);
         _midCoder[posState] = new BitTreeEncoder(LZMABase.kNumMidLenBits);
     }
 }