Searched refs:divide_and_round (Results 1 – 2 of 2) sorted by relevance
343 static INLINE int64_t divide_and_round(const int64_t n, const int64_t d) { in divide_and_round() function366 *ic = (int)divide_and_round(x0 * b, y0); in get_cost_surf_min()367 *ir = (int)divide_and_round(x1 * b, y1); in get_cost_surf_min()
370 static INLINE int divide_and_round(int n, int d) { in divide_and_round() function388 *ic = divide_and_round((cost_list[1] - cost_list[3]) * (1 << (bits - 1)), in get_cost_surf_min()390 *ir = divide_and_round((cost_list[4] - cost_list[2]) * (1 << (bits - 1)), in get_cost_surf_min()