Home
last modified time | relevance | path

Searched refs:scaleLog (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c148 U32 const scaleLog = 11; /* scale to 2K */ in ZSTD_rescaleFreqs() local
150 assert(bitCost <= scaleLog); in ZSTD_rescaleFreqs()
151 … optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
160 U32 const scaleLog = 10; /* scale to 1K */ in ZSTD_rescaleFreqs() local
162 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
163 … optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
172 U32 const scaleLog = 10; in ZSTD_rescaleFreqs() local
174 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
175 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
184 U32 const scaleLog = 10; in ZSTD_rescaleFreqs() local
[all …]
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c992 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX2() local
1007 int minWeight = nbBits + scaleLog; in HUF_fillDTableX2()