| /dflybsd-src/contrib/zstd/lib/compress/ |
| H A D | fse_compress.c | 68 const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, in FSE_buildCTable_wksp() argument 102 if (normalizedCounter[u-1]==-1) { /* Low proba symbol */ in FSE_buildCTable_wksp() 106 cumul[u] = cumul[u-1] + normalizedCounter[u-1]; in FSE_buildCTable_wksp() 116 int const freq = normalizedCounter[symbol]; in FSE_buildCTable_wksp() 137 switch (normalizedCounter[s]) in FSE_buildCTable_wksp() 152 U32 const maxBitsOut = tableLog - BIT_highbit32 (normalizedCounter[s]-1); in FSE_buildCTable_wksp() 153 U32 const minStatePlus = normalizedCounter[s] << maxBitsOut; in FSE_buildCTable_wksp() 155 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp() 156 total += normalizedCounter[s]; in FSE_buildCTable_wksp() 164 symbol, normalizedCounter[symbol], in FSE_buildCTable_wksp() [all …]
|
| H A D | zstd_compress.c | 3153 static FSE_repeat ZSTD_dictNCountRepeat(short* normalizedCounter, unsigned dictMaxSymbolValue, unsi… in ZSTD_dictNCountRepeat() argument 3160 if (normalizedCounter[s] == 0) { in ZSTD_dictNCountRepeat()
|
| /dflybsd-src/contrib/zstd/lib/common/ |
| H A D | entropy_common.c | 64 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() argument 83 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body() 92 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body() 176 normalizedCounter[charnum++] = (short)count; in FSE_readNCount_body() 213 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_default() argument 216 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_default() 221 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_bmi2() argument 224 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_bmi2() 229 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_bmi2() argument 234 … return FSE_readNCount_body_bmi2(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_bmi2() [all …]
|
| H A D | fse_decompress.c | 71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned max… in FSE_buildDTable_internal() argument 94 if (normalizedCounter[s]==-1) { in FSE_buildDTable_internal() 98 if (normalizedCounter[s] >= largeLimit) DTableH.fastMode=0; in FSE_buildDTable_internal() 99 symbolNext[s] = normalizedCounter[s]; in FSE_buildDTable_internal() 121 int const n = normalizedCounter[s]; in FSE_buildDTable_internal() 156 for (i=0; i<normalizedCounter[s]; i++) { in FSE_buildDTable_internal() 176 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument 178 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… in FSE_buildDTable_wksp() 379 size_t FSE_buildDTable(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, uns… in FSE_buildDTable() argument 381 … return FSE_buildDTable_wksp(dt, normalizedCounter, maxSymbolValue, tableLog, wksp, sizeof(wksp)); in FSE_buildDTable()
|
| H A D | fse.h | 148 FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog, 161 const short* normalizedCounter, 173 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS… 233 FSE_PUBLIC_API size_t FSE_readNCount (short* normalizedCounter, 240 FSE_PUBLIC_API size_t FSE_readNCount_bmi2(short* normalizedCounter, 253 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned max… 342 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue… 346 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned…
|
| /dflybsd-src/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 369 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body() argument 394 if (normalizedCounter[s]==-1) { in ZSTD_buildFSETable_body() 398 if (normalizedCounter[s] >= largeLimit) DTableH.fastMode=0; in ZSTD_buildFSETable_body() 399 assert(normalizedCounter[s]>=0); in ZSTD_buildFSETable_body() 400 symbolNext[s] = (U16)normalizedCounter[s]; in ZSTD_buildFSETable_body() 428 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body() 463 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body() 489 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_default() argument 493 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_default() 499 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_bmi2() argument [all …]
|
| H A D | zstd_decompress_block.h | 56 const short* normalizedCounter, unsigned maxSymbolValue,
|