Searched refs:normalizedCounter (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/lib/zstd/ |
D | fse_compress.c | 92 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 …]
|
D | fse_decompress.c | 88 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument 115 if (normalizedCounter[s] == -1) { in FSE_buildDTable_wksp() 119 if (normalizedCounter[s] >= largeLimit) in FSE_buildDTable_wksp() 121 symbolNext[s] = normalizedCounter[s]; in FSE_buildDTable_wksp() 135 for (i = 0; i < normalizedCounter[s]; i++) { in FSE_buildDTable_wksp()
|
D | fse.h | 107 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…
|
D | entropy_common.c | 59 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()
|
D | compress.c | 2605 static size_t ZSTD_checkDictNCount(short *normalizedCounter, unsigned dictMaxSymbolValue, unsigned … in ZSTD_checkDictNCount() argument 2611 if (normalizedCounter[s] == 0) in ZSTD_checkDictNCount()
|