Searched refs:roundint (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/xwud/dist/
H A Dxwud.c740 #define roundint(x) (int)((x) + 0.5) macro
778 src_max_x = roundint((exp_x + exp_width) / ratio_x) + 1;
782 strip_height = 65536 / roundint(ratio_x * src_image->bytes_per_line);
788 h = strip_height + roundint(ratio_y);
817 table.x[x] = roundint(ratio_x * x);
823 table.y[y] = roundint(ratio_y * y);

Completed in 3 milliseconds