Searched refs:price (Results 1 - 2 of 2) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_opt.c58 * @return price in bytes as fractional value
60 MEM_STATIC double ZSTD_fCost(U32 price) argument
62 return (double)price / (BITCOST_MULTIPLIER*8);
243 * price of literals (only) in specified segment (which length can be 0).
244 * does not include price of literalLength symbol */
258 { U32 price = litLength * optPtr->litSumBasePrice; local
262 price -= WEIGHT(optPtr->litFreq[literals[u]], optLevel);
264 return price;
275 /* We can't compute the litLength price for sizes >= ZSTD_BLOCKSIZE_MAX
303 U32 price; local
1149 int const price = opt[cur-1].price local
1238 int const price = (int)basePrice + (int)ZSTD_getMatchPrice(offset, mlen, optStatePtr, optLevel); local
[all...]
H A Dzstd_compress_internal.h148 int price; member in struct:__anon192

Completed in 194 milliseconds