/external/lzma/Java/SevenZip/Compression/LZMA/ |
Decoder.java | 273 int posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder);
274 if (posSlot >= Base.kStartPosModelIndex)
276 int numDirectBits = (posSlot >> 1) - 1;
277 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
278 if (posSlot < Base.kEndPosModelIndex)
280 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
295 rep0 = posSlot;
|
Encoder.java | 1046 int posSlot = (1 << Base.kNumPosSlotBits) - 1;
1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/lzma/ |
Decoder.java | 247 int posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder);
248 if (posSlot >= Base.kStartPosModelIndex) {
249 int numDirectBits = (posSlot >> 1) - 1;
250 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
251 if (posSlot < Base.kEndPosModelIndex)
252 rep0 += BitTreeDecoder.ReverseDecode(m_PosDecoders, rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
262 rep0 = posSlot;
|
Encoder.java | 929 int posSlot = (1 << Base.kNumPosSlotBits) - 1;
931 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
[all...] |
/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaDecoder.cs | 315 uint posSlot = m_PosSlotDecoder[Base.GetLenToPosState(len)].Decode(m_RangeDecoder);
316 if (posSlot >= Base.kStartPosModelIndex)
318 int numDirectBits = (int)((posSlot >> 1) - 1);
319 rep0 = ((2 | (posSlot & 1)) << numDirectBits);
320 if (posSlot < Base.kEndPosModelIndex)
322 rep0 - posSlot - 1, m_RangeDecoder, numDirectBits);
331 rep0 = posSlot;
|
LzmaEncoder.cs | 1046 UInt32 posSlot = (1 << Base.kNumPosSlotBits) - 1;
1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot);
[all...] |
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
LzmaSpec.cpp | 419 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
420 if (posSlot < 4)
421 return posSlot;
423 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1);
424 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits);
425 if (posSlot < kEndPosModelIndex)
426 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec);
|
/external/lzma/C/ |
LzmaEnc.c | [all...] |
LzmaDec.c | 109 #define PosSlot (IsRep0Long + (kNumStates << kNumPosBitsMax))
110 #define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
329 prob = probs + PosSlot +
334 unsigned posSlot = (unsigned)distance;
337 if (posSlot < kEndPosModelIndex)
340 prob = probs + SpecPos + distance - posSlot - 1;
665 unsigned posSlot;
666 prob = probs + PosSlot +
669 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot);
670 if (posSlot >= kStartPosModelIndex) [all...] |