Home
last modified time | relevance | path

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

/external/zstd/lib/common/
Dzstd_internal.h108 #define MaxLL 35 macro
111 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
119 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
121 static UNUSED_ATTR const U8 LL_bits[MaxLL+1] = {
128 static UNUSED_ATTR const S16 LL_defaultNorm[MaxLL+1] = {
/external/zstd/lib/dictBuilder/
Dzdict.c745 unsigned litLengthCount[MaxLL+1]; in ZDICT_analyzeEntropy()
746 short litLengthNCount[MaxLL+1]; in ZDICT_analyzeEntropy()
764 for (u=0; u<=MaxLL; u++) litLengthCount[u] = 1; in ZDICT_analyzeEntropy()
837 total=0; for (u=0; u<=MaxLL; u++) total+=litLengthCount[u]; in ZDICT_analyzeEntropy()
838 …errorCode = FSE_normalizeCount(litLengthNCount, llLog, litLengthCount, total, MaxLL, /* useLowProb… in ZDICT_analyzeEntropy()
880 { 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.c1393 { short litlengthNCount[MaxLL+1]; in ZSTD_loadDEntropy()
1394 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadDEntropy()
1397 RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
Dzstd_decompress_block.c693 LLtype, MaxLL, LLFSELog, in ZSTD_decodeSeqHeaders()
/external/zstd/lib/compress/
Dzstd_compress_superblock.c376 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
378 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateSubBlockSize_sequences()
Dzstd_opt.c159 for (ll=0; ll<=MaxLL; ll++) { in ZSTD_rescaleFreqs()
200 { unsigned const baseLLfreqs[MaxLL+1] = { in ZSTD_rescaleFreqs()
208 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1); in ZSTD_rescaleFreqs()
234 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
Dzstd_compress.c1436 + ZSTD_cwksp_aligned_alloc_size((MaxLL+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1771 … ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2405 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2473 { unsigned max = MaxLL; in ZSTD_buildSequencesStatistics()
2488 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_buildSequencesStatistics()
3315 …eqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->llType, llCodeTable, nbSeq, MaxLL, in ZSTD_estimateBlockSize_sequences()
3317 LL_defaultNorm, LL_defaultNormLog, MaxLL, in ZSTD_estimateBlockSize_sequences()
4367 { short litlengthNCount[MaxLL+1]; in ZSTD_loadCEntropy()
4368 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTD_loadCEntropy()
4377 …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.c498 #define MaxLL 35 macro
500 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
512 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
515 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3252 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, LL… in ZSTDv06_decodeSeqHeaders()
3297 static const U32 LL_base[MaxLL+1] = { in ZSTDv06_decodeSequence()
3838 { short litlengthNCount[MaxLL+1]; in ZSTDv06_loadEntropy()
3839 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv06_loadEntropy()
Dzstd_v01.c1330 #define MaxLL ((1<<LLbits )-1) macro
1337 #define MaxSeq MAX(MaxLL, MaxML)
1625 { U32 max = MaxLL; in ZSTDv01_decodeSeqHeaders()
1703 if (litLength == MaxLL) in ZSTD_decodeSequence()
Dzstd_v07.c2731 #define MaxLL 35 macro
2733 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
2745 static const U32 LL_bits[MaxLL+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2748 static const S16 LL_defaultNorm[MaxLL+1] = { 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
3482 …{ size_t const llhSize = ZSTDv07_buildSeqTable(DTableLL, LLtype, MaxLL, LLFSELog, ip, iend-ip, L… in ZSTDv07_decodeSeqHeaders()
3527 static const U32 LL_base[MaxLL+1] = { in ZSTDv07_decodeSequence()
4123 { short litlengthNCount[MaxLL+1]; in ZSTDv07_loadEntropy()
4124 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv07_loadEntropy()
Dzstd_v05.c475 #define MaxLL ((1<<LLbits) - 1) macro
480 #define MaxSeq MAX(MaxLL, MaxML)
3063 { unsigned max = MaxLL; in ZSTDv05_decodeSeqHeaders()
3153 if (litLength == MaxLL) { in ZSTDv05_decodeSequence()
3673 short litlengthNCount[MaxLL+1]; in ZSTDv05_loadEntropy()
3674 unsigned litlengthMaxValue = MaxLL, litlengthLog; in ZSTDv05_loadEntropy()
Dzstd_v03.c2365 #define MaxLL ((1<<LLbits )-1) macro
2372 #define MaxSeq MAX(MaxLL, MaxML)
2614 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2693 if (litLength == MaxLL) in ZSTD_decodeSequence()
Dzstd_v04.c372 #define MaxLL ((1<<LLbits) - 1) macro
377 #define MaxSeq MAX(MaxLL, MaxML)
2740 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
2818 if (litLength == MaxLL) { in ZSTD_decodeSequence()
Dzstd_v02.c2724 #define MaxLL ((1<<LLbits )-1) macro
2731 #define MaxSeq MAX(MaxLL, MaxML)
2973 { U32 max = MaxLL; in ZSTD_decodeSeqHeaders()
3052 if (litLength == MaxLL) in ZSTD_decodeSequence()
/external/zstd/tests/
Ddecodecorpus.c207 FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
837 { unsigned max = MaxLL; in writeSequences()
852 …CHECKERR(FSE_buildCTable_wksp(CTable_LitLength, LL_defaultNorm, MaxLL, LL_defaultNormLog, scratchB… in writeSequences()