Lines Matching refs:scaleLog
128 U32 const scaleLog = 11; /* scale to 2K */ in ZSTD_rescaleFreqs() local
130 assert(bitCost <= scaleLog); in ZSTD_rescaleFreqs()
131 … optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
140 U32 const scaleLog = 10; /* scale to 1K */ in ZSTD_rescaleFreqs() local
142 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
143 … optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
152 U32 const scaleLog = 10; in ZSTD_rescaleFreqs() local
154 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
155 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
164 U32 const scaleLog = 10; in ZSTD_rescaleFreqs() local
166 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
167 … optPtr->offCodeFreq[of] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()