Home
last modified time | relevance | path

Searched refs:matchBit (Results 1 – 4 of 4) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java76 int matchBit = (matchByte >> 7) & 1; in DecodeWithMatchByte() local
78 int bit = rangeDecoder.DecodeBit(m_Decoders, ((1 + matchBit) << 8) + symbol); in DecodeWithMatchByte()
80 if (matchBit != bit) in DecodeWithMatchByte()
DEncoder.java99 int matchBit = ((matchByte >> i) & 1); in EncodeMatched() local
100 state += ((1 + matchBit) << 8); in EncodeMatched()
101 same = (matchBit == bit); in EncodeMatched()
117 int matchBit = (matchByte >> i) & 1; in GetPrice() local
119 …price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
121 if (matchBit != bit) in GetPrice()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaDecoder.cs83 uint matchBit = (uint)(matchByte >> 7) & 1; in DecodeWithMatchByte()
85 uint bit = m_Decoders[((1 + matchBit) << 8) + symbol].Decode(rangeDecoder); in DecodeWithMatchByte()
87 if (matchBit != bit) in DecodeWithMatchByte()
DLzmaEncoder.cs99 uint matchBit = (uint)((matchByte >> i) & 1); in EncodeMatched()
100 state += ((1 + matchBit) << 8); in EncodeMatched()
101 same = (matchBit == bit); in EncodeMatched()
117 uint matchBit = (uint)(matchByte >> i) & 1; in GetPrice()
119 price += m_Encoders[((1 + matchBit) << 8) + context].GetPrice(bit); in GetPrice()
121 if (matchBit != bit) in GetPrice()