Home
last modified time | relevance | path

Searched refs:mlBase (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_internal.h474 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument
485 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()
635 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeq() local
636 if (mlBase>0xFFFF) { in ZSTD_storeSeq()
641 seqStorePtr->sequences[0].mlBase = (U16)mlBase; in ZSTD_storeSeq()
H A Dzstd_compress_sequences.c316 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
354 BIT_addBits(&blockStream, sequences[n].mlBase, mlBits); in ZSTD_encodeSequences_body()
H A Dzstd_opt.c305 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local
309 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice()
317 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice()
355 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local
356 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats()
H A Dzstd_compress.c2308 U32 const mlv = sequences[u].mlBase; in ZSTD_seqToCodes()
2824 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences()
3297 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes()
/openbmc/linux/lib/zstd/common/
H A Dzstd_internal.h279 U16 mlBase; /* mlBase == matchLength - MINMATCH */ member
321 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()