Lines Matching defs:range
36 int range;
53 while(c->range < 0x100){
71 c->range <<= 8;
79 return 8*x - av_log2(c->range);
83 int range1= (c->range * (*state)) >> 8;
86 assert(range1 < c->range);
89 c->range -= range1;
92 c->low += c->range - range1;
93 c->range = range1;
101 if(c->range < 0x100){
102 c->range <<= 8;
111 int range1= (c->range * (*state)) >> 8;
114 c->range -= range1;
116 if(c->low < c->range){
121 c->low -= c->range;
123 c->range = range1;
128 one_mask= (c->range - c->low-1)>>31;
130 c->low -= c->range & one_mask;
131 c->range += (range1 - c->range) & one_mask;