Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dfse_compress.c92 size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue… in FSE_buildCTable_wksp() argument
129 if (normalizedCounter[u - 1] == -1) { /* Low proba symbol */ in FSE_buildCTable_wksp()
133 cumul[u] = cumul[u - 1] + normalizedCounter[u - 1]; in FSE_buildCTable_wksp()
145 for (nbOccurences = 0; nbOccurences < normalizedCounter[symbol]; nbOccurences++) { in FSE_buildCTable_wksp()
171 switch (normalizedCounter[s]) { in FSE_buildCTable_wksp()
181 U32 const maxBitsOut = tableLog - BIT_highbit32(normalizedCounter[s] - 1); in FSE_buildCTable_wksp()
182 U32 const minStatePlus = normalizedCounter[s] << maxBitsOut; in FSE_buildCTable_wksp()
184 symbolTT[s].deltaFindState = total - normalizedCounter[s]; in FSE_buildCTable_wksp()
185 total += normalizedCounter[s]; in FSE_buildCTable_wksp()
203 …eNCount_generic(void *header, size_t headerBufferSize, const short *normalizedCounter, unsigned ma… in FSE_writeNCount_generic() argument
[all …]
Dfse_decompress.c95 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument
122 if (normalizedCounter[s] == -1) { in FSE_buildDTable_wksp()
126 if (normalizedCounter[s] >= largeLimit) in FSE_buildDTable_wksp()
128 symbolNext[s] = normalizedCounter[s]; in FSE_buildDTable_wksp()
142 for (i = 0; i < normalizedCounter[s]; i++) { in FSE_buildDTable_wksp()
Dfse.h107 FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigne…
118 …ize_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned ma…
181 FSE_PUBLIC_API size_t FSE_readNCount(short *normalizedCounter, unsigned *maxSymbolValuePtr, unsigne…
190 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned…
276 size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue…
Dentropy_common.c59 size_t FSE_readNCount(short *normalizedCounter, unsigned *maxSVPtr, unsigned *tableLogPtr, const vo… in FSE_readNCount() argument
108 normalizedCounter[charnum++] = 0; in FSE_readNCount()
133 normalizedCounter[charnum++] = (short)count; in FSE_readNCount()
Dcompress.c2605 static size_t ZSTD_checkDictNCount(short *normalizedCounter, unsigned dictMaxSymbolValue, unsigned … in ZSTD_checkDictNCount() argument
2611 if (normalizedCounter[s] == 0) in ZSTD_checkDictNCount()