Lines Matching defs:tableLog
96 U32 tableLog = MAX_FSE_TABLELOG_FOR_HUFF_HEADER;
110 tableLog = FSE_optimalTableLog(tableLog, wtSize, maxSymbolValue);
111 CHECK_F( FSE_normalizeCount(wksp->norm, tableLog, wksp->count, wtSize, maxSymbolValue, /* useLowProbCount */ 0) );
114 { CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) );
119 CHECK_F( FSE_buildCTable_wksp(wksp->CTable, wksp->norm, maxSymbolValue, tableLog, wksp->scratchBuffer, sizeof(wksp->scratchBuffer)) );
222 U32 tableLog = 0;
227 CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLog, src, srcSize));
231 if (tableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge);
234 CTable[0] = tableLog;
238 for (n=1; n<=tableLog; n++) {
247 HUF_setNbBits(ct + n, (BYTE)(tableLog + 1 - w) & -(w != 0));
251 { U16 nbPerRank[HUF_TABLELOG_MAX+2] = {0}; /* support w=0=>n=tableLog+1 */
255 valPerRank[tableLog+1] = 0; /* for w==0 */
257 U32 n; for (n=tableLog; n>0; n--) { /* start at n=tablelog <-> w=1 */
956 static size_t HUF_tightCompressBound(size_t srcSize, size_t tableLog)
958 return ((srcSize * tableLog) >> 3) + 8;
967 U32 const tableLog = (U32)CTable[0];
980 if (dstSize < HUF_tightCompressBound(srcSize, (size_t)tableLog) || tableLog > 11)
984 switch (tableLog) {
999 switch (tableLog) {