Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dquant_levels_utils.c31 double inv_q_level[NUM_SYMBOLS] = { 0 }; in QuantizeLevels() local
65 inv_q_level[i] = min_s + (double)(max_s - min_s) * i / (num_levels - 1); in QuantizeLevels()
71 assert(inv_q_level[0] == min_s); in QuantizeLevels()
72 assert(inv_q_level[num_levels - 1] == max_s); in QuantizeLevels()
84 2 * s > inv_q_level[slot] + inv_q_level[slot + 1]) { in QuantizeLevels()
99 inv_q_level[slot] = q_sum[slot] / count; in QuantizeLevels()
107 const double error = s - inv_q_level[q_level[s]]; in QuantizeLevels()
127 map[s] = (uint8_t)(inv_q_level[slot] + .5); in QuantizeLevels()