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

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c155 optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
156 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml];
188 optPtr->matchLengthFreq[ml] = 1;
205 optPtr->matchLengthSum = ZSTD_downscaleStat(optPtr->matchLengthFreq, MaxML, 0);
277 price += (ML_bits[mlCode] * BITCOST_MULTIPLIER) + (optPtr->matchLengthSumBasePrice - WEIGHT(optPtr->matchLengthFreq[mlCode], optLevel));
316 optPtr->matchLengthFreq[mlCode]++;
1097 optPtr->matchLengthSum = ZSTD_upscaleStat(optPtr->matchLengthFreq, MaxML, 0);
H A Dzstd_compress_internal.h104 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member in struct:__anon185
H A Dzstd_compress.c1390 ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned));
/freebsd-current/sys/contrib/zstd/lib/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.h167 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */ member in struct:__anon92
H A Dzstd_compress.c1772 ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned));
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c592 U32* matchLengthFreq; member in struct:__anon254
H A Dzstd_v05.c538 U32* matchLengthFreq; member in struct:__anon231
H A Dzstd_v07.c2826 U32* matchLengthFreq; member in struct:__anon286

Completed in 296 milliseconds