Home
last modified time | relevance | path

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

/external/zstd/lib/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 …]
/external/zstd/lib/legacy/
Dzstd_v02.c1885 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
1903 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
2203 …const int scaleLog = nbBitsBaseline - sizeLog; /* note : targetLog >= (nbBitsBaseline-1), hence … in HUF_fillDTableX6LevelN() local
2240 int nextMinWeight = totalBits + scaleLog; in HUF_fillDTableX6LevelN()
Dzstd_v03.c1882 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
1900 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
Dzstd_v04.c2033 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
2051 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
Dzstd_v05.c2159 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv05_fillDTableX4() local
2175 int minWeight = nbBits + scaleLog; in HUFv05_fillDTableX4()
Dzstd_v06.c2291 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv06_fillDTableX4() local
2307 int minWeight = nbBits + scaleLog; in HUFv06_fillDTableX4()
Dzstd_v07.c2098 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv07_fillDTableX4() local
2114 int minWeight = nbBits + scaleLog; in HUFv07_fillDTableX4()
/external/zstd/lib/decompress/
Dhuf_decompress.c996 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX2() local
1011 int minWeight = nbBits + scaleLog; in HUF_fillDTableX2()