Home
last modified time | relevance | path

Searched refs:kBitModelTotal (Results 1 – 7 of 7) sorted by relevance

/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBit.cs8 public const uint kBitModelTotal = (1 << kNumBitModelTotalBits); field
15 public void Init() { Prob = kBitModelTotal >> 1; } in Init()
20 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; in UpdateModel()
33 Prob += (kBitModelTotal - Prob) >> kNumMoveBits; in Encode()
48 private static UInt32[] ProbPrices = new UInt32[kBitModelTotal >> kNumMoveReducingBits];
65 …return ProbPrices[(((Prob - symbol) ^ ((-(int)symbol))) & (kBitModelTotal - 1)) >> kNumMoveReducin… in GetPrice()
68 public uint GetPrice1() { return ProbPrices[(kBitModelTotal - Prob) >> kNumMoveReducingBits]; } in GetPrice1()
74 public const uint kBitModelTotal = (1 << kNumBitModelTotalBits); field
82 Prob += (kBitModelTotal - Prob) >> numMoveBits; in UpdateModel()
87 public void Init() { Prob = kBitModelTotal >> 1; } in Init()
[all …]
/external/lzma/CPP/7zip/Compress/
DRangeCoderBit.h13 const UInt32 kBitModelTotal = (1 << kNumBitModelTotalBits); variable
20 extern UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
34 Prob += (kBitModelTotal - Prob) >> numMoveBits; in UpdateModel()
39 void Init() { Prob = kBitModelTotal / 2; } in Init()
56 this->Prob += (kBitModelTotal - this->Prob) >> numMoveBits; in Encode()
72 …return ProbPrices[(this->Prob ^ ((-(int)(Int32)symbol)) & (kBitModelTotal - 1)) >> kNumMoveReducin… in GetPrice()
75 …UInt32 GetPrice1() const { return ProbPrices[(this->Prob ^ (kBitModelTotal - 1)) >> kNumMoveReduci… in GetPrice1()
89 this->Prob += (kBitModelTotal - this->Prob) >> numMoveBits; in Decode()
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DEncoder.java9 static final int kBitModelTotal = (1 << kNumBitModelTotalBits); field in Encoder
99 probs[i] = (kBitModelTotal >>> 1); in InitBitModels()
109 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits)); in Encode()
124 private static int[] ProbPrices = new int[kBitModelTotal >>> kNumMoveReducingBits];
141 …return ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBit… in GetPrice()
149 return ProbPrices[(kBitModelTotal - Prob) >>> kNumMoveReducingBits]; in GetPrice1()
DDecoder.java9 static final int kBitModelTotal = (1 << kNumBitModelTotalBits); field in Decoder
61 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits)); in DecodeBit()
86 probs[i] = (kBitModelTotal >>> 1); in InitBitModels()
/external/lzma/C/
DBcj2.c21 #define kBitModelTotal (1 << kNumBitModelTotalBits) macro
32 #define UPDATE_0(p) range = bound; *(p) = (CProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); …
51 p[i] = kBitModelTotal >> 1; in Bcj2_Decode()
DLzmaEnc.c39 #define kBitModelTotal (1 << kNumBitModelTotalBits) macro
41 #define kProbInitValue (kBitModelTotal >> 1)
297 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
569 ttt += (kBitModelTotal - ttt) >> kNumMoveBits; in RangeEnc_EncodeBit()
613 for (i = (1 << kNumMoveReducingBits) / 2; i < kBitModelTotal; i += (1 << kNumMoveReducingBits)) in LzmaEnc_InitPriceTables()
635 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
638 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
641 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
644 #define GET_PRICE_1a(prob) ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
DLzmaDec.c14 #define kBitModelTotal (1 << kNumBitModelTotalBits) macro
22 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits…
746 probs[i] = kBitModelTotal >> 1; in LzmaDec_InitStateReal()