예제 #1
0
 public LenEncoder()
 {
     for (UInt32 posState = 0; posState < Base.kNumPosStatesEncodingMax; posState++)
     {
         _lowCoder[posState] = new SevenZip.Compression.RangeCoder.BitTreeEncoder(Base.kNumLowLenBits);
         _midCoder[posState] = new SevenZip.Compression.RangeCoder.BitTreeEncoder(Base.kNumMidLenBits);
     }
 }
예제 #2
0
 public Encoder()
 {
     for (int i = 0; i < kNumOpts; i++)
         _optimum[i] = new Optimal();
     for (int i = 0; i < Base.kNumLenToPosStates; i++)
         _posSlotEncoder[i] = new SevenZip.Compression.RangeCoder.BitTreeEncoder(Base.kNumPosSlotBits);
 }
 public LenEncoder()
 {
     for (UInt32 posState = 0; posState < Base.KNumPosStatesEncodingMax; posState++)
     {
         _lowCoder[posState] = new BitTreeEncoder(Base.KNumLowLenBits);
         _midCoder[posState] = new BitTreeEncoder(Base.KNumMidLenBits);
     }
 }
 public Encoder()
 {
     for (int i = 0; i < KNumOpts; i++) _optimum[i] = new Optimal();
     for (int i = 0; i < Base.KNumLenToPosStates; i++) _posSlotEncoder[i] = new BitTreeEncoder(Base.KNumPosSlotBits);
 }
예제 #5
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);
 }
예제 #6
0
 public LenEncoder()
 {
     for (uint posState = 0; posState < LZMABase.kNumPosStatesEncodingMax; posState++)
     {
         _lowCoder[posState] = new BitTreeEncoder(LZMABase.kNumLowLenBits);
         _midCoder[posState] = new BitTreeEncoder(LZMABase.kNumMidLenBits);
     }
 }