Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c271 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_body() argument
289 FSE_initCState2(&stateMatchLength, CTable_MatchLength, mlCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
294 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
314 BYTE const mlCode = mlCodeTable[n]; in ZSTD_encodeSequences_body()
365 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_default() argument
371 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_default()
383 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences_bmi2() argument
389 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences_bmi2()
399 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, in ZSTD_encodeSequences() argument
408 CTable_MatchLength, mlCodeTable, in ZSTD_encodeSequences()
[all …]
H A Dzstd_compress_superblock.c184 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_buildSuperBlockEntropy_sequences() local
247 …size_t const mostFrequent = HIST_countFast_wksp(countWksp, &max, mlCodeTable, nbSeq, workspace, wk… in ZSTD_buildSuperBlockEntropy_sequences()
257 … countWksp, max, mlCodeTable, nbSeq, ML_defaultNorm, ML_defaultNormLog, MaxML, in ZSTD_buildSuperBlockEntropy_sequences()
640 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
657 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences()
668 const BYTE* mlCodeTable, in ZSTD_estimateSubBlockSize() argument
678 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress_sequences.h43 FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable,
H A Dzstd_compress.c1935 BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_seqToCodes() local
1944 mlCodeTable[u] = (BYTE)ZSTD_MLcode(mlv); in ZSTD_seqToCodes()
1949 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes()
1983 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_compressSequences_internal() local
2094 count, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_compressSequences_internal()
2106 count, max, mlCodeTable, nbSeq, in ZSTD_compressSequences_internal()
2122 CTable_MatchLength, mlCodeTable, in ZSTD_compressSequences_internal()
/freebsd/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 …]