Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
A Dzstd_opt.c140 U32 const scaleLog = 11; /* scale to 2K */ in ZSTD_rescaleFreqs() local
142 assert(bitCost <= scaleLog); in ZSTD_rescaleFreqs()
143 … optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
152 U32 const scaleLog = 10; /* scale to 1K */ in ZSTD_rescaleFreqs() local
154 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
155 … optPtr->litLengthFreq[ll] = 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()
176 U32 const scaleLog = 10; in ZSTD_rescaleFreqs() local
178 assert(bitCost < scaleLog); in ZSTD_rescaleFreqs()
[all …]
/linux/lib/zstd/decompress/
A Dhuf_decompress.c577 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX2() local
597 int minWeight = nbBits + scaleLog; in HUF_fillDTableX2()

Completed in 11 milliseconds