Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_opt.c128 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
[all …]
/external/zstd/lib/legacy/
Dzstd_v02.c1889 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
1907 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
2207 …const int scaleLog = nbBitsBaseline - sizeLog; /* note : targetLog >= (nbBitsBaseline-1), hence … in HUF_fillDTableX6LevelN() local
2244 int nextMinWeight = totalBits + scaleLog; in HUF_fillDTableX6LevelN()
Dzstd_v03.c1886 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
1904 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
Dzstd_v04.c2037 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX4() local
2055 int minWeight = nbBits + scaleLog; in HUF_fillDTableX4()
Dzstd_v05.c2163 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv05_fillDTableX4() local
2179 int minWeight = nbBits + scaleLog; in HUFv05_fillDTableX4()
Dzstd_v06.c2295 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv06_fillDTableX4() local
2311 int minWeight = nbBits + scaleLog; in HUFv06_fillDTableX4()
Dzstd_v07.c2102 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUFv07_fillDTableX4() local
2118 int minWeight = nbBits + scaleLog; in HUFv07_fillDTableX4()
/external/zstd/lib/decompress/
Dhuf_decompress.c575 …const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <… in HUF_fillDTableX2() local
591 int minWeight = nbBits + scaleLog; in HUF_fillDTableX2()