Lines Matching defs:res
923 int res, max_width, max_height, max_res;
937 /* We use 600 res list here because the 300 res list is just a shorter
939 res = res600[cs->vals[OPT_RESOLUTION]];
949 ((cs->vals[OPT_BR_X] - cs->vals[OPT_TL_X]) * res) / MM_PER_IN;
950 params->lines = ((cs->vals[OPT_BR_Y] - cs->vals[OPT_TL_Y]) * res)
963 max_width = cs->params.scanheadwidth / (max_res / res);
966 (max_res / res);
1001 "max_res=%d, res=%d, max_height=%d, br_y=%d, tl_y=%d, "
1004 max_res, res, max_height, cs->vals[OPT_BR_Y],
1022 unsigned int i, res, max_width, max_height, max_res, tmp;
1037 /* We use 600 res list here because the 300 res list is just a shorter
1039 res = res600[cs->vals[OPT_RESOLUTION]];
1042 cs->scan.width = ((cs->vals[OPT_BR_X] - cs->vals[OPT_TL_X]) * res)
1044 cs->scan.height = ((cs->vals[OPT_BR_Y] - cs->vals[OPT_TL_Y]) * res)
1047 cs->scan.xoffset = (cs->vals[OPT_TL_X] * res) / MM_PER_IN;
1048 cs->scan.yoffset = (cs->vals[OPT_TL_Y] * res) / MM_PER_IN;
1067 max_width = cs->params.scanheadwidth / (max_res / res);
1070 (max_res / res);
1089 while (res > 75)
1092 res = res >> 1;
1628 /* The resolution of scanning (X res == Y res for now)*/