Lines Matching refs:CProb
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
578 each table contains 0x300 CProb values:
580 CProb *LitProbs;
584 LitProbs = new CProb[(UInt32)0x300 << (lc + lp)];
613 CProb *probs = &LitProbs[(UInt32)0x300 * litState];
684 CProb Choice;
685 CProb Choice2;
753 CProb PosDecoders[1 + kNumFullDistances - kEndPosModelIndex];
813 In this implementation we use one CProb array "PosDecoders" that contains
814 all CProb variables for all these bit decoders.
934 CProb IsMatch[kNumStates << kNumPosBitsMax];
935 CProb IsRep[kNumStates];
936 CProb IsRepG0[kNumStates];
937 CProb IsRepG1[kNumStates];
938 CProb IsRepG2[kNumStates];
939 CProb IsRep0Long[kNumStates << kNumPosBitsMax];
1167 Such optimized version can use just two arrays of CProb variables:
1168 1) The dynamic array of CProb variables allocated for the Literal Decoder.
1169 2) The one common array that contains all other CProb variables.