Lines Matching refs:probs

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

590 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1);
596 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
603 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
646 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices)
652 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1);
659 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices)
667 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
676 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
685 RangeEnc_EncodeBit(rc, probs + m, bit);
690 static void RcTree_ReverseEncode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol)
697 RangeEnc_EncodeBit(rc, probs + m, bit);
703 static UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
709 price += GET_PRICEa(probs[symbol >> 1], symbol & 1);
715 static UInt32 RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices)
724 price += GET_PRICEa(probs[m], bit);
1025 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1));
1028 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) :
1029 LitEnc_GetPrice(probs, curByte, p->ProbPrices));
1238 const CLzmaProb *probs = LIT_PROBS(position, *(data - 1));
1241 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) :
1242 LitEnc_GetPrice(probs, curByte, p->ProbPrices));
1795 CLzmaProb *probs;
1801 probs = LIT_PROBS(nowPos32, *(data - 1));
1803 LitEnc_Encode(&p->rc, probs, curByte);
1805 LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0] - 1));
1991 CLzmaProb *probs = p->posSlotEncoder[i];
1994 probs[j] = kProbInitValue;