Lines Matching refs:norm
387 static size_t FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 m… in FSE_normalizeM2() argument
400 norm[s]=0; in FSE_normalizeM2()
404 norm[s] = lowProbCount; in FSE_normalizeM2()
410 norm[s] = 1; in FSE_normalizeM2()
416 norm[s]=NOT_YET_ASSIGNED; in FSE_normalizeM2()
427 if ((norm[s] == NOT_YET_ASSIGNED) && (count[s] <= lowOne)) { in FSE_normalizeM2()
428 norm[s] = 1; in FSE_normalizeM2()
443 norm[maxV] += (short)ToDistribute; in FSE_normalizeM2()
450 if (norm[s] > 0) { ToDistribute--; norm[s]++; } in FSE_normalizeM2()
459 if (norm[s]==NOT_YET_ASSIGNED) { in FSE_normalizeM2()
466 norm[s] = (short)weight; in FSE_normalizeM2()
679 S16 norm[FSE_MAX_SYMBOL_VALUE+1]; in FSE_compress_wksp() local
699 …CHECK_F( FSE_normalizeCount(norm, tableLog, count, srcSize, maxSymbolValue, /* useLowProbCount */ … in FSE_compress_wksp()
702 { CHECK_V_F(nc_err, FSE_writeNCount(op, oend-op, norm, maxSymbolValue, tableLog) ); in FSE_compress_wksp()
707 …CHECK_F( FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, scratchBuffer, scratchBuffer… in FSE_compress_wksp()