Searched refs:scaleLog (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c128 U32 const scaleLog = 11; /* scale to 2K */ local
130 assert(bitCost <= scaleLog);
131 optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
140 U32 const scaleLog = 10; /* scale to 1K */ local
142 assert(bitCost < scaleLog);
143 optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
152 U32 const scaleLog = 10; local
154 assert(bitCost < scaleLog);
155 optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
164 U32 const scaleLog local
[all...]
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c148 U32 const scaleLog = 11; /* scale to 2K */ local
150 assert(bitCost <= scaleLog);
151 optPtr->litFreq[lit] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
160 U32 const scaleLog = 10; /* scale to 1K */ local
162 assert(bitCost < scaleLog);
163 optPtr->litLengthFreq[ll] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
172 U32 const scaleLog = 10; local
174 assert(bitCost < scaleLog);
175 optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/;
184 U32 const scaleLog local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dhuf_decompress.c515 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
531 int minWeight = nbBits + scaleLog;
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v02.c1885 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
1903 int minWeight = nbBits + scaleLog;
2203 const int scaleLog = nbBitsBaseline - sizeLog; /* note : targetLog >= (nbBitsBaseline-1), hence scaleLog <= 1 */ local
2240 int nextMinWeight = totalBits + scaleLog;
H A Dzstd_v03.c1882 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
1900 int minWeight = nbBits + scaleLog;
H A Dzstd_v06.c2291 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
2307 int minWeight = nbBits + scaleLog;
H A Dzstd_v05.c2159 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
2175 int minWeight = nbBits + scaleLog;
H A Dzstd_v04.c2033 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
2051 int minWeight = nbBits + scaleLog;
H A Dzstd_v07.c2098 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
2114 int minWeight = nbBits + scaleLog;
/freebsd-current/sys/contrib/zstd/lib/decompress/
H A Dhuf_decompress.c996 const int scaleLog = nbBitsBaseline - targetLog; /* note : targetLog >= srcLog, hence scaleLog <= 1 */ local
1011 int minWeight = nbBits + scaleLog;

Completed in 423 milliseconds