Searched refs:kNumMoveReducingBits (Results 1 - 6 of 6) sorted by relevance

/external/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoderBit.cs10 const int kNumMoveReducingBits = 2; field in struct:SevenZip.Compression.RangeCoder.BitEncoder
48 private static UInt32[] ProbPrices = new UInt32[kBitModelTotal >> kNumMoveReducingBits];
52 const int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits);
65 return ProbPrices[(((Prob - symbol) ^ ((-(int)symbol))) & (kBitModelTotal - 1)) >> kNumMoveReducingBits];
67 public uint GetPrice0() { return ProbPrices[Prob >> kNumMoveReducingBits]; }
68 public uint GetPrice1() { return ProbPrices[(kBitModelTotal - Prob) >> kNumMoveReducingBits]; }
/external/lzma/Java/SevenZip/Compression/RangeCoder/
H A DEncoder.java93 static final int kNumMoveReducingBits = 2; field in class:Encoder
124 private static int[] ProbPrices = new int[kBitModelTotal >>> kNumMoveReducingBits];
128 int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits);
141 return ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBits];
145 return ProbPrices[Prob >>> kNumMoveReducingBits];
149 return ProbPrices[(kBitModelTotal - Prob) >>> kNumMoveReducingBits];
/external/lzma/CPP/7zip/Compress/
H A DRangeCoderBit.h15 const int kNumMoveReducingBits = 4; member in namespace:NCompress::NRangeCoder
20 extern UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
72 return ProbPrices[(this->Prob ^ ((-(int)symbol)) & (kBitModelTotal - 1)) >> kNumMoveReducingBits];
74 UInt32 GetPrice0() const { return ProbPrices[this->Prob >> kNumMoveReducingBits]; }
75 UInt32 GetPrice1() const { return ProbPrices[(this->Prob ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]; }
/external/chromium_org/third_party/lzma_sdk/
H A DLzmaEnc.c41 #define kNumMoveReducingBits 4 macro
285 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
603 for (i = (1 << kNumMoveReducingBits) / 2; i < kBitModelTotal; i += (1 << kNumMoveReducingBits))
619 ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount);
625 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
628 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
630 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
631 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
633 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
[all...]
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
H A DLzmaEnc.c42 #define kNumMoveReducingBits 4 macro
286 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
604 for (i = (1 << kNumMoveReducingBits) / 2; i < kBitModelTotal; i += (1 << kNumMoveReducingBits))
620 ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount);
626 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
629 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
631 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
632 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
634 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
[all...]
/external/lzma/C/
H A DLzmaEnc.c41 #define kNumMoveReducingBits 4 macro
285 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
603 for (i = (1 << kNumMoveReducingBits) / 2; i < kBitModelTotal; i += (1 << kNumMoveReducingBits))
619 ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount);
625 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
628 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
630 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
631 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
633 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
[all...]

Completed in 5469 milliseconds