Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_compress_internal.h486 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument
497 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()
647 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeq() local
648 if (mlBase>0xFFFF) { in ZSTD_storeSeq()
653 seqStorePtr->sequences[0].mlBase = (U16)mlBase; in ZSTD_storeSeq()
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()
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()
Dzstd_compress.c2399 U32 const mlv = sequences[u].mlBase; in ZSTD_seqToCodes()
2915 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences()
3388 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes()
/external/zstd/lib/common/
Dzstd_internal.h289 U16 mlBase; /* mlBase == matchLength - MINMATCH */ member
331 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
/external/zstd/tests/
Ddecodecorpus.c949 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in writeSequences()
971 BIT_addBits(&blockStream, sequences[n].mlBase, mlBits); in writeSequences()