Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
A Dfse_compress.c102 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()
156 total += normalizedCounter[s]; in FSE_buildCTable_wksp()
164 symbol, normalizedCounter[symbol], in FSE_buildCTable_wksp()
247 { int count = normalizedCounter[symbol++]; in FSE_writeNCount_generic()
455 normalizedCounter[s] = lowProbCount; in FSE_normalizeCount()
464 normalizedCounter[s] = proba; in FSE_normalizeCount()
480 RAWLOG(2, "%3i: %4i \n", s, normalizedCounter[s]); in FSE_normalizeCount()
[all …]
A 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()
/linux/lib/zstd/common/
A Dentropy_common.c59 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() argument
78 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body()
87 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body()
171 normalizedCounter[charnum++] = (short)count; in FSE_readNCount_body()
208 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_default() argument
211 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_default()
216 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_bmi2() argument
219 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_bmi2()
224 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_bmi2() argument
233 …return FSE_readNCount_body_default(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_bmi2()
[all …]
A 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…
A 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()
/linux/lib/zstd/decompress/
A Dzstd_decompress_block.c369 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body() argument
394 if (normalizedCounter[s]==-1) { 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
503 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_bmi2()
[all …]
A Dzstd_decompress_block.h56 const short* normalizedCounter, unsigned maxSymbolValue,

Completed in 28 milliseconds