Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dfse_compress.c68 const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, in FSE_buildCTable_wksp() argument
103 if (normalizedCounter[u-1]==-1) { /* Low proba symbol */ in FSE_buildCTable_wksp()
107 assert(normalizedCounter[u-1] >= 0); in FSE_buildCTable_wksp()
108 cumul[u] = cumul[u-1] + (U16)normalizedCounter[u-1]; in FSE_buildCTable_wksp()
126 int const n = normalizedCounter[s]; in FSE_buildCTable_wksp()
158 int const freq = normalizedCounter[symbol]; in FSE_buildCTable_wksp()
178 switch (normalizedCounter[s]) in FSE_buildCTable_wksp()
193 assert(normalizedCounter[s] > 1); in FSE_buildCTable_wksp()
194 { U32 const maxBitsOut = tableLog - BIT_highbit32 ((U32)normalizedCounter[s]-1); in FSE_buildCTable_wksp()
195 U32 const minStatePlus = (U32)normalizedCounter[s] << maxBitsOut; in FSE_buildCTable_wksp()
[all …]
Dzstd_compress.c4209 static FSE_repeat ZSTD_dictNCountRepeat(short* normalizedCounter, unsigned dictMaxSymbolValue, unsi… in ZSTD_dictNCountRepeat() argument
4216 if (normalizedCounter[s] == 0) { in ZSTD_dictNCountRepeat()
/linux-6.12.1/lib/zstd/common/
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
229 … 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…
340 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue…
344 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()
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_block.h62 const short* normalizedCounter, unsigned maxSymbolValue,
Dzstd_decompress_block.c445 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body() argument
470 if (normalizedCounter[s]==-1) { in ZSTD_buildFSETable_body()
474 if (normalizedCounter[s] >= largeLimit) DTableH.fastMode=0; in ZSTD_buildFSETable_body()
475 assert(normalizedCounter[s]>=0); in ZSTD_buildFSETable_body()
476 symbolNext[s] = (U16)normalizedCounter[s]; in ZSTD_buildFSETable_body()
504 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body()
539 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body()
565 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_default() argument
569 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_default()
575 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_bmi2() argument
[all …]