Home
last modified time | relevance | path

Searched refs:ofCodeTable (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.c294 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_body()
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()
394 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_default()
406 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences_bmi2()
412 CTable_OffsetBits, ofCodeTable, in ZSTD_encodeSequences_bmi2()
422 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, in ZSTD_encodeSequences()
291 ZSTD_encodeSequences_body( void* dst, size_t dstCapacity, FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, seqDef const* sequences, size_t nbSeq, int longOffsets) ZSTD_encodeSequences_body() argument
385 ZSTD_encodeSequences_default( void* dst, size_t dstCapacity, FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, seqDef const* sequences, size_t nbSeq, int longOffsets) ZSTD_encodeSequences_default() argument
403 ZSTD_encodeSequences_bmi2( void* dst, size_t dstCapacity, FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, seqDef const* sequences, size_t nbSeq, int longOffsets) ZSTD_encodeSequences_bmi2() argument
419 ZSTD_encodeSequences( void* dst, size_t dstCapacity, FSE_CTable const* CTable_MatchLength, BYTE const* mlCodeTable, FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable, FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, seqDef const* sequences, size_t nbSeq, int longOffsets, int bmi2) ZSTD_encodeSequences() argument
[all...]
H A Dzstd_compress_sequences.h43 FSE_CTable const* CTable_OffsetBits, BYTE const* ofCodeTable,
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()
401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
388 ZSTD_estimateSubBlockSize(const BYTE* literals, size_t litSize, const BYTE* ofCodeTable, const BYTE* llCodeTable, const BYTE* mlCodeTable, size_t nbSeq, const ZSTD_entropyCTables_t* entropy, const ZSTD_entropyCTablesMetadata_t* entropyMetadata, void* workspace, size_t wkspSize, int writeLitEntropy, int writeSeqEntropy) ZSTD_estimateSubBlockSize() argument
H A Dzstd_compress.c2301 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
2310 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase); in ZSTD_seqToCodes()
2371 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics() local
2414 countWorkspace, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics()
2428 countWorkspace, max, ofCodeTable, nbSeq, in ZSTD_buildSequencesStatistics()
2499 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal() local
2572 CTable_OffsetBits, ofCodeTable, in ZSTD_entropyCompressSeqStore_internal()
3209 static size_t ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, in ZSTD_estimateBlockSize_sequences() argument
3220 cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, MaxOff, in ZSTD_estimateBlockSize_sequences()
3238 const BYTE* ofCodeTable, in ZSTD_estimateBlockSize()
3237 ZSTD_estimateBlockSize(const BYTE* literals, size_t litSize, const BYTE* ofCodeTable, const BYTE* llCodeTable, const BYTE* mlCodeTable, size_t nbSeq, const ZSTD_entropyCTables_t* entropy, const ZSTD_entropyCTablesMetadata_t* entropyMetadata, void* workspace, size_t wkspSize, int writeLitEntropy, int writeSeqEntropy) ZSTD_estimateBlockSize() argument
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c569 BYTE *const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes() local
577 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes()
595 const BYTE *const ofCodeTable = seqStorePtr->ofCode; in ZSTD_compressSequences_internal() local
685 size_t const mostFrequent = FSE_countFast_wksp(count, &max, ofCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal()
687 *op++ = ofCodeTable[0]; in ZSTD_compressSequences_internal()
698 if (count[ofCodeTable[nbSeq - 1]] > 1) { in ZSTD_compressSequences_internal()
699 count[ofCodeTable[nbSeq - 1]]--; in ZSTD_compressSequences_internal()
760 FSE_initCState2(&stateOffsetBits, CTable_OffsetBits, ofCodeTable[nbSeq - 1]); in ZSTD_compressSequences_internal()
769 U32 const ofBits = ofCodeTable[nbSeq - 1]; in ZSTD_compressSequences_internal()
777 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset, ofCodeTable[nbSe in ZSTD_compressSequences_internal()
[all...]

Completed in 15 milliseconds