Home
last modified time | relevance | path

Searched refs:numDirectBits (Results 1 – 5 of 5) sorted by relevance

/external/lzma/C/
DLzmaDec.c374 unsigned numDirectBits = (unsigned)(((distance >> 1) - 1)); in LzmaDec_DecodeReal() local
378 distance <<= numDirectBits; in LzmaDec_DecodeReal()
388 while (--numDirectBits != 0); in LzmaDec_DecodeReal()
393 numDirectBits -= kNumAlignBits; in LzmaDec_DecodeReal()
415 while (--numDirectBits != 0); in LzmaDec_DecodeReal()
730 unsigned numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy() local
736 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
740 numDirectBits -= kNumAlignBits; in LzmaDec_TryDummy()
748 while (--numDirectBits != 0); in LzmaDec_TryDummy()
750 numDirectBits = kNumAlignBits; in LzmaDec_TryDummy()
[all …]
/external/lzma/Java/SevenZip/Compression/LZMA/
DDecoder.java276 int numDirectBits = (posSlot >> 1) - 1; in Code() local
277 rep0 = ((2 | (posSlot & 1)) << numDirectBits); in Code()
280 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits); in Code()
284 numDirectBits - Base.kNumAlignBits) << Base.kNumAlignBits); in Code()
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaDecoder.cs318 int numDirectBits = (int)((posSlot >> 1) - 1); in Code()
319 rep0 = ((2 | (posSlot & 1)) << numDirectBits); in Code()
322 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits); in Code()
326 numDirectBits - Base.kNumAlignBits) << Base.kNumAlignBits); in Code()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp423 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1); in DecodeDistance() local
424 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits); in DecodeDistance()
426 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec); in DecodeDistance()
429 dist += RangeDec.DecodeDirectBits(numDirectBits - kNumAlignBits) << kNumAlignBits; in DecodeDistance()
/external/lzma/DOC/
Dlzma-specification.txt832 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1);
833 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits);
835 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec);
838 dist += RangeDec.DecodeDirectBits(numDirectBits - kNumAlignBits) << kNumAlignBits;