Lines Matching refs:CProb
464 typedef UInt16 CProb;
472 The INIT_PROBS macro is used to initialize the array of CProb variables:
479 The LZMA decoder provides the pointer to CProb variable that contains
481 updates that CProb variable after decoding. The Range Decoder increases
486 unsigned CRangeDecoder::DecodeBit(CProb *prob)
504 *prob = (CProb)v;
521 uses the array of (2 << NumBits) counters of CProb type.
526 unsigned BitTreeReverseDecode(CProb *probs, unsigned numBits, CRangeDecoder *rc)
543 CProb Probs[(unsigned)1 << NumBits];
576 The LZMA Decoder uses (1 << (lc + lp)) tables with CProb values, where
577 each table contains 0x300 CProb values:
579 CProb *LitProbs;
583 LitProbs = new CProb[(UInt32)0x300 << (lc + lp)];
612 CProb *probs = &LitProbs[(UInt32)0x300 * litState];
683 CProb Choice;
684 CProb Choice2;
752 CProb PosDecoders[1 + kNumFullDistances - kEndPosModelIndex];
812 In this implementation we use one CProb array "PosDecoders" that contains
813 all CProb variables for all these bit decoders.
933 CProb IsMatch[kNumStates << kNumPosBitsMax];
934 CProb IsRep[kNumStates];
935 CProb IsRepG0[kNumStates];
936 CProb IsRepG1[kNumStates];
937 CProb IsRepG2[kNumStates];
938 CProb IsRep0Long[kNumStates << kNumPosBitsMax];
1166 Such optimized version can use just two arrays of CProb variables:
1167 1) The dynamic array of CProb variables allocated for the Literal Decoder.
1168 2) The one common array that contains all other CProb variables.