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 …]
1099 UInt32 lenToPosState = GetLenToPosState(len); in GetOptimum() local1101 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()1106 … curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()1426 UInt32 lenToPosState = GetLenToPosState(lenTest); in GetOptimum() local1429 curAndLenPrice += p->distancesPrices[lenToPosState][curBack]; in GetOptimum()1431 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum()1658 UInt32 i, lenToPosState; in FillDistancesPrices() local1667 for (lenToPosState = 0; lenToPosState < kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()1670 const CLzmaProb *encoder = p->posSlotEncoder[lenToPosState]; in FillDistancesPrices()1671 UInt32 *posSlotPrices = p->posSlotPrices[lenToPosState]; in FillDistancesPrices()[all …]