Home
last modified time | relevance | path

Searched refs:GetPrice (Results 1 – 6 of 6) sorted by relevance

/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java44 public int GetPrice(int symbol) in GetPrice() method in BitTreeEncoder
52 price += Encoder.GetPrice(Models[m], bit); in GetPrice()
66 price += Encoder.GetPrice(Models[m], bit); in ReverseGetPrice()
81 price += Encoder.GetPrice(Models[startIndex + m], bit); in ReverseGetPrice()
DEncoder.java139 static public int GetPrice(int Prob, int symbol) in GetPrice() method in Encoder
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs46 public UInt32 GetPrice(UInt32 symbol) in GetPrice() method
54 price += Models[m].GetPrice(bit); in GetPrice()
68 price += Models[m].GetPrice(bit); in ReverseGetPrice()
83 price += Models[startIndex + m].GetPrice(bit); in ReverseGetPrice()
DRangeCoderBit.cs63 public uint GetPrice(uint symbol) in GetPrice() method
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java108 public int GetPrice(boolean matchMode, byte matchByte, byte symbol) in GetPrice() method in Encoder.LiteralEncoder.Encoder2
119 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
231 prices[st + i] = a0 + _lowCoder[posState].GetPrice(i); in SetPrices()
237 prices[st + i] = b0 + _midCoder[posState].GetPrice(i - Base.kNumLowLenSymbols); in SetPrices()
240 prices[st + i] = b1 + _highCoder.GetPrice(i - Base.kNumLowLenSymbols - Base.kNumMidLenSymbols); in SetPrices()
254 public int GetPrice(int symbol, int posState) in GetPrice() method in Encoder.LenPriceTableEncoder
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2); in GetPureRepPrice()
485 int price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs108 public uint GetPrice(bool matchMode, byte matchByte, byte symbol) in GetPrice() method
119 price += m_Encoders[((1 + matchBit) << 8) + context].GetPrice(bit); in GetPrice()
131 price += m_Encoders[context].GetPrice(bit); in GetPrice()
231 prices[st + i] = a0 + _lowCoder[posState].GetPrice(i); in SetPrices()
237 prices[st + i] = b0 + _midCoder[posState].GetPrice(i - Base.kNumLowLenSymbols); in SetPrices()
240 prices[st + i] = b1 + _highCoder.GetPrice(i - Base.kNumLowLenSymbols - Base.kNumMidLenSymbols); in SetPrices()
254 public UInt32 GetPrice(UInt32 symbol, UInt32 posState) in GetPrice() method in SevenZip.Compression.LZMA.Encoder.LenPriceTableEncoder
477 price += _isRepG2[state.Index].GetPrice(repIndex - 2); in GetPureRepPrice()
485 UInt32 price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
[all …]