Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/lib/zstd/
Dfse_compress.c94 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
95 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
98 void *const FSCT = ((U32 *)ptr) + 1 /* header */ + (tableLog ? tableSize >> 1 : 1); in FSE_buildCTable_wksp()
100 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
101 U32 highThreshold = tableSize - 1; in FSE_buildCTable_wksp()
136 cumul[maxSymbolValue + 1] = tableSize + 1; in FSE_buildCTable_wksp()
160 for (u = 0; u < tableSize; u++) { in FSE_buildCTable_wksp()
162 …tableU16[cumul[s]++] = (U16)(tableSize + u); /* TableU16 : sorted by symbol order; gives next stat… in FSE_buildCTable_wksp()
210 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
225 remaining = tableSize + 1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
[all …]
Dfse_decompress.c102 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_wksp() local
103 U32 highThreshold = tableSize - 1; in FSE_buildDTable_wksp()
137 U32 const tableMask = tableSize - 1; in FSE_buildDTable_wksp()
138 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_wksp()
156 for (u = 0; u < tableSize; u++) { in FSE_buildDTable_wksp()
160 tableDecode[u].newState = (U16)((nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_wksp()
193 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
194 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
Dfse.h573 #define FSE_TABLESTEP(tableSize) ((tableSize >> 1) + (tableSize >> 3) + 3) argument