Lines Matching defs:range
21 uint32_t range;
27 /// Reads the first five bytes to initialize the range decoder.
45 /// Makes local copies of range decoder and *in_pos variables. Doing this
46 /// improves speed significantly. The range decoder macros expect also
54 /// Stores the local copes back to the range decoder structure.
62 /// Resets the range decoder structure.
65 (range_decoder).range = UINT32_MAX; \
83 if (rc.range < RC_TOP_VALUE) { \
88 rc.range <<= RC_SHIFT_BITS; \
107 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BITS) * (prob); \
111 /// Update the range decoder state and the used probability variable to
115 rc.range = rc_bound; \
120 /// Update the range decoder state and the used probability variable to
124 rc.range -= rc_bound; \
168 rc.range >>= 1; \
169 rc.code -= rc.range; \
171 rc.code += rc.range & rc_bound; \