/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_sequences.c | 272 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument 290 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 297 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body() 306 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() 313 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body() 366 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument 372 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default() 384 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument 390 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2() 400 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument [all …]
|
H A D | zstd_compress_superblock.c | 182 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSuperBlockEntropy_sequences() local 223 …size_t const mostFrequent = HIST_countFast_wksp(countWksp, &max, ofCodeTable, nbSeq, workspace, wk… in ZSTD_buildSuperBlockEntropy_sequences() 235 … countWksp, max, ofCodeTable, nbSeq, OF_defaultNorm, OF_defaultNormLog, DefaultMaxOff, in ZSTD_buildSuperBlockEntropy_sequences() 638 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument 649 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences() 666 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument 678 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
|
H A D | zstd_compress_sequences.h | 44 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
|
H A D | zstd_compress.c | 1934 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local 1943 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes() 1981 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_compressSequences_internal() local 2066 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_compressSequences_internal() 2080 count, max, ofCodeTable, nbSeq, in ZSTD_compressSequences_internal() 2123 CTable_OffsetBits, ofCodeTable, in ZSTD_compressSequences_internal()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_sequences.c | 294 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() 328 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, 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 [all …]
|
H A D | zstd_compress_superblock.c | 360 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 D | zstd_compress_sequences.h | 43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
|
H A D | zstd_compress.c | 2392 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 …]
|