Home
last modified time | relevance | path

Searched refs:MaxLL (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h105 #define MaxLL 35 macro
108 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
118 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
120 static UNUSED_ATTR const U8 LL_bits[MaxLL+1] = {
127 static UNUSED_ATTR const S16 LL_defaultNorm[MaxLL+1] = {
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h104 #define MaxLL 35 macro
107 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
117 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
119 static UNUSED_ATTR const U8 LL_bits[MaxLL+1] = {
126 static UNUSED_ATTR const S16 LL_defaultNorm[MaxLL+1] = {
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c672 unsigned litLengthCount[MaxLL+1]; in ZDICT_analyzeEntropy()
673 short litLengthNCount[MaxLL+1]; in ZDICT_analyzeEntropy()
692 for (u=0; u<=MaxLL; u++) litLengthCount[u] = 1; in ZDICT_analyzeEntropy()
765 total=0; for (u=0; u<=MaxLL; u++) total+=litLengthCount[u]; in ZDICT_analyzeEntropy()
766 …errorCode = FSE_normalizeCount(litLengthNCount, llLog, litLengthCount, total, MaxLL, /* useLowProb… in ZDICT_analyzeEntropy()
808 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_internal.h31 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
H A Dzstd_decompress.c1512 { short litlengthNCount[MaxLL+1]; in ZSTD_loadDEntropy()
1513 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadDEntropy()
1516 RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c739 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_internal.h30 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
H A Dzstd_decompress.c1511 { short litlengthNCount[MaxLL+1]; in ZSTD_loadDEntropy()
1512 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadDEntropy()
1515 RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c738 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c381 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
383 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_opt.c180 for (ll=0; ll<=MaxLL; ll++) { in ZSTD_rescaleFreqs()
222 { unsigned const baseLLfreqs[MaxLL+1] = { in ZSTD_rescaleFreqs()
230 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1); in ZSTD_rescaleFreqs()
255 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
H A Dzstd_compress.c1673 + ZSTD_cwksp_aligned64_alloc_size((MaxLL+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
2057 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2715 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2787 { unsigned max = MaxLL; in ZSTD_buildSequencesStatistics()
2802 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_buildSequencesStatistics()
3910 …eqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->llType, llCodeTable, nbSeq, MaxLL, in ZSTD_estimateBlockSize_sequences()
3912 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateBlockSize_sequences()
5113 { short litlengthNCount[MaxLL+1]; in ZSTD_loadCEntropy()
5114 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadCEntropy()
5123 …ntropy.fse.litlength_repeatMode = ZSTD_dictNCountRepeat(litlengthNCount, litlengthMaxValue, MaxLL); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h71 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_superblock.c382 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
384 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_opt.c181 for (ll=0; ll<=MaxLL; ll++) { in ZSTD_rescaleFreqs()
223 { unsigned const baseLLfreqs[MaxLL+1] = { in ZSTD_rescaleFreqs()
231 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1); in ZSTD_rescaleFreqs()
256 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
H A Dzstd_compress.c1674 + ZSTD_cwksp_aligned64_alloc_size((MaxLL+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
2058 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2716 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2788 { unsigned max = MaxLL; in ZSTD_buildSequencesStatistics()
2803 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_buildSequencesStatistics()
3911 …eqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->llType, llCodeTable, nbSeq, MaxLL, in ZSTD_estimateBlockSize_sequences()
3913 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateBlockSize_sequences()
5114 { short litlengthNCount[MaxLL+1]; in ZSTD_loadCEntropy()
5115 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadCEntropy()
5124 …ntropy.fse.litlength_repeatMode = ZSTD_dictNCountRepeat(litlengthNCount, litlengthMaxValue, MaxLL); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h72 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c442 #define MaxLL 35 macro
444 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
456 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
459 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3196 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, LL… in ZSTDv06_decodeSeqHeaders()
3241 static const U32 LL_base[MaxLL+1] = { in ZSTDv06_decodeSequence()
3789 { short litlengthNCount[MaxLL+1]; in ZSTDv06_loadEntropy()
3790 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv06_loadEntropy()
H A Dzstd_v01.c1292 #define MaxLL ((1<<LLbits )-1) macro
1299 #define MaxSeq MAX(MaxLL, MaxML)
1587 { U32 max = MaxLL; in ZSTDv01_decodeSeqHeaders()
1665 if (litLength == MaxLL) in ZSTD_decodeSequence()
H A Dzstd_v07.c2676 #define MaxLL 35 macro
2678 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
2690 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2693 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3427 …{ size_t const llhSize = ZSTDv07_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, L… in ZSTDv07_decodeSeqHeaders()
3472 static const U32 LL_base[MaxLL+1] = { in ZSTDv07_decodeSequence()
4071 { short litlengthNCount[MaxLL+1]; in ZSTDv07_loadEntropy()
4072 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv07_loadEntropy()
H A Dzstd_v05.c423 #define MaxLL ((1<<LLbits) - 1) macro
428 #define MaxSeq MAX(MaxLL, MaxML)
3011 { unsigned max = MaxLL; in ZSTDv05_decodeSeqHeaders()
3101 if (litLength == MaxLL) { in ZSTDv05_decodeSequence()
3628 short litlengthNCount[MaxLL+1]; in ZSTDv05_loadEntropy()
3629 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv05_loadEntropy()
H A Dzstd_v03.c2303 #define MaxLL ((1<<LLbits )-1) macro
2310 #define MaxSeq MAX(MaxLL, MaxML)
2552 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2631 if (litLength == MaxLL) in ZSTD_decodeSequence()
H A Dzstd_v02.c2663 #define MaxLL ((1<<LLbits )-1) macro
2670 #define MaxSeq MAX(MaxLL, MaxML)
2912 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2991 if (litLength == MaxLL) in ZSTD_decodeSequence()
H A Dzstd_v04.c316 #define MaxLL ((1<<LLbits) - 1) macro
321 #define MaxSeq MAX(MaxLL, MaxML)
2684 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2762 if (litLength == MaxLL) { in ZSTD_decodeSequence()