Lines Matching full:price
110 int price = 0; in GetPrice() local
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()
134 return price; in GetPrice()
290 public int Price; field in Encoder.Optimal
463 int price; in GetPureRepPrice() local
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()
480 return price; in GetPureRepPrice()
485 int price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice() local
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
491 int price; in GetPosLenPrice() local
494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()
496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
608 …_optimum[1].Price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isMatch[(_state << Base.kNu… in GetOptimum()
618 if (shortRepPrice < _optimum[1].Price) in GetOptimum()
620 _optimum[1].Price = shortRepPrice; in GetOptimum()
642 _optimum[len--].Price = kIfinityPrice; in GetOptimum()
650 int price = repMatchPrice + GetPureRepPrice(i, _state, posState); in GetOptimum() local
653 int curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum()
655 if (curAndLenPrice < optimum.Price) in GetOptimum()
657 optimum.Price = curAndLenPrice; in GetOptimum()
679 if (curAndLenPrice < optimum.Price) in GetOptimum()
681 optimum.Price = curAndLenPrice; in GetOptimum()
800 int curPrice = _optimum[cur].Price; in GetOptimum()
815 if (curAnd1Price < nextOptimum.Price) in GetOptimum()
817 nextOptimum.Price = curAnd1Price; in GetOptimum()
830 if (shortRepPrice <= nextOptimum.Price) in GetOptimum()
832 nextOptimum.Price = shortRepPrice; in GetOptimum()
863 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
867 if (curAndLenPrice < optimum.Price) in GetOptimum()
869 optimum.Price = curAndLenPrice; in GetOptimum()
890 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
893 if (curAndLenPrice < optimum.Price) in GetOptimum()
895 optimum.Price = curAndLenPrice; in GetOptimum()
933 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
936 if (curAndLenPrice < optimum.Price) in GetOptimum()
938 optimum.Price = curAndLenPrice; in GetOptimum()
962 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
973 if (curAndLenPrice < optimum.Price) in GetOptimum()
975 optimum.Price = curAndLenPrice; in GetOptimum()
1006 _optimum[++lenEnd].Price = kIfinityPrice; in GetOptimum()
1009 if (curAndLenPrice < optimum.Price) in GetOptimum()
1011 optimum.Price = curAndLenPrice; in GetOptimum()