Searched refs:wtSize (Results 1 - 1 of 1) sorted by relevance
/linux-master/lib/zstd/compress/ |
H A D | huf_compress.c | 89 static size_t HUF_compressWeights(void* dst, size_t dstSize, const void* weightTable, size_t wtSize, void* workspace, size_t workspaceSize) argument 102 if (wtSize <= 1) return 0; /* Not compressible */ 105 { unsigned const maxCount = HIST_count_simple(wksp->count, &maxSymbolValue, weightTable, wtSize); /* never fails */ 106 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ 110 tableLog = FSE_optimalTableLog(tableLog, wtSize, maxSymbolValue); 111 CHECK_F( FSE_normalizeCount(wksp->norm, tableLog, wksp->count, wtSize, maxSymbolValue, /* useLowProbCount */ 0) ); 120 { CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->CTable) );
|
Completed in 163 milliseconds