Home
last modified time | relevance | path

Searched refs:posSlot (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/lib/lzma/
H A DLzmaDec.c313 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local
316 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal()
319 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal()
658 unsigned posSlot; in LzmaDec_TryDummy() local
662 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy()
663 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy()
665 int numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy()
669 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy()
671 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()