Home
last modified time | relevance | path

Searched refs:CProb (Results 1 – 5 of 5) sorted by relevance

/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp125 typedef UInt16 CProb; typedef
148 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 …]
/external/lzma/DOC/
Dlzma-specification.txt465 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 …]
/external/lzma/C/
DBcj2.c9 #define CProb UInt16 macro
17 #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()
DBcj2Enc.c20 #define CProb UInt16 macro
188CProb *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()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBlockFrequencyImpl.h215 uint32_t CProb = CycleProb[BB]; in doBlock() local
216 uint32_t Numerator = EntryFreq - CProb ? EntryFreq - CProb : 1; in doBlock()