Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c271 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument
289 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
296 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body()
312 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body()
365 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument
371 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default()
383 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument
389 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2()
399 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument
408 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences()
[all …]
H A Dzstd_compress_superblock.c181 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSuperBlockEntropy_sequences() local
222 …size_t const mostFrequent = HIST_countFast_wksp(countWksp, &max, ofCodeTable, nbSeq, workspace, wk… in ZSTD_buildSuperBlockEntropy_sequences()
234 … countWksp, max, ofCodeTable, nbSeq, OF_defaultNorm, OF_defaultNormLog, DefaultMaxOff, in ZSTD_buildSuperBlockEntropy_sequences()
637 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
648 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
665 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument
677 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress_sequences.h43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
H A Dzstd_compress.c1933 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
1942 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes()
1980 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_compressSequences_internal() local
2065 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_compressSequences_internal()
2079 count, max, ofCodeTable, nbSeq, in ZSTD_compressSequences_internal()
2122 CTable_OffsetBits, ofCodeTable, in ZSTD_compressSequences_internal()
/freebsd-14.2/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c294 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument
312 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
319 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body()
335 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body()
388 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument
394 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default()
406 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument
412 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2()
422 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument
431 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences()
[all …]
H A Dzstd_compress_superblock.c360 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
372 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
389 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument
401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress_sequences.h43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
H A Dzstd_compress.c2392 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
2401 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase); in ZSTD_seqToCodes()
2462 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics() local
2505 … countWorkspace, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics()
2519 countWorkspace, max, ofCodeTable, nbSeq, in ZSTD_buildSequencesStatistics()
2590 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal() local
2663 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSeqStore_internal()
3300 static size_t ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateBlockSize_sequences() argument
3311 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences()
3329 const BYTE* ofCodeTable, in ZSTD_estimateBlockSize() argument
[all …]