Home
last modified time | relevance | path

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

/Linux-v6.1/lib/zstd/compress/
Dzstd_compress_sequences.c291 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body() argument
309 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
316 U32 const ofBits = ofCodeTable[nbSeq-1]; in ZSTD_encodeSequences_body()
325 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
332 BYTE const ofCode = ofCodeTable[n]; in ZSTD_encodeSequences_body()
385 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_default() argument
391 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default()
403 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2() argument
409 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2()
419 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences() argument
[all …]
Dzstd_compress_superblock.c182 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()
640 static size_t ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize_sequences() argument
651 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
668 const BYTE* ofCodeTable, in ZSTD_estimateSubBlockSize() argument
680 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
Dzstd_compress_sequences.h43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
Dzstd_compress.c2068 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
2077 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes()
2115 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSequences_internal() local
2204 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal()
2218 count, max, ofCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2261 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSequences_internal()