Searched refs:posSlot (Results 1 - 7 of 7) sorted by relevance
/third_party/lzma/Java/SevenZip/Compression/LZMA/ |
H A D | Decoder.java | 273 int posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder);
in Code() 274 if (posSlot >= Base.kStartPosModelIndex)
in Code() 276 int numDirectBits = (posSlot >> 1) - 1;
in Code() 277 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
in Code() 278 if (posSlot < Base.kEndPosModelIndex)
in Code() 280 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
in Code() 295 rep0 = posSlot;
in Code()
|
H A D | Encoder.java | 1046 int posSlot = (1 << Base.kNumPosSlotBits) - 1;
in WriteEndMarker() 1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
in WriteEndMarker() 1174 int posSlot = GetPosSlot(pos);
in CodeOneBlock() 1176 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
in CodeOneBlock() 1178 if (posSlot >= Base.kStartPosModelIndex)
in CodeOneBlock() 1180 int footerBits = (int)((posSlot >> 1) - 1);
in CodeOneBlock() 1181 int baseVal = ((2 | (posSlot & 1)) << footerBits);
in CodeOneBlock() 1184 if (posSlot < Base.kEndPosModelIndex)
in CodeOneBlock() 1186 baseVal - posSlot - 1, _rangeEncoder, footerBits, posReduced);
in CodeOneBlock() 1318 int posSlot in FillDistancesPrices() [all...] |
/third_party/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaEncoder.cs | 1046 UInt32 posSlot = (1 << Base.kNumPosSlotBits) - 1;
in WriteEndMarker() 1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
in WriteEndMarker() 1176 UInt32 posSlot = GetPosSlot(pos);
in CodeOneBlock() 1178 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
in CodeOneBlock() 1180 if (posSlot >= Base.kStartPosModelIndex)
in CodeOneBlock() 1182 int footerBits = (int)((posSlot >> 1) - 1);
in CodeOneBlock() 1183 UInt32 baseVal = ((2 | (posSlot & 1)) << footerBits);
in CodeOneBlock() 1186 if (posSlot < Base.kEndPosModelIndex)
in CodeOneBlock() 1188 baseVal - posSlot - 1, _rangeEncoder, footerBits, posReduced);
in CodeOneBlock() 1318 UInt32 posSlot in FillDistancesPrices() [all...] |
H A D | LzmaDecoder.cs | 315 uint posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder);
in Code() 316 if (posSlot >= Base.kStartPosModelIndex)
in Code() 318 int numDirectBits = (int)((posSlot >> 1) - 1);
in Code() 319 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
in Code() 320 if (posSlot < Base.kEndPosModelIndex)
in Code() 322 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
in Code() 331 rep0 = posSlot;
in Code()
|
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/ |
H A D | LzmaSpec.cpp | 419 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
in DecodeDistance() local 420 if (posSlot < 4)
in DecodeDistance() 421 return posSlot;
in DecodeDistance() 423 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1);
in DecodeDistance() 424 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits);
in DecodeDistance() 425 if (posSlot < kEndPosModelIndex)
in DecodeDistance() 426 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec);
in DecodeDistance()
|
/third_party/lzma/C/ |
H A D | LzmaDec.c | 470 unsigned posSlot = (unsigned)distance;
in LZMA_DECODE_REAL() local 473 if (posSlot < kEndPosModelIndex)
in LZMA_DECODE_REAL() 859 unsigned posSlot;
in LzmaDec_TryDummy() local 863 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot)
in LzmaDec_TryDummy() 864 if (posSlot >= kStartPosModelIndex)
in LzmaDec_TryDummy() 866 unsigned numDirectBits = ((posSlot >> 1) - 1);
in LzmaDec_TryDummy() 868 if (posSlot < kEndPosModelIndex)
in LzmaDec_TryDummy() 870 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits);
in LzmaDec_TryDummy()
|
H A D | LzmaEnc.c | 1846 unsigned offs, posSlot, len;
in GetOptimum() local 1860 GetPosSlot2(dist, posSlot)
in GetOptimum() 1872 price += p->posSlotPrices[lenNorm][posSlot] + p->alignPrices[dist & kAlignMask];
in GetOptimum() 1951 GetPosSlot2(dist, posSlot)
in GetOptimum() 2238 unsigned posSlot = GetPosSlot1(i);
in FillDistancesPrices() local 2239 unsigned footerBits = (posSlot >> 1) - 1;
in FillDistancesPrices() 2240 unsigned base = ((2 | (posSlot & 1)) << footerBits);
in FillDistancesPrices() 2546 unsigned posSlot;
in LzmaEnc_CodeOneBlock() local 2561 GetPosSlot(dist, posSlot)
in LzmaEnc_CodeOneBlock() 2562 // RcTree_Encode_PosSlot(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], posSlot);
in LzmaEnc_CodeOneBlock() [all...] |
Completed in 12 milliseconds