Searched refs:ROUND_DIV (Results 1 – 2 of 2) sorted by relevance
39 #define ROUND_DIV(a, b) (((b) != 0) ? ((a) + ((b) >> 1)) / (b) : 0) macro
973 crop_res->height = ROUND_DIV(out_res->height * crop_res->width, in ia_css_frame_find_crop_resolution()978 crop_res->width = ROUND_DIV(out_res->width * crop_res->height, in ia_css_frame_find_crop_resolution()