Searched refs:posState (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzmaEnc.c | 783 static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState) in LenEnc_Encode() argument 788 RcTree_Encode(rc, p->low + (posState << kLenNumLowBits), kLenNumLowBits, symbol); in LenEnc_Encode() 796 …RcTree_Encode(rc, p->mid + (posState << kLenNumMidBits), kLenNumMidBits, symbol - kLenNumLowSymbol… in LenEnc_Encode() 806 static void LenEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, const … in LenEnc_SetPrices() argument 817 …prices[i] = a0 + RcTree_GetPrice(p->low + (posState << kLenNumLowBits), kLenNumLowBits, i, ProbPri… in LenEnc_SetPrices() 823 …prices[i] = b0 + RcTree_GetPrice(p->mid + (posState << kLenNumMidBits), kLenNumMidBits, i - kLenNu… in LenEnc_SetPrices() 829 static void MY_FAST_CALL LenPriceEnc_UpdateTable(CLenPriceEnc *p, UInt32 posState, const UInt32 *Pr… in LenPriceEnc_UpdateTable() argument 831 LenEnc_SetPrices(&p->p, posState, p->tableSize, p->prices[posState], ProbPrices); in LenPriceEnc_UpdateTable() 832 p->counters[posState] = p->tableSize; in LenPriceEnc_UpdateTable() 837 UInt32 posState; in LenPriceEnc_UpdateTables() local [all …]
|
D | LzmaDec.c | 167 unsigned posState = processedPos & pbMask; in LzmaDec_DecodeReal() local 169 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 249 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 302 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 313 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 334 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 348 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 591 unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1); in LzmaDec_TryDummy() local 593 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() 651 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 169 unsigned posState = processedPos & pbMask; in LzmaDec_DecodeReal() local 171 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 251 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 304 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 315 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 336 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 350 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 593 unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1); in LzmaDec_TryDummy() local 595 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() 653 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 169 unsigned posState = processedPos & pbMask; in LzmaDec_DecodeReal() local 171 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 251 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_DecodeReal() 304 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 315 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 336 probLen = prob + LenLow + (posState << kLenNumLowBits); in LzmaDec_DecodeReal() 350 probLen = prob + LenMid + (posState << kLenNumMidBits); in LzmaDec_DecodeReal() 593 unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1); in LzmaDec_TryDummy() local 595 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() 653 prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; in LzmaDec_TryDummy() [all …]
|