Lines Matching refs:posSlot
1420 UInt32 offs, curBack, posSlot; in GetOptimum() local
1429 GetPosSlot2(curBack, posSlot); in GetOptimum()
1438 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum()
1500 GetPosSlot2(curBack, posSlot); in GetOptimum()
1668 UInt32 posSlot = GetPosSlot1(i); in FillDistancesPrices() local
1669 UInt32 footerBits = ((posSlot >> 1) - 1); in FillDistancesPrices()
1670 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices()
1671 …tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, … in FillDistancesPrices()
1676 UInt32 posSlot; in FillDistancesPrices() local
1679 for (posSlot = 0; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices()
1680 posSlotPrices[posSlot] = RcTree_GetPrice(encoder, kNumPosSlotBits, posSlot, p->ProbPrices); in FillDistancesPrices()
1681 for (posSlot = kEndPosModelIndex; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices()
1682 posSlotPrices[posSlot] += ((((posSlot >> 1) - 1) - kNumAlignBits) << kNumBitPriceShiftBits); in FillDistancesPrices()
1854 UInt32 posSlot; in LzmaEnc_CodeOneBlock() local
1859 GetPosSlot(pos, posSlot); in LzmaEnc_CodeOneBlock()
1860 RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, posSlot); in LzmaEnc_CodeOneBlock()
1862 if (posSlot >= kStartPosModelIndex) in LzmaEnc_CodeOneBlock()
1864 UInt32 footerBits = ((posSlot >> 1) - 1); in LzmaEnc_CodeOneBlock()
1865 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in LzmaEnc_CodeOneBlock()
1868 if (posSlot < kEndPosModelIndex) in LzmaEnc_CodeOneBlock()
1869 … RcTree_ReverseEncode(&p->rc, p->posEncoders + base - posSlot - 1, footerBits, posReduced); in LzmaEnc_CodeOneBlock()