Lines Matching defs:range
54 int shift= (uint32_t)(c->range - 0x100)>>31;
55 c->range<<= shift;
82 int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + s];
85 c->range -= RangeLPS;
86 lps_mask= ((c->range<<(CABAC_BITS+1)) - c->low)>>31;
88 c->low -= (c->range<<(CABAC_BITS+1)) & lps_mask;
89 c->range += (RangeLPS - c->range) & lps_mask;
95 lps_mask= ff_h264_norm_shift[c->range];
96 c->range<<= lps_mask;
113 int range;
119 range= c->range<<(CABAC_BITS+1);
120 if(c->low < range){
123 c->low -= range;
131 int range, mask;
137 range= c->range<<(CABAC_BITS+1);
138 c->low -= range;
140 range &= mask;
141 c->low += range;
151 c->range -= 2;
152 if(c->low < c->range<<(CABAC_BITS+1)){