Searched refs:lenToPosState (Results 1 – 3 of 3) sorted by relevance
492 int lenToPosState = Base.GetLenToPosState(len); in GetPosLenPrice() local494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()1047 int lenToPosState = Base.GetLenToPosState(len); in WriteEndMarker() local1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in WriteEndMarker()1175 int lenToPosState = Base.GetLenToPosState(len); in CodeOneBlock() local1176 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in CodeOneBlock()1325 for (int lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()1328 BitTreeEncoder encoder = _posSlotEncoder[lenToPosState]; in FillDistancesPrices()1330 int st = (lenToPosState << Base.kNumPosSlotBits); in FillDistancesPrices()[all …]
492 UInt32 lenToPosState = Base.GetLenToPosState(len); in GetPosLenPrice()494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()1047 UInt32 lenToPosState = Base.GetLenToPosState(len); in WriteEndMarker()1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in WriteEndMarker()1177 UInt32 lenToPosState = Base.GetLenToPosState(len); in CodeOneBlock()1178 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in CodeOneBlock()1325 for (UInt32 lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()1328 RangeCoder.BitTreeEncoder encoder = _posSlotEncoder[lenToPosState]; in FillDistancesPrices()1330 UInt32 st = (lenToPosState << Base.kNumPosSlotBits); in FillDistancesPrices()[all …]
1287 unsigned lenToPosState = GetLenToPosState(len); in GetOptimum() local1290 price += p->distancesPrices[lenToPosState][dist & (kNumFullDistances - 1)]; in GetOptimum()1296 price += p->posSlotPrices[lenToPosState][slot]; in GetOptimum()