Lines Matching defs:probs

575 static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol)

580 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1);
586 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
593 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
636 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices)
642 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1);
649 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices)
657 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
666 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
675 RangeEnc_EncodeBit(rc, probs + m, bit);
680 static void RcTree_ReverseEncode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
687 RangeEnc_EncodeBit(rc, probs + m, bit);
693 static UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
699 price += GET_PRICEa(probs[symbol >> 1], symbol & 1);
705 static UInt32 RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
714 price += GET_PRICEa(probs[m], bit);
1012 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1));
1015 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) :
1016 LitEnc_GetPrice(probs, curByte, p->ProbPrices));
1225 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1));
1228 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) :
1229 LitEnc_GetPrice(probs, curByte, p->ProbPrices));
1782 CLzmaProb *probs;
1788 probs = LIT_PROBS(nowPos32, *(data - 1));
1790 LitEnc_Encode(&p->rc, probs, curByte);
1792 LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0] - 1));
1980 CLzmaProb *probs = p->posSlotEncoder[i];
1983 probs[j] = kProbInitValue;