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

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c167 optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
168 optPtr->offCodeSum += optPtr->offCodeFreq[of];
194 optPtr->offCodeFreq[of] = 1;
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0);
271 price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLevel));
309 optPtr->offCodeFreq[offCode]++;
1098 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0);
H A Dzstd_compress_internal.h105 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member in struct:__anon185
H A Dzstd_compress.c1391 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c187 optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
188 optPtr->offCodeSum += optPtr->offCodeFreq[of];
223 ZSTD_memcpy(optPtr->offCodeFreq, baseOFCfreqs, sizeof(baseOFCfreqs));
236 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11);
312 price = (offCode * BITCOST_MULTIPLIER) + (optPtr->offCodeSumBasePrice - WEIGHT(optPtr->offCodeFreq[offCode], optLevel));
350 optPtr->offCodeFreq[offCode]++;
H A Dzstd_compress_internal.h168 unsigned* offCodeFreq; /* table of offCode statistics, of size (MaxOff+1) */ member in struct:__anon92
H A Dzstd_compress.c1773 ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned));
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c595 U32* offCodeFreq; member in struct:__anon254
H A Dzstd_v05.c541 U32* offCodeFreq; member in struct:__anon231
H A Dzstd_v07.c2829 U32* offCodeFreq; member in struct:__anon286

Completed in 329 milliseconds