Lines Matching refs:Encoder
9 public class Encoder class
74 public void Init() { SevenZip.Compression.RangeCoder.Encoder.InitBitModels(m_Encoders); } in Init()
78 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte symbol) throws IOExc… in Encode()
89 …public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, by… in EncodeMatched()
119 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
186 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_choice); in Init()
196 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode()
222 int a0 = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_choice[0]); in SetPrices()
223 int a1 = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_choice[0]); in SetPrices()
224 int b0 = a1 + SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_choice[1]); in SetPrices()
225 int b1 = a1 + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_choice[1]); in SetPrices()
271 …public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState)… in Encode()
305 …SevenZip.Compression.RangeCoder.Encoder _rangeEncoder = new SevenZip.Compression.RangeCoder.Encode…
382 public Encoder() in Encoder() method in Encoder
400 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isMatch); in Init()
401 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isRep0Long); in Init()
402 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isRep); in Init()
403 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isRepG0); in Init()
404 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isRepG1); in Init()
405 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_isRepG2); in Init()
406 SevenZip.Compression.RangeCoder.Encoder.InitBitModels(_posEncoders); in Init()
457 return SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG0[state]) + in GetRepLen1Price()
458 …SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRep0Long[(state << Base.kNumPosStatesBitsMax)… in GetRepLen1Price()
466 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG0[state]); in GetPureRepPrice()
467 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep0Long[(state << Base.kNumPosState… in GetPureRepPrice()
471 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG0[state]); in GetPureRepPrice()
473 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG1[state]); in GetPureRepPrice()
476 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG1[state]); in GetPureRepPrice()
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2); in GetPureRepPrice()
608 …_optimum[1].Price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(_state << Base.kNu… in GetOptimum()
612 …int matchPrice = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(_state << Base.kNumPo… in GetOptimum()
613 …int repMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[_state]); in GetOptimum()
666 …int normalMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRep[_stat… in GetOptimum()
808 …SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(state << Base.kNumPosStatesBitsMax) + … in GetOptimum()
823 …matchPrice = curPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(state << Base.… in GetOptimum()
824 repMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[state]); in GetOptimum()
858 …SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(state2 << Base.kNumPosStatesBitsMax) +… in GetOptimum()
859 SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[state2]); in GetOptimum()
919 …SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(state2 << Base.kNumPosStatesBitsMax) +… in GetOptimum()
926 …int nextMatchPrice = curAndLenCharPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMat… in GetOptimum()
927 …int nextRepMatchPrice = nextMatchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[… in GetOptimum()
960 … normalMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRep[state]); in GetOptimum()
993 …SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(state2 << Base.kNumPosStatesBitsMax) +… in GetOptimum()
1001 …int nextMatchPrice = curAndLenCharPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMat… in GetOptimum()
1002 …int nextRepMatchPrice = nextMatchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[… in GetOptimum()
1334 …Slot >> 1) - 1) - Base.kNumAlignBits) << SevenZip.Compression.RangeCoder.Encoder.kNumBitPriceShift… in FillDistancesPrices()