Home
last modified time | relevance | path

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

/external/lzma/CS/7zip/Compress/LZMA/
DLzmaBase.cs39 public const uint kMatchMinLen = 2; field in SevenZip.Compression.LZMA.Base
43 len -= kMatchMinLen; in GetLenToPosState()
74 public const uint kMatchMaxLen = kMatchMinLen + kNumLenSymbols - 1;
DLzmaEncoder.cs485 UInt32 price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
1044 UInt32 len = Base.kMatchMinLen; in WriteEndMarker()
1045 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in WriteEndMarker()
1159 _repMatchLenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1174 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1264 _lenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
1266 _repMatchLenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
DLzmaDecoder.cs305 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
313 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
/external/lzma/Java/SevenZip/Compression/LZMA/
DBase.java52 public static final int kMatchMinLen = 2; field in Base
56 len -= kMatchMinLen; in GetLenToPosState()
87 public static final int kMatchMaxLen = kMatchMinLen + kNumLenSymbols - 1;
DEncoder.java485 int price = _repMatchLenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetRepPrice()
498 return price + _lenEncoder.GetPrice(len - Base.kMatchMinLen, posState); in GetPosLenPrice()
1044 int len = Base.kMatchMinLen; in WriteEndMarker()
1045 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in WriteEndMarker()
1157 _repMatchLenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1172 _lenEncoder.Encode(_rangeEncoder, len - Base.kMatchMinLen, posState); in CodeOneBlock()
1264 _lenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
1266 _repMatchLenEncoder.SetTableSize(_numFastBytes + 1 - Base.kMatchMinLen); in SetStreams()
DDecoder.java262 len = m_RepLenDecoder.Decode(m_RangeDecoder, posState) + Base.kMatchMinLen; in Code()
271 len = Base.kMatchMinLen + m_LenDecoder.Decode(m_RangeDecoder, posState); in Code()
/external/lzma/Asm/x86/
DLzmaDecOpt.asm479 kMatchMinLen equ 2 define
480 kMatchSpecLenStart equ (kMatchMinLen + kLenNumLowSymbols * 2 + kLenNumHighSymbols)
761 mov len_temp, 8 - 1 - kMatchMinLen
765 mov len_temp, -1 - kMatchMinLen
779 mov len_temp, (kLenNumHighSymbols - kLenNumLowSymbols * 2) - 1 - kMatchMinLen
798 mov t0, 3 + kMatchMinLen
799 cmp sym, 3 + kMatchMinLen
801 add probs, PosSlot * PMULT - (kMatchMinLen SHL (kNumPosSlotBits + PSHIFT))
925 ; len += kMatchMinLen;
926 ; add sym, kMatchMinLen
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp271 #define kMatchMinLen 2 macro
553 len += kMatchMinLen; in Decode()
/external/lzma/C/
DLzmaDec.c114 #define kMatchMinLen 2 macro
115 #define kMatchSpecLenStart (kMatchMinLen + kLenNumLowSymbols * 2 + kLenNumHighSymbols)
526 len += kMatchMinLen; in LZMA_DECODE_REAL()
/external/lzma/DOC/
Dlzma-specification.txt642 #define kMatchMinLen 2
644 matchLen = len + kMatchMinLen;
1141 len += kMatchMinLen;