Lines Matching refs:round2
184 round2(double x)
208 dev->width = round2 ((dx / ((double) MAX_X_S)) * 640);
209 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 880);
212 dev->width = round2 ((dx / ((double) MAX_X_S)) * 848);
213 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 1180);
216 dev->width = round2 ((dx / ((double) MAX_X_S)) * 1264);
217 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 1775);
220 dev->width = round2 ((dx / ((double) MAX_X_S)) * 1696);
221 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 2351);
224 dev->width = round2 ((dx / ((double) MAX_X_S)) * 2528);
225 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 3510);
228 dev->width = round2 ((dx / ((double) MAX_X_S)) * 5088);
229 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 7020);
232 dev->width = round2 ((dx / ((double) MAX_X_S)) * 10208);
233 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 14025);
614 s_unit = (int) round2 ((dev->optionw[option] / ((double) MAX_X_S))
616 s_unit_2 = (int) round2 ((dev->optionw[X2_OFFSET] / ((double) MAX_X_S))
620 dev->optionw[option] = round2 ((s_unit / ((double) MAX_X_H)) * MAX_X_S);
630 s_unit = (int) round2 ((dev->optionw[option] / ((double) MAX_X_S))
632 s_unit_2 = (int) round2 ((dev->optionw[X1_OFFSET] / ((double) MAX_X_S))
636 dev->optionw[option] = round2 ((s_unit / ((double) MAX_X_H)) * MAX_X_S);
644 s_unit = (int) round2 ((dev->optionw[option] / ((double) MAX_Y_S))
647 s_unit_2 = (int) round2 ((dev->optionw[Y2_OFFSET] / ((double) MAX_Y_S))
652 dev->optionw[option] = round2 ((s_unit / ((double) MAX_Y_H)) * MAX_Y_S);
660 s_unit = (int) round2 ((dev->optionw[option] / ((double) MAX_Y_S))
663 s_unit_2 = (int) round2 ((dev->optionw[Y1_OFFSET] / ((double) MAX_Y_S))
668 dev->optionw[option] = round2 ((s_unit / ((double) MAX_Y_H)) * MAX_Y_S);
776 y1 = (int) round2 ((dev->optionw[Y1_OFFSET] / ((double) MAX_Y_S)) * MAX_Y_H);
777 y2 = (int) round2 ((dev->optionw[Y2_OFFSET] / ((double) MAX_Y_S)) * MAX_Y_H);
778 x1 = (int) round2 ((dev->optionw[X1_OFFSET] / ((double) MAX_X_S)) * MAX_X_H);
779 x2 = (int) round2 ((dev->optionw[X2_OFFSET] / ((double) MAX_X_S)) * MAX_X_H);