Home
last modified time | relevance | path

Searched refs:normalizedCounter (Results 1 – 7 of 7) sorted by relevance

/lib/zstd/compress/
Dfse_compress.c68 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 …]
Dzstd_compress.c3126 static FSE_repeat ZSTD_dictNCountRepeat(short* normalizedCounter, unsigned dictMaxSymbolValue, unsi… in ZSTD_dictNCountRepeat() argument
3133 if (normalizedCounter[s] == 0) { in ZSTD_dictNCountRepeat()
/lib/zstd/common/
Dentropy_common.c60 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() argument
79 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body()
88 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body()
172 normalizedCounter[charnum++] = (short)count; in FSE_readNCount_body()
209 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_default() argument
212 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_default()
217 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_bmi2() argument
220 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_bmi2()
225 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_bmi2() argument
230 … return FSE_readNCount_body_bmi2(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_bmi2()
[all …]
Dfse.h145 FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog,
158 const short* normalizedCounter,
170 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS…
230 FSE_PUBLIC_API size_t FSE_readNCount (short* normalizedCounter,
237 FSE_PUBLIC_API size_t FSE_readNCount_bmi2(short* normalizedCounter,
250 FSE_PUBLIC_API size_t FSE_buildDTable (FSE_DTable* dt, const short* normalizedCounter, unsigned max…
339 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue…
343 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned…
Dfse_decompress.c71 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()
/lib/zstd/decompress/
Dzstd_decompress_block.h56 const short* normalizedCounter, unsigned maxSymbolValue,
Dzstd_decompress_block.c369 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 …]