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