Searched refs:mlBase (Results 1 – 8 of 8) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 316 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument 327 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode() 440 …StorePtr, size_t litLength, const BYTE* literals, const BYTE* litLimit, U32 offCode, size_t mlBase) in ZSTD_storeSeq() argument 449 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq() 483 if (mlBase>0xFFFF) { in ZSTD_storeSeq() 488 seqStorePtr->sequences[0].matchLength = (U16)mlBase; in ZSTD_storeSeq()
|
| H A D | zstd_opt.c | 265 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local 269 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice() 277 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice() 315 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local 316 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats()
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /freebsd/sys/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 289 U16 mlBase; /* mlBase == matchLength - MINMATCH */ member 331 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 841 U32 const mlBase = mlDInfo.baseValue; in ZSTD_decodeSequence() local 888 seq.matchLength = mlBase; in ZSTD_decodeSequence()
|