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))
369 ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits); in LzmaDec_DecodeReal()
725 ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << in LzmaDec_TryDummy()
DLzmaEnc.c197 #define kNumLenToPosStates 4 macro
290 CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits];
360 UInt32 posSlotPrices[kNumLenToPosStates][kDistTableSizeMax];
361 UInt32 distancesPrices[kNumLenToPosStates][kNumFullDistances];
371 CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits];
400 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_SaveState()
426 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_RestoreState()
502 #define GetLenToPosState(len) (((len) < kNumLenToPosStates + 1) ? (len) - 2 : kNumLenToPosStates - …
1719 for (lenToPosState = 0; lenToPosState < kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
2045 for (i = 0; i < kNumLenToPosStates; i++) in LzmaEnc_Init()
/external/lzma/DOC/
Dlzma-specification.txt734 #define kNumLenToPosStates 4
737 if (lenState > kNumLenToPosStates - 1)
738 lenState = kNumLenToPosStates - 1;
752 CBitTreeDecoder<6> PosSlotDecoder[kNumLenToPosStates];
758 for (unsigned i = 0; i < kNumLenToPosStates; i++)
825 if (lenState > kNumLenToPosStates - 1)
826 lenState = kNumLenToPosStates - 1;