Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.c295 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_body()
313 FSE_initCState2(&stateLitLength, CTable_LitLength, llCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
314 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
334 BYTE const llCode = llCodeTable[n]; in ZSTD_encodeSequences_body()
389 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_default()
395 CTable_LitLength, llCodeTable, in ZSTD_encodeSequences_default()
407 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences_bmi2()
413 CTable_LitLength, llCodeTable, in ZSTD_encodeSequences_bmi2()
423 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable, in ZSTD_encodeSequences()
432 CTable_LitLength, llCodeTable, 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.h44 FSE_CTable const* CTable_LitLength, BYTE const* llCodeTable,
H A Dzstd_compress_superblock.c361 const BYTE* llCodeTable, in ZSTD_estimateSubBlockSize_sequences()
376 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
390 const BYTE* llCodeTable, in ZSTD_estimateSubBlockSize()
401 cSizeEstimate += ZSTD_estimateSubBlockSize_sequences(ofCodeTable, llCodeTable, mlCodeTable, in ZSTD_estimateSubBlockSize()
360 ZSTD_estimateSubBlockSize_sequences(const BYTE* ofCodeTable, const BYTE* llCodeTable, const BYTE* mlCodeTable, size_t nbSeq, const ZSTD_fseCTables_t* fseTables, const ZSTD_fseCTablesMetadata_t* fseMetadata, void* workspace, size_t wkspSize, int writeEntropy) ZSTD_estimateSubBlockSize_sequences() argument
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.c2300 BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_seqToCodes() local
2309 llCodeTable[u] = (BYTE)ZSTD_LLcode(llv); in ZSTD_seqToCodes()
2314 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2372 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_buildSequencesStatistics() local
2383 size_t const mostFrequent = HIST_countFast_wksp(countWorkspace, &max, llCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_buildSequencesStatistics()
2396 countWorkspace, max, llCodeTable, nbSeq, in ZSTD_buildSequencesStatistics()
2500 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_entropyCompressSeqStore_internal() local
2573 CTable_LitLength, llCodeTable, in ZSTD_entropyCompressSeqStore_internal()
3210 const BYTE* llCodeTable, in ZSTD_estimateBlockSize_sequences()
3224 cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->llType, llCodeTable, nbSe in ZSTD_estimateBlockSize_sequences()
3209 ZSTD_estimateBlockSize_sequences(const BYTE* ofCodeTable, const BYTE* llCodeTable, const BYTE* mlCodeTable, size_t nbSeq, const ZSTD_fseCTables_t* fseTables, const ZSTD_fseCTablesMetadata_t* fseMetadata, void* workspace, size_t wkspSize, int writeEntropy) ZSTD_estimateBlockSize_sequences() argument
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.c568 BYTE *const llCodeTable = seqStorePtr->llCode; in ZSTD_seqToCodes() local
576 llCodeTable[u] = (llv > 63) ? (BYTE)ZSTD_highbit32(llv) + LL_deltaCode : LL_Code[llv]; in ZSTD_seqToCodes()
581 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
596 const BYTE *const llCodeTable = seqStorePtr->llCode; in ZSTD_compressSequences_internal() local
653 size_t const mostFrequent = FSE_countFast_wksp(count, &max, llCodeTable, nbSeq, workspace); in ZSTD_compressSequences_internal()
655 *op++ = llCodeTable[0]; in ZSTD_compressSequences_internal()
666 if (count[llCodeTable[nbSeq - 1]] > 1) { in ZSTD_compressSequences_internal()
667 count[llCodeTable[nbSeq - 1]]--; in ZSTD_compressSequences_internal()
761 FSE_initCState2(&stateLitLength, CTable_LitLength, llCodeTable[nbSeq - 1]); in ZSTD_compressSequences_internal()
762 BIT_addBits(&blockStream, sequences[nbSeq - 1].litLength, LL_bits[llCodeTable[nbSe in ZSTD_compressSequences_internal()
[all...]

Completed in 15 milliseconds