Searched refs:mlBase (Results 1 – 6 of 6) sorted by relevance
/external/zstd/lib/compress/ |
D | zstd_compress_internal.h | 486 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()
|
D | zstd_compress_sequences.c | 316 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()
|
D | zstd_opt.c | 305 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()
|
D | zstd_compress.c | 2399 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/ |
D | zstd_internal.h | 289 U16 mlBase; /* mlBase == matchLength - MINMATCH */ member 331 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
|
/external/zstd/tests/ |
D | decodecorpus.c | 949 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in writeSequences() 971 BIT_addBits(&blockStream, sequences[n].mlBase, mlBits); in writeSequences()
|