Lines Matching refs:posSlot
1413 UInt32 offs, curBack, posSlot; in GetOptimum() local
1422 GetPosSlot2(curBack, posSlot); in GetOptimum()
1431 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum()
1493 GetPosSlot2(curBack, posSlot); in GetOptimum()
1661 UInt32 posSlot = GetPosSlot1(i); in FillDistancesPrices() local
1662 UInt32 footerBits = ((posSlot >> 1) - 1); in FillDistancesPrices()
1663 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices()
1664 …tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, … in FillDistancesPrices()
1669 UInt32 posSlot; in FillDistancesPrices() local
1672 for (posSlot = 0; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices()
1673 posSlotPrices[posSlot] = RcTree_GetPrice(encoder, kNumPosSlotBits, posSlot, p->ProbPrices); in FillDistancesPrices()
1674 for (posSlot = kEndPosModelIndex; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices()
1675 posSlotPrices[posSlot] += ((((posSlot >> 1) - 1) - kNumAlignBits) << kNumBitPriceShiftBits); in FillDistancesPrices()
1846 UInt32 posSlot; in LzmaEnc_CodeOneBlock() local
1851 GetPosSlot(pos, posSlot); in LzmaEnc_CodeOneBlock()
1852 RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, posSlot); in LzmaEnc_CodeOneBlock()
1854 if (posSlot >= kStartPosModelIndex) in LzmaEnc_CodeOneBlock()
1856 UInt32 footerBits = ((posSlot >> 1) - 1); in LzmaEnc_CodeOneBlock()
1857 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in LzmaEnc_CodeOneBlock()
1860 if (posSlot < kEndPosModelIndex) in LzmaEnc_CodeOneBlock()
1861 … RcTree_ReverseEncode(&p->rc, p->posEncoders + base - posSlot - 1, footerBits, posReduced); in LzmaEnc_CodeOneBlock()