Home | History | Annotate | Download | only in lzma_sdk

Lines Matching refs:posSlot

100 #define PosSlot (IsRep0Long + (kNumStates << kNumPosBitsMax))
101 #define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
297 prob = probs + PosSlot +
302 unsigned posSlot = (unsigned)distance;
305 if (posSlot < kEndPosModelIndex)
308 prob = probs + SpecPos + distance - posSlot - 1;
632 unsigned posSlot;
633 prob = probs + PosSlot +
636 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot);
637 if (posSlot >= kStartPosModelIndex)
639 int numDirectBits = ((posSlot >> 1) - 1);
643 if (posSlot < kEndPosModelIndex)
645 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1;