Lines Matching defs:range
21 uint32_t range;
27 /// Reads the first five bytes to initialize the range decoder.
51 /// Makes local copies of range decoder and *in_pos variables. Doing this
52 /// improves speed significantly. The range decoder macros expect also
60 /// Stores the local copes back to the range decoder structure.
68 /// Resets the range decoder structure.
71 (range_decoder).range = UINT32_MAX; \
89 if (rc.range < RC_TOP_VALUE) { \
94 rc.range <<= RC_SHIFT_BITS; \
113 rc_bound = (rc.range >> RC_BIT_MODEL_TOTAL_BITS) * (prob); \
117 /// Update the range decoder state and the used probability variable to
121 rc.range = rc_bound; \
126 /// Update the range decoder state and the used probability variable to
130 rc.range -= rc_bound; \
174 rc.range >>= 1; \
175 rc.code -= rc.range; \
177 rc.code += rc.range & rc_bound; \