Home
last modified time | relevance | path

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

/external/lzma/Java/SevenZip/Compression/RangeCoder/
DEncoder.java124 private static int[] ProbPrices = new int[kBitModelTotal >>> kNumMoveReducingBits]; field in Encoder
134 ProbPrices[j] = (i << kNumBitPriceShiftBits) +
141 …return ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBit… in GetPrice()
145 return ProbPrices[Prob >>> kNumMoveReducingBits]; in GetPrice0()
149 return ProbPrices[(kBitModelTotal - Prob) >>> kNumMoveReducingBits]; in GetPrice1()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBit.cs48 private static UInt32[] ProbPrices = new UInt32[kBitModelTotal >> kNumMoveReducingBits]; field
58 ProbPrices[j] = ((UInt32)i << kNumBitPriceShiftBits) + in BitEncoder()
65 …return ProbPrices[(((Prob - symbol) ^ ((-(int)symbol))) & (kBitModelTotal - 1)) >> kNumMoveReducin… 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.c357 UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits]; member
650 static void LzmaEnc_InitPriceTables(UInt32 *ProbPrices) in LzmaEnc_InitPriceTables() argument
669ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount); in LzmaEnc_InitPriceTables()
675 p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
678 ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits];
680 #define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits]
681 #define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
683 #define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits]
684 #define GET_PRICE_1a(prob) ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]
686 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, const UInt32 *ProbPrices) in LitEnc_GetPrice() argument
[all …]