Lines Matching defs:range
88 unsigned int range;
179 while (rc->range <= 1<<23) {
181 rc->range <<= 8;
191 rc->range = low ? scale * (high - low)
192 : rc->range - scale * (total - high);
202 scale = rc->range / total;
218 scale = rc->range >> bits; // in this case, scale = symbol
222 rc->range -= scale;
225 rc->range = scale;
238 return rc->total_read_bits - av_log2(rc->range) - 1;
243 unsigned int i, total_bits, rcbuffer, range;
246 rcbuffer = av_log2(rc->range) + 1;
247 range = rc->range >> (rcbuffer-16);
251 range = range * range >> 15;
252 bit = range >> 16;
254 range >>= bit;
291 scale = rc->range / total;
305 /* extends the range coder to model a Laplace distribution */
309 scale = rc->range >> 15;
346 scale = rc->range / total;
362 scale = rc->range / total;