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