Searched refs:matchLengthFreq (Results 1 - 3 of 3) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_opt.c175 optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
176 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml];
213 optPtr->matchLengthFreq[ml] = 1;
235 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11);
318 price += (ML_bits[mlCode] * BITCOST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optLevel));
357 optPtr->matchLengthFreq[mlCode]++;
H A Dzstd_compress_internal.h161 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member in struct:__anon194
H A Dzstd_compress.c1693 ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned));

Completed in 207 milliseconds