Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaEnc.c1434 UInt32 offs, curBack, posSlot; in GetOptimum() local
1443 GetPosSlot2(curBack, posSlot); in GetOptimum()
1452 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum()
1514 GetPosSlot2(curBack, posSlot); in GetOptimum()
1682 UInt32 posSlot = GetPosSlot1(i); in FillDistancesPrices() local
1683 UInt32 footerBits = ((posSlot >> 1) - 1); in FillDistancesPrices()
1684 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices()
1685 …tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, … in FillDistancesPrices()
1690 UInt32 posSlot; in FillDistancesPrices() local
1693 for (posSlot = 0; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices()
[all …]
DLzmaDec.c309 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local
312 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal()
315 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal()
640 unsigned posSlot; in LzmaDec_TryDummy() local
644 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy()
645 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy()
647 int numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy()
651 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy()
653 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c328 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local
331 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal()
334 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal()
659 unsigned posSlot; in LzmaDec_TryDummy() local
663 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy()
664 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy()
666 int numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy()
670 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy()
672 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c328 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local
331 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal()
334 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal()
659 unsigned posSlot; in LzmaDec_TryDummy() local
663 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy()
664 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy()
666 int numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy()
670 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy()
672 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()