Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/common/
H A Dzstd_internal.h180 #define MaxLL 35 macro
183 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
191 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
193 static UNUSED_ATTR const U32 LL_bits[MaxLL+1] = {
200 static UNUSED_ATTR const S16 LL_defaultNorm[MaxLL+1] = {
/dragonfly/contrib/zstd/lib/dictBuilder/
H A Dzdict.c720 unsigned litLengthCount[MaxLL+1]; in ZDICT_analyzeEntropy()
721 short litLengthNCount[MaxLL+1]; in ZDICT_analyzeEntropy()
739 for (u=0; u<=MaxLL; u++) litLengthCount[u] = 1; in ZDICT_analyzeEntropy()
805 total=0; for (u=0; u<=MaxLL; u++) total+=litLengthCount[u]; in ZDICT_analyzeEntropy()
806 …errorCode = FSE_normalizeCount(litLengthNCount, llLog, litLengthCount, total, MaxLL, /* useLowProb… in ZDICT_analyzeEntropy()
848 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c198 unsigned max = MaxLL; in ZSTD_buildSuperBlockEntropy_sequences()
210 … countWksp, max, llCodeTable, nbSeq, LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_buildSuperBlockEntropy_sequences()
652 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
654 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_opt.c139 for (ll=0; ll<=MaxLL; ll++) { in ZSTD_rescaleFreqs()
181 for (ll=0; ll<=MaxLL; ll++) in ZSTD_rescaleFreqs()
184 optPtr->litLengthSum = MaxLL+1; in ZSTD_rescaleFreqs()
204 optPtr->litLengthSum = ZSTD_downscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_rescaleFreqs()
1241 optPtr->litLengthSum = ZSTD_upscaleStat(optPtr->litLengthFreq, MaxLL, 0); in ZSTD_upscaleStats()
H A Dzstd_compress.c1285 + ZSTD_cwksp_alloc_size((MaxLL+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1570 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2132 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2227 { unsigned max = MaxLL; in ZSTD_entropyCompressSequences_internal()
2242 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_entropyCompressSequences_internal()
3220 { short litlengthNCount[MaxLL+1]; in ZSTD_loadCEntropy()
3221 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadCEntropy()
3230 …ntropy.fse.litlength_repeatMode = ZSTD_dictNCountRepeat(litlengthNCount, litlengthMaxValue, MaxLL); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h73 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
/dragonfly/contrib/zstd/lib/decompress/
H A Dzstd_decompress_internal.h30 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
H A Dzstd_decompress.c1127 { short litlengthNCount[MaxLL+1]; in ZSTD_loadDEntropy()
1128 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadDEntropy()
1131 RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c617 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()