Lines Matching refs:price
110 uint price = 0; in GetPrice()
119 price += m_Encoders[((1 + matchBit) << 8) + context].GetPrice(bit); in GetPrice()
131 price += m_Encoders[context].GetPrice(bit); in GetPrice()
134 return price; in GetPrice()
463 UInt32 price; in GetPureRepPrice()
466 price = _isRepG0[state.Index].GetPrice0(); in GetPureRepPrice()
467 price += _isRep0Long[(state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1(); in GetPureRepPrice()
471 price = _isRepG0[state.Index].GetPrice1(); in GetPureRepPrice()
473 price += _isRepG1[state.Index].GetPrice0(); in GetPureRepPrice()
476 price += _isRepG1[state.Index].GetPrice1(); in GetPureRepPrice()
477 price += _isRepG2[state.Index].GetPrice(repIndex - 2); in GetPureRepPrice()
480 return price; in GetPureRepPrice()
485 UInt32 price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
486 return price + GetPureRepPrice(repIndex, state, posState); in GetRepPrice()
491 UInt32 price; in GetPosLenPrice()
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()
650 UInt32 price = repMatchPrice + GetPureRepPrice(i, _state, posState); in GetOptimum()
653 UInt32 curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum()