Lines Matching refs:ProbPrices
297 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits]; member
610 void LzmaEnc_InitPriceTables(UInt32 *ProbPrices) in LzmaEnc_InitPriceTables() argument
629 … ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount); in LzmaEnc_InitPriceTables()
635 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
638 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
640 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
641 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
643 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
644 #define GET_PRICE_1a(prob) ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
646 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices) in LitEnc_GetPrice() argument
659 …LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices) in LitEnc_GetPriceMatched() argument
703 …UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices) in RcTree_GetPrice() argument
715 …RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices) in RcTree_ReverseGetPrice() argument
766 …enEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, UInt32 *ProbPrices) in LenEnc_SetPrices() argument
777 …es[i] = a0 + RcTree_GetPrice(p->low + (posState << kLenNumLowBits), kLenNumLowBits, i, ProbPrices); in LenEnc_SetPrices()
783 …GetPrice(p->mid + (posState << kLenNumMidBits), kLenNumMidBits, i - kLenNumLowSymbols, ProbPrices); in LenEnc_SetPrices()
786 …+ RcTree_GetPrice(p->high, kLenNumHighBits, i - kLenNumLowSymbols - kLenNumMidSymbols, ProbPrices); in LenEnc_SetPrices()
789 …tic void MY_FAST_CALL LenPriceEnc_UpdateTable(CLenPriceEnc *p, UInt32 posState, UInt32 *ProbPrices) in LenPriceEnc_UpdateTable() argument
791 LenEnc_SetPrices(&p->p, posState, p->tableSize, p->prices[posState], ProbPrices); in LenPriceEnc_UpdateTable()
795 static void LenPriceEnc_UpdateTables(CLenPriceEnc *p, UInt32 numPosStates, UInt32 *ProbPrices) in LenPriceEnc_UpdateTables() argument
799 LenPriceEnc_UpdateTable(p, posState, ProbPrices); in LenPriceEnc_UpdateTables()
802 …enPriceEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState, Bool updatePrice, UInt32 *ProbPrices) in LenEnc_Encode2() argument
807 LenPriceEnc_UpdateTable(p, posState, ProbPrices); in LenEnc_Encode2()
1028 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1029 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1241 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1242 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1371 data[lenTest], data2[lenTest], p->ProbPrices); in GetOptimum()
1460 data[lenTest], data2[lenTest], p->ProbPrices); in GetOptimum()
1617 …enEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); in WriteEndMarker()
1651 p->alignPrices[i] = RcTree_ReverseGetPrice(p->posAlignEncoder, kNumAlignBits, i, p->ProbPrices); in FillAlignPrices()
1664 …= RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, p->ProbPrices); in FillDistancesPrices()
1673 posSlotPrices[posSlot] = RcTree_GetPrice(encoder, kNumPosSlotBits, posSlot, p->ProbPrices); in FillDistancesPrices()
1708 LzmaEnc_InitPriceTables(p->ProbPrices); in LzmaEnc_Construct()
1840 …nc_Encode2(&p->repLenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); in LzmaEnc_CodeOneBlock()
1849 …enEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); in LzmaEnc_CodeOneBlock()
2027 LenPriceEnc_UpdateTables(&p->lenEnc, 1 << p->pb, p->ProbPrices); in LzmaEnc_InitPrices()
2028 LenPriceEnc_UpdateTables(&p->repLenEnc, 1 << p->pb, p->ProbPrices); in LzmaEnc_InitPrices()