Lines Matching defs:MAX_Y_S
116 #define MAX_Y_S 330
124 static SANE_Range range_y = { 0, MAX_Y_S, 0 };
209 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 880);
213 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 1180);
217 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 1775);
221 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 2351);
225 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 3510);
229 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 7020);
233 dev->height = round2 ((dy / ((double) MAX_Y_S)) * 14025);
337 dev->optionw[Y2_OFFSET] = MAX_Y_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);