Searched refs:footerBits (Results 1 – 4 of 4) sorted by relevance
/external/xz-java/src/org/tukaani/xz/lzma/ |
D | LZMAEncoder.java | 328 int footerBits = (distSlot >>> 1) - 1; in encodeMatch() local 329 int base = (2 | (distSlot & 1)) << footerBits; in encodeMatch() 338 footerBits - ALIGN_BITS); in encodeMatch() 489 int footerBits = (distSlot >>> 1) - 1; in updateDistPrices() local 490 int base = (2 | (distSlot & 1)) << footerBits; in updateDistPrices()
|
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 1049 int footerBits = 30; in WriteEndMarker() local 1050 int posReduced = (1 << footerBits) - 1; in WriteEndMarker() 1051 _rangeEncoder.EncodeDirectBits(posReduced >> Base.kNumAlignBits, footerBits - Base.kNumAlignBits); in WriteEndMarker() 1180 int footerBits = (int)((posSlot >> 1) - 1); in CodeOneBlock() local 1181 int baseVal = ((2 | (posSlot & 1)) << footerBits); in CodeOneBlock() 1186 baseVal - posSlot - 1, _rangeEncoder, footerBits, posReduced); in CodeOneBlock() 1189 … _rangeEncoder.EncodeDirectBits(posReduced >> Base.kNumAlignBits, footerBits - Base.kNumAlignBits); in CodeOneBlock() 1319 int footerBits = (int)((posSlot >> 1) - 1); in FillDistancesPrices() local 1320 int baseVal = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices() 1322 baseVal - posSlot - 1, footerBits, i - baseVal); in FillDistancesPrices()
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaEncoder.cs | 1049 int footerBits = 30; in WriteEndMarker() 1050 UInt32 posReduced = (((UInt32)1) << footerBits) - 1; in WriteEndMarker() 1051 … _rangeEncoder.EncodeDirectBits(posReduced >> Base.kNumAlignBits, footerBits - Base.kNumAlignBits); in WriteEndMarker() 1182 int footerBits = (int)((posSlot >> 1) - 1); in CodeOneBlock() 1183 UInt32 baseVal = ((2 | (posSlot & 1)) << footerBits); in CodeOneBlock() 1188 baseVal - posSlot - 1, _rangeEncoder, footerBits, posReduced); in CodeOneBlock() 1191 … _rangeEncoder.EncodeDirectBits(posReduced >> Base.kNumAlignBits, footerBits - Base.kNumAlignBits); in CodeOneBlock() 1319 int footerBits = (int)((posSlot >> 1) - 1); in FillDistancesPrices() 1320 UInt32 baseVal = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices() 1322 baseVal - posSlot - 1, footerBits, i - baseVal); in FillDistancesPrices()
|
/external/lzma/C/ |
D | LzmaEnc.c | 2119 unsigned footerBits = (posSlot >> 1) - 1; in FillDistancesPrices() local 2120 unsigned base = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices() 2126 unsigned offset = (unsigned)1 << footerBits; in FillDistancesPrices() 2129 if (footerBits) in FillDistancesPrices() 2137 while (--footerBits); in FillDistancesPrices() 2453 unsigned footerBits = ((posSlot >> 1) - 1); in LzmaEnc_CodeOneBlock() local 2457 unsigned base = ((2 | (posSlot & 1)) << footerBits); in LzmaEnc_CodeOneBlock() 2458 … RcTree_ReverseEncode(&p->rc, p->posEncoders + base, footerBits, (unsigned)(dist /* - base */)); in LzmaEnc_CodeOneBlock() 2462 UInt32 pos2 = (dist | 0xF) << (32 - footerBits); in LzmaEnc_CodeOneBlock()
|