Home
last modified time | relevance | path

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

/external/zstd/lib/common/
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] = {
/external/zstd/lib/dictBuilder/
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()
/external/zstd/lib/decompress/
Dzstd_decompress_internal.h30 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
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()
Dzstd_decompress_block.c617 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()
/external/zstd/lib/compress/
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()
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()
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()
Dzstd_compress_internal.h73 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
/external/zstd/lib/legacy/
Dzstd_v06.c501 #define MaxLL 35 macro
503 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
515 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
518 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3256 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, LL… in ZSTDv06_decodeSeqHeaders()
3301 static const U32 LL_base[MaxLL+1] = { in ZSTDv06_decodeSequence()
3842 { short litlengthNCount[MaxLL+1]; in ZSTDv06_loadEntropy()
3843 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv06_loadEntropy()
Dzstd_v01.c1334 #define MaxLL ((1<<LLbits )-1) macro
1341 #define MaxSeq MAX(MaxLL, MaxML)
1629 { U32 max = MaxLL; in ZSTDv01_decodeSeqHeaders()
1707 if (litLength == MaxLL) in ZSTD_decodeSequence()
Dzstd_v07.c2735 #define MaxLL 35 macro
2737 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
2749 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2752 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3486 …{ size_t const llhSize = ZSTDv07_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, L… in ZSTDv07_decodeSeqHeaders()
3531 static const U32 LL_base[MaxLL+1] = { in ZSTDv07_decodeSequence()
4127 { short litlengthNCount[MaxLL+1]; in ZSTDv07_loadEntropy()
4128 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv07_loadEntropy()
Dzstd_v05.c478 #define MaxLL ((1<<LLbits) - 1) macro
483 #define MaxSeq MAX(MaxLL, MaxML)
3067 { unsigned max = MaxLL; in ZSTDv05_decodeSeqHeaders()
3157 if (litLength == MaxLL) { in ZSTDv05_decodeSequence()
3677 short litlengthNCount[MaxLL+1]; in ZSTDv05_loadEntropy()
3678 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv05_loadEntropy()
Dzstd_v03.c2369 #define MaxLL ((1<<LLbits )-1) macro
2376 #define MaxSeq MAX(MaxLL, MaxML)
2618 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2697 if (litLength == MaxLL) in ZSTD_decodeSequence()
Dzstd_v04.c375 #define MaxLL ((1<<LLbits) - 1) macro
380 #define MaxSeq MAX(MaxLL, MaxML)
2744 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2822 if (litLength == MaxLL) { in ZSTD_decodeSequence()
Dzstd_v02.c2728 #define MaxLL ((1<<LLbits )-1) macro
2735 #define MaxSeq MAX(MaxLL, MaxML)
2977 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
3056 if (litLength == MaxLL) in ZSTD_decodeSequence()
/external/zstd/tests/
Ddecodecorpus.c207 FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
840 { unsigned max = MaxLL; in writeSequences()
855 …CHECKERR(FSE_buildCTable_wksp(CTable_LitLength, LL_defaultNorm, MaxLL, LL_defaultNormLog, scratchB… in writeSequences()