Lines Matching defs:range
37 int range;
55 while (c->range < 0x100) {
73 c->range <<= 8;
82 return 8 * x - av_log2(c->range);
87 int range1 = (c->range * (*state)) >> 8;
90 av_assert2(range1 < c->range);
93 c->range -= range1;
96 c->low += c->range - range1;
97 c->range = range1;
106 if (c->range < 0x100) {
107 c->range <<= 8;
117 int range1 = (c->range * (*state)) >> 8;
120 c->range -= range1;
122 if (c->low < c->range) {
127 c->low -= c->range;
129 c->range = range1;
134 one_mask = (c->range - c->low - 1) >> 31;
136 c->low -= c->range & one_mask;
137 c->range += (range1 - c->range) & one_mask;