Searched refs:GetPrice1 (Results 1 - 5 of 5) sorted by relevance

/external/lzma/CPP/7zip/Compress/
H A DRangeCoderBit.h75 UInt32 GetPrice1() const { return ProbPrices[(this->Prob ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits]; } function in class:NCompress::NRangeCoder::CBitEncoder
/external/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoderBit.cs68 public uint GetPrice1() { return ProbPrices[(kBitModelTotal - Prob) >> kNumMoveReducingBits]; } method in struct:SevenZip.Compression.RangeCoder.BitEncoder
/external/lzma/Java/SevenZip/Compression/RangeCoder/
H A DEncoder.java147 static public int GetPrice1(int Prob) method in class:Encoder
/external/lzma/CS/7zip/Compress/LZMA/
H A DLzmaEncoder.cs223 UInt32 a1 = _choice.GetPrice1();
225 UInt32 b1 = a1 + _choice2.GetPrice1();
467 price += _isRep0Long[(state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1();
471 price = _isRepG0[state.Index].GetPrice1();
476 price += _isRepG1[state.Index].GetPrice1();
612 UInt32 matchPrice = _isMatch[(_state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1();
613 UInt32 repMatchPrice = matchPrice + _isRep[_state.Index].GetPrice1();
823 matchPrice = curPrice + _isMatch[(state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1();
824 repMatchPrice = matchPrice + _isRep[state.Index].GetPrice1();
858 _isMatch[(state2.Index << Base.kNumPosStatesBitsMax) + posStateNext].GetPrice1()
[all...]
/external/lzma/Java/SevenZip/Compression/LZMA/
H A DEncoder.java223 int a1 = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_choice[0]);
225 int b1 = a1 + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_choice[1]);
467 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep0Long[(state << Base.kNumPosStatesBitsMax) + posState]);
471 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG0[state]);
476 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG1[state]);
612 int matchPrice = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(_state << Base.kNumPosStatesBitsMax) + posState]);
613 int repMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[_state]);
823 matchPrice = curPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatch[(state << Base.kNumPosStatesBitsMax) + posState]);
824 repMatchPrice = matchPrice + SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep[state]);
858 SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isMatc
[all...]

Completed in 155 milliseconds