Lines Matching refs:probs
595 static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol) in LitEnc_Encode() argument
600 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1); in LitEnc_Encode()
606 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument
613 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched()
656 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices) in LitEnc_GetPrice() argument
662 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); in LitEnc_GetPrice()
669 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt3… in LitEnc_GetPriceMatched() argument
677 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched()
686 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) in RcTree_Encode() argument
695 RangeEnc_EncodeBit(rc, probs + m, bit); in RcTree_Encode()
700 static void RcTree_ReverseEncode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) in RcTree_ReverseEncode() argument
707 RangeEnc_EncodeBit(rc, probs + m, bit); in RcTree_ReverseEncode()
713 static UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *Prob… in RcTree_GetPrice() argument
719 price += GET_PRICEa(probs[symbol >> 1], symbol & 1); in RcTree_GetPrice()
725 static UInt32 RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt3… in RcTree_ReverseGetPrice() argument
734 price += GET_PRICEa(probs[m], bit); in RcTree_ReverseGetPrice()
1032 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); in GetOptimum() local
1035 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1036 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1245 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); in GetOptimum() local
1248 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1249 LitEnc_GetPrice(probs, curByte, p->ProbPrices)); in GetOptimum()
1803 CLzmaProb *probs; in LzmaEnc_CodeOneBlock() local
1809 probs = LIT_PROBS(nowPos32, *(data - 1)); in LzmaEnc_CodeOneBlock()
1811 LitEnc_Encode(&p->rc, probs, curByte); in LzmaEnc_CodeOneBlock()
1813 LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0] - 1)); in LzmaEnc_CodeOneBlock()
2001 CLzmaProb *probs = p->posSlotEncoder[i]; in LzmaEnc_Init() local
2004 probs[j] = kProbInitValue; in LzmaEnc_Init()