Home
last modified time | relevance | path

Searched refs:mlCodeTable (Results 1 – 8 of 8) sorted by relevance

/freebsd-src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c270 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body() argument
288 FSE_initCState2(&stateMatchLength, CTable_MatchLength, mlCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
293 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
313 BYTE const mlCode = mlCodeTable[n]; in ZSTD_encodeSequences_body()
364 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default() argument
370 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_default()
382 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_bmi2() argument
388 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_bmi2()
398 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences() argument
407 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences()
[all …]
H A Dzstd_compress_superblock.c183 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_buildSuperBlockEntropy_sequences() local
246 …size_t const mostFrequent = HIST_countFast_wksp(countWksp, &max, mlCodeTable, nbSeq, workspace, wk… in ZSTD_buildSuperBlockEntropy_sequences()
256 … countWksp, max, mlCodeTable, nbSeq, ML_defaultNorm, ML_defaultNormLog, MaxML, in ZSTD_buildSuperBlockEntropy_sequences()
639 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
656 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences()
667 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize() argument
677 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress_sequences.h42 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
H A Dzstd_compress.c1934 BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_seqToCodes() local
1943 mlCodeTable[u] = (BYTE)ZSTD_MLcode(mlv); in ZSTD_seqToCodes()
1948 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes()
1982 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_compressSequences_internal() local
2093 count, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_compressSequences_internal()
2105 count, max, mlCodeTable, nbSeq, in ZSTD_compressSequences_internal()
2121 CTable_MatchLength, mlCodeTable, in ZSTD_compressSequences_internal()
/freebsd-src/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c293 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body() argument
311 FSE_initCState2(&stateMatchLength, CTable_MatchLength, mlCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
316 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
336 BYTE const mlCode = mlCodeTable[n]; in ZSTD_encodeSequences_body()
387 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default() argument
393 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_default()
405 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_bmi2() argument
411 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_bmi2()
421 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences() argument
430 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences()
[all …]
H A Dzstd_compress_superblock.c362 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
380 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences()
391 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize() argument
401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress_sequences.h42 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
H A Dzstd_compress.c2393 BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_seqToCodes() local
2402 mlCodeTable[u] = (BYTE)ZSTD_MLcode(mlv); in ZSTD_seqToCodes()
2407 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes()
2464 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_buildSequencesStatistics() local
2537 … countWorkspace, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics()
2549 countWorkspace, max, mlCodeTable, nbSeq, in ZSTD_buildSequencesStatistics()
2592 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_entropyCompressSeqStore_internal() local
2662 CTable_MatchLength, mlCodeTable, in ZSTD_entropyCompressSeqStore_internal()
3302 const BYTE* mlCodeTable, in ZSTD_estimateBlockSize_sequences() argument
3319 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences()
[all …]