Lines Matching defs:probs

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