Home
last modified time | relevance | path

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

/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMADecoder.java167 int matchBit; in decode() local
172 matchBit = matchByte & offset; in decode()
173 bit = rc.decodeBit(probs, offset + matchBit + symbol); in decode()
175 offset &= (0 - bit) ^ ~matchBit; in decode()
DLZMAEncoder.java559 int matchBit; in encode() local
564 matchBit = matchByte & offset; in encode()
565 subencoderIndex = offset + matchBit + (symbol >>> 8); in encode()
598 int matchBit; in getMatchedPrice() local
605 matchBit = matchByte & offset; in getMatchedPrice()
606 subencoderIndex = offset + matchBit + (symbol >>> 8); in getMatchedPrice()
/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()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp387 unsigned matchBit = (matchByte >> 7) & 1; in DecodeLiteral() local
389 unsigned bit = RangeDec.DecodeBit(&probs[((1 + matchBit) << 8) + symbol]); in DecodeLiteral()
391 if (matchBit != bit) in DecodeLiteral()
/external/lzma/DOC/
Dlzma-specification.txt620 unsigned matchBit = (matchByte >> 7) & 1;
622 unsigned bit = RangeDec.DecodeBit(&probs[((1 + matchBit) << 8) + symbol]);
624 if (matchBit != bit)