Searched refs:inv_recenter_nonneg (Results 1 – 2 of 2) sorted by relevance
20 static INLINE uint16_t inv_recenter_nonneg(uint16_t r, uint16_t v) { in inv_recenter_nonneg() function34 return inv_recenter_nonneg(r, v); in inv_recenter_finite_nonneg()36 return n - 1 - inv_recenter_nonneg(n - 1 - r, v); in inv_recenter_finite_nonneg()
17 static int inv_recenter_nonneg(int v, int m) { in inv_recenter_nonneg() function54 return 1 + inv_recenter_nonneg(v, m); in inv_remap_prob()56 return MAX_PROB - inv_recenter_nonneg(v, MAX_PROB - 1 - m); in inv_remap_prob()