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