Searched refs:FastLog2 (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/brotli/dist/c/enc/
H A Dcluster.c33 return (double)size_a * FastLog2(size_a) +
34 (double)size_b * FastLog2(size_b) -
35 (double)size_c * FastLog2(size_c);
H A Dbit_cost.h33 retval -= (double)p * FastLog2(p);
37 retval -= (double)p * FastLog2(p);
39 if (sum) retval += (double)sum * FastLog2(sum);
H A Dfast_log.h51 static BROTLI_INLINE double FastLog2(size_t v) { function in typeref:typename:BROTLI_INLINE double
H A Dbit_cost_inc.h75 const double log2total = FastLog2(histogram->total_count_);
80 double log2p = log2total - FastLog2(histogram->data_[i]);
H A Dliteral_cost.c109 lit_cost = FastLog2(in_window_utf8[utf8_pos]) - FastLog2(histo);
161 double lit_cost = FastLog2(in_window) - FastLog2(histo);
H A Dblock_splitter.c83 return count == 0 ? -2.0 : FastLog2(count);
H A Dbackward_references_hq.c113 log2sum = (float)FastLog2(sum);
120 missing_symbol_cost = (float)FastLog2(missing_symbol_sum) + 2;
128 cost[i] = log2sum - (float)FastLog2(histogram[i]);
217 cost_cmd[i] = (float)FastLog2(11 + (uint32_t)i);
220 cost_dist[i] = (float)FastLog2(20 + (uint32_t)i);
222 self->min_cost_cmd_ = (float)FastLog2(11);
H A Dcompress_fragment.c382 double r = (FastLog2(total) + 0.5) * (double)total + 200;
384 r -= (double)histo[i] * (depths[i] + FastLog2(histo[i]));
H A Dblock_splitter_inc.h88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_);

Completed in 11 milliseconds