Searched refs:CProb (Results 1 – 5 of 5) sorted by relevance
125 typedef UInt16 CProb; typedef148 unsigned DecodeBit(CProb *prob);199 unsigned CRangeDecoder::DecodeBit(CProb *prob) in DecodeBit()217 *prob = (CProb)v; in DecodeBit()223 unsigned BitTreeReverseDecode(CProb *probs, unsigned numBits, CRangeDecoder *rc) in BitTreeReverseDecode()240 CProb Probs[(unsigned)1 << NumBits];275 CProb Choice;276 CProb Choice2;358 CProb *LitProbs;362 LitProbs = new CProb[(UInt32)0x300 << (lc + lp)]; in CreateLiterals()[all …]
465 typedef UInt16 CProb;473 The INIT_PROBS macro is used to initialize the array of CProb variables:480 The LZMA decoder provides the pointer to CProb variable that contains 482 updates that CProb variable after decoding. The Range Decoder increases 487 unsigned CRangeDecoder::DecodeBit(CProb *prob)505 *prob = (CProb)v;522 uses the array of (2 << NumBits) counters of CProb type. 527 unsigned BitTreeReverseDecode(CProb *probs, unsigned numBits, CRangeDecoder *rc)544 CProb Probs[(unsigned)1 << NumBits];577 The LZMA Decoder uses (1 << (lc + lp)) tables with CProb values, where [all …]
9 #define CProb UInt16 macro17 #define _UPDATE_0 p->range = bound; *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));18 #define _UPDATE_1 p->range -= bound; p->code -= bound; *prob = (CProb)(ttt - (ttt >> kNumMoveBits));189 CProb *prob; in Bcj2Dec_Decode()
20 #define CProb UInt16 macro188 … CProb *prob = p->probs + (unsigned)(b == 0xE8 ? 2 + (unsigned)context : (b == 0xE9 ? 1 : 0)); in Bcj2Enc_Encode_2()196 *prob = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); in Bcj2Enc_Encode_2()204 *prob = (CProb)(ttt - (ttt >> kNumMoveBits)); in Bcj2Enc_Encode_2()
215 uint32_t CProb = CycleProb[BB]; in doBlock() local216 uint32_t Numerator = EntryFreq - CProb ? EntryFreq - CProb : 1; in doBlock()