Home
last modified time | relevance | path

Searched refs:kNumMoveReducingBits (Results 1 – 3 of 3) sorted by relevance

/external/lzma/Java/SevenZip/Compression/RangeCoder/
DEncoder.java93 static final int kNumMoveReducingBits = 2; field in Encoder
124 private static int[] ProbPrices = new int[kBitModelTotal >>> kNumMoveReducingBits];
128 int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits);
141 …turn ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBits]; in GetPrice()
145 return ProbPrices[Prob >>> kNumMoveReducingBits]; in GetPrice0()
149 return ProbPrices[(kBitModelTotal - Prob) >>> kNumMoveReducingBits]; in GetPrice1()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBit.cs10 const int kNumMoveReducingBits = 2; field
48 private static UInt32[] ProbPrices = new UInt32[kBitModelTotal >> kNumMoveReducingBits];
52 const int kNumBits = (kNumBitModelTotalBits - kNumMoveReducingBits); in BitEncoder()
65 … ProbPrices[(((Prob - symbol) ^ ((-(int)symbol))) & (kBitModelTotal - 1)) >> kNumMoveReducingBits]; in GetPrice()
67 public uint GetPrice0() { return ProbPrices[Prob >> kNumMoveReducingBits]; } in GetPrice0()
68 public uint GetPrice1() { return ProbPrices[(kBitModelTotal - Prob) >> kNumMoveReducingBits]; } in GetPrice1()
/external/lzma/C/
DLzmaEnc.c37 #define kNumMoveReducingBits 4 macro
356 CProbPrice ProbPrices[kBitModelTotal >> kNumMoveReducingBits];
736 for (i = 0; i < (kBitModelTotal >> kNumMoveReducingBits); i++) in LzmaEnc_InitPriceTables()
739 UInt32 w = (i << kNumMoveReducingBits) + (1 << (kNumMoveReducingBits - 1)); in LzmaEnc_InitPriceTables()
759 …>ProbPrices[((prob) ^ (unsigned)(((-(int)(bit))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
762 … ProbPrices[((prob) ^ (unsigned)((-((int)(bit))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
764 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
765 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
767 #define GET_PRICEa_0(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
768 #define GET_PRICEa_1(prob) ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]