HomeSort by: relevance | last modified time | path
    Searched refs:MaxLL (Results 1 - 17 of 17) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/common/
zstd_internal.h 108 #define MaxLL 35
111 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */
121 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) * OffFSELog + 7) / 8)
123 static UNUSED_ATTR const U8 LL_bits[MaxLL+1] = {
130 static UNUSED_ATTR const S16 LL_defaultNorm[MaxLL+1] = {
  /src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress_internal.h 23 #include "../common/zstd_internal.h" /* constants : MaxLL, MaxML, MaxOff, LLFSELog, etc. */
30 static UNUSED_ATTR const U32 LL_base[MaxLL+1] = {
zstd_decompress.c 1509 { short litlengthNCount[MaxLL+1];
1510 unsigned litlengthMaxValue = MaxLL, litlengthLog;
1513 RETURN_ERROR_IF(litlengthMaxValue > MaxLL, dictionary_corrupted, "");
zstd_decompress_block.c 738 LLtype, MaxLL, LLFSELog,
  /src/external/bsd/zstd/dist/lib/dictBuilder/
zdict.c 672 unsigned litLengthCount[MaxLL+1];
673 short litLengthNCount[MaxLL+1];
692 for (u=0; u<=MaxLL; u++) litLengthCount[u] = 1;
765 total=0; for (u=0; u<=MaxLL; u++) total+=litLengthCount[u];
766 errorCode = FSE_normalizeCount(litLengthNCount, llLog, litLengthCount, total, MaxLL, /* useLowProbCount */ 1);
808 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog);
  /src/external/bsd/zstd/dist/lib/compress/
zstd_opt.c 180 for (ll=0; ll<=MaxLL; ll++) {
222 { unsigned const baseLLfreqs[MaxLL+1] = {
230 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1);
255 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11);
zstd_compress_superblock.c 381 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->llType, llCodeTable, MaxLL,
383 LL_defaultNorm, LL_defaultNormLog, MaxLL,
zstd_compress.c 1663 + ZSTD_cwksp_aligned_alloc_size((MaxLL+1) * sizeof(U32))
2047 ms->opt.litLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxLL+1) * sizeof(unsigned));
2703 llCodeTable[seqStorePtr->longLengthPos] = MaxLL;
2775 { unsigned max = MaxLL;
2790 LL_defaultNorm, LL_defaultNormLog, MaxLL,
3846 cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->llType, llCodeTable, nbSeq, MaxLL,
3848 LL_defaultNorm, LL_defaultNormLog, MaxLL,
4988 { short litlengthNCount[MaxLL+1];
4989 unsigned litlengthMaxValue = MaxLL, litlengthLog;
4998 bs->entropy.fse.litlength_repeatMode = ZSTD_dictNCountRepeat(litlengthNCount, litlengthMaxValue, MaxLL);
    [all...]
zstd_compress_internal.h 74 FSE_CTable litlengthCTable[FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
175 unsigned* litLengthFreq; /* table of litLength statistics, of size (MaxLL+1) */
  /src/external/bsd/zstd/dist/lib/legacy/
zstd_v01.c 1292 #define MaxLL ((1<<LLbits )-1)
1299 #define MaxSeq MAX(MaxLL, MaxML)
1574 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
1587 { U32 max = MaxLL;
1665 if (litLength == MaxLL)
zstd_v06.c 442 #define MaxLL 35
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_defaultNorm, LL_defaultNormLog, flagRepeatTable);
3241 static const U32 LL_base[MaxLL+1] = {
3789 { short litlengthNCount[MaxLL+1];
3790 unsigned litlengthMaxValue = MaxLL, litlengthLog;
zstd_v07.c 2676 #define MaxLL 35
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, LL_defaultNorm, LL_defaultNormLog, flagRepeatTable);
3472 static const U32 LL_base[MaxLL+1] = {
4071 { short litlengthNCount[MaxLL+1];
4072 unsigned litlengthMaxValue = MaxLL, litlengthLog;
zstd_v03.c 2303 #define MaxLL ((1<<LLbits )-1)
2310 #define MaxSeq MAX(MaxLL, MaxML)
2539 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
2552 { U32 max = MaxLL;
2631 if (litLength == MaxLL)
zstd_v05.c 423 #define MaxLL ((1<<LLbits) - 1)
428 #define MaxSeq MAX(MaxLL, MaxML)
2992 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */
3011 { unsigned max = MaxLL;
3101 if (litLength == MaxLL) {
3628 short litlengthNCount[MaxLL+1];
3629 unsigned litlengthMaxValue = MaxLL, litlengthLog;
zstd_v02.c 2663 #define MaxLL ((1<<LLbits )-1)
2670 #define MaxSeq MAX(MaxLL, MaxML)
2899 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */
2912 { U32 max = MaxLL;
2991 if (litLength == MaxLL)
zstd_v04.c 316 #define MaxLL ((1<<LLbits) - 1)
321 #define MaxSeq MAX(MaxLL, MaxML)
2671 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */
2684 { U32 max = MaxLL;
2762 if (litLength == MaxLL) {
  /src/external/bsd/zstd/dist/tests/
decodecorpus.c 210 FSE_CTable litlengthCTable [FSE_CTABLE_SIZE_U32(LLFSELog, MaxLL)];
844 { unsigned max = MaxLL;
859 CHECKERR(FSE_buildCTable_wksp(CTable_LitLength, LL_defaultNorm, MaxLL, LL_defaultNormLog, scratchBuffer, sizeof(scratchBuffer)));

Completed in 71 milliseconds