Home
last modified time | relevance | path

Searched refs:kNumLenToPosStates (Results 1 – 10 of 10) sorted by relevance

/external/lzma/CS/7zip/Compress/LZMA/
DLzmaBase.cs37 public const uint kNumLenToPosStates = 1 << kNumLenToPosStatesBits; field in SevenZip.Compression.LZMA.Base
44 if (len < kNumLenToPosStates) in GetLenToPosState()
46 return (uint)(kNumLenToPosStates - 1); in GetLenToPosState()
DLzmaDecoder.cs145 BitTreeDecoder[] m_PosSlotDecoder = new BitTreeDecoder[Base.kNumLenToPosStates];
163 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Decoder()
219 for (i = 0; i < Base.kNumLenToPosStates; i++) in Init()
DLzmaEncoder.cs314 …ngeCoder.BitTreeEncoder[] _posSlotEncoder = new RangeCoder.BitTreeEncoder[Base.kNumLenToPosStates];
386 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Encoder()
415 for (i = 0; i < Base.kNumLenToPosStates; i++) in Init()
1325 for (UInt32 lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
/external/lzma/Java/SevenZip/Compression/LZMA/
DBase.java50 public static final int kNumLenToPosStates = 1 << kNumLenToPosStatesBits; field in Base
57 if (len < kNumLenToPosStates) in GetLenToPosState()
59 return (int)(kNumLenToPosStates - 1); in GetLenToPosState()
DDecoder.java133 BitTreeDecoder[] m_PosSlotDecoder = new BitTreeDecoder[Base.kNumLenToPosStates];
150 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Decoder()
193 for (i = 0; i < Base.kNumLenToPosStates; i++) in Init()
DEncoder.java314 BitTreeEncoder[] _posSlotEncoder = new BitTreeEncoder[Base.kNumLenToPosStates]; // kNumPosSlotBits
386 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Encoder()
415 for (int i = 0; i < Base.kNumLenToPosStates; i++) in Init()
1325 for (int lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp266 #define kNumLenToPosStates 4 macro
401 CBitTreeDecoder<6> PosSlotDecoder[kNumLenToPosStates];
407 for (unsigned i = 0; i < kNumLenToPosStates; i++) in InitDist()
416 if (lenState > kNumLenToPosStates - 1) in DecodeDistance()
417 lenState = kNumLenToPosStates - 1; in DecodeDistance()
/external/lzma/C/
DLzmaDec.c95 #define kNumLenToPosStates 4 macro
110 #define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
330 ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits); in LzmaDec_DecodeReal()
667 ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << in LzmaDec_TryDummy()
DLzmaEnc.c172 #define kNumLenToPosStates 4 macro
258 CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits];
304 UInt32 posSlotPrices[kNumLenToPosStates][kDistTableSizeMax];
305 UInt32 distancesPrices[kNumLenToPosStates][kNumFullDistances];
323 CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits];
364 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_SaveState()
390 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_RestoreState()
462 #define GetLenToPosState(len) (((len) < kNumLenToPosStates + 1) ? (len) - 2 : kNumLenToPosStates - …
1667 for (lenToPosState = 0; lenToPosState < kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
1989 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_Init()
/external/lzma/DOC/
Dlzma-specification.txt733 #define kNumLenToPosStates 4
736 if (lenState > kNumLenToPosStates - 1)
737 lenState = kNumLenToPosStates - 1;
751 CBitTreeDecoder<6> PosSlotDecoder[kNumLenToPosStates];
757 for (unsigned i = 0; i < kNumLenToPosStates; i++)
824 if (lenState > kNumLenToPosStates - 1)
825 lenState = kNumLenToPosStates - 1;