Lines Matching defs:range
2 * Lagarith range decoder
25 * Lagarith range decoder
42 unsigned range;
43 unsigned scale; /**< Number of bits of precision in range. */
59 while (l->range <= 0x800000) {
61 l->range <<= 8;
80 range_scaled = l->range >> l->scale;
94 l->range = range_scaled * (l->prob[val + 1] - l->prob[val]);
97 l->range -= range_scaled * l->prob[255];
100 if (!l->range)
101 l->range = 0x80;