/external/lzma/CPP/7zip/Compress/ |
RangeCoderBit.h | 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); [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoderBit.cs | 13 uint Prob;
15 public void Init() { Prob = kBitModelTotal >> 1; }
20 Prob += (kBitModelTotal - Prob) >> kNumMoveBits;
22 Prob -= (Prob) >> kNumMoveBits;
27 // encoder.EncodeBit(Prob, kNumBitModelTotalBits, symbol);
29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob;
33 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; [all...] |
/external/llvm/lib/Support/ |
BranchProbability.cpp | 31 raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) { 32 Prob.print(OS);
|
BlockFrequency.cpp | 89 BlockFrequency &BlockFrequency::operator*=(const BranchProbability &Prob) { 90 scale(Prob.getNumerator(), Prob.getDenominator()); 95 BlockFrequency::operator*(const BranchProbability &Prob) const { 97 Freq *= Prob; 101 BlockFrequency &BlockFrequency::operator/=(const BranchProbability &Prob) { 102 scale(Prob.getDenominator(), Prob.getNumerator()); 106 BlockFrequency BlockFrequency::operator/(const BranchProbability &Prob) const { 108 Freq /= Prob; [all...] |
/external/llvm/unittests/Support/ |
BlockFrequencyTest.cpp | 13 BranchProbability Prob(UINT32_MAX - 1, UINT32_MAX); 14 Freq *= Prob; 20 BranchProbability Prob(UINT32_MAX, UINT32_MAX); 21 Freq *= Prob; 27 BranchProbability Prob(3000000, 9000000); 28 Freq *= Prob; 34 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX); 35 Freq *= Prob; 43 BranchProbability Prob(P, P); 44 Freq *= Prob; [all...] |
/external/llvm/include/llvm/Support/ |
BlockFrequency.h | 48 BlockFrequency &operator*=(const BranchProbability &Prob); 49 const BlockFrequency operator*(const BranchProbability &Prob) const; 53 BlockFrequency &operator/=(const BranchProbability &Prob); 54 BlockFrequency operator/(const BranchProbability &Prob) const;
|
BranchProbability.h | 73 raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob);
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Encoder.java | 104 int prob = probs[index];
local 105 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
109 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits));
115 probs[index] = (short)(prob - ((prob) >>> kNumMoveBits));
139 static public int GetPrice(int Prob, int symbol)
141 return ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBits];
143 static public int GetPrice0(int Prob)
145 return ProbPrices[Prob >>> kNumMoveReducingBits]; [all...] |
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 22 INITIALIZE_PASS_BEGIN(MachineBranchProbabilityInfo, "machine-branch-prob", 24 INITIALIZE_PASS_END(MachineBranchProbabilityInfo, "machine-branch-prob", 120 const BranchProbability Prob = getEdgeProbability(Src, Dst); 122 << " probability is " << Prob
|
/external/opencv/cv/src/ |
cvcondens.cpp | 237 float Prob = 1.f / conDens->SamplesNum; 272 conDens->flConfidence[j] = Prob;
|
/external/llvm/lib/Target/Mips/ |
MipsDelaySlotFiller.cpp | 71 const MachineBranchProbabilityInfo &P) : Src(S), Prob(P) {} 75 return Prob.getEdgeWeight(&Src, Dst0) < Prob.getEdgeWeight(&Src, Dst1); 79 const MachineBranchProbabilityInfo &Prob;
|
/external/llvm/include/llvm/Analysis/ |
BlockFrequencyImpl.h | 76 BranchProbability Prob = BPI->getEdgeProbability(Src, Dst); 77 return getBlockFreq(Src) * Prob;
|
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 27 INITIALIZE_PASS_BEGIN(BranchProbabilityInfo, "branch-prob", 30 INITIALIZE_PASS_END(BranchProbabilityInfo, "branch-prob", 631 const BranchProbability Prob = getEdgeProbability(Src, Dst); 633 << " probability is " << Prob
|