Searched refs:x_step (Results 1 – 3 of 3) sorted by relevance
258 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument261 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()
264 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument267 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()
130 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument133 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()