Home | History | Annotate | Download | only in Compress

Lines Matching refs:Prob

26   UInt32 Prob;

30 Prob -= (Prob + ((symbol - 1) & ((1 << numMoveBits) - 1))) >> numMoveBits;
31 Prob += (1 - symbol) << (kNumBitModelTotalBits - numMoveBits);
34 Prob += (kBitModelTotal - Prob) >> numMoveBits;
36 Prob -= (Prob) >> numMoveBits;
39 void Init() { Prob = kBitModelTotal / 2; }
49 encoder->EncodeBit(this->Prob, kNumBitModelTotalBits, symbol);
52 UInt32 newBound = (encoder->Range >> kNumBitModelTotalBits) * this->Prob;
56 this->Prob += (kBitModelTotal - this->Prob) >> numMoveBits;
62 this->Prob -= (this->Prob) >> numMoveBits;
72 return ProbPrices[(this->Prob ^ ((-(int)(Int32)symbol)) & (kBitModelTotal - 1)) >> kNumMoveReducingBits];
74 UInt32 GetPrice0() const { return ProbPrices[this->Prob >> kNumMoveReducingBits]; }
75 UInt32 GetPrice1() const { return ProbPrices[(this->Prob ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]; }
85 UInt32 newBound = (decoder->Range >> kNumBitModelTotalBits) * this->Prob;
89 this->Prob += (kBitModelTotal - this->Prob) >> numMoveBits;
101 this->Prob -= (this->Prob) >> numMoveBits;