Home
last modified time | relevance | path

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

/src/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()
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 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 …]
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c295 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument
313 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
320 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body()
329 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
336 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body()
389 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument
395 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default()
407 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument
413 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2()
423 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument
[all …]
H A Dzstd_compress_sequences.h45 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
H A Dzstd_compress_superblock.c366 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
378 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
399 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument
412 ebs.estBlockSize = ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
H A Dzstd_compress.c2698 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
2709 ofCodeTable[u] = (BYTE)ofCode; in ZSTD_seqToCodes()
2777 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics() local
2820 … countWorkspace, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics()
2834 countWorkspace, max, ofCodeTable, nbSeq, in ZSTD_buildSequencesStatistics()
2906 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal() local
2978 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSeqStore_internal()
3896 ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateBlockSize_sequences() argument
3907 …cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, Max… in ZSTD_estimateBlockSize_sequences()
3926 const BYTE* ofCodeTable, in ZSTD_estimateBlockSize() argument
[all …]