Lines Matching defs:xres
527 int iPos, xres, yres;
556 xres = s->xres_word_list[1];
561 xres = s->xres_word_list[iPos + 1];
563 s->val[OPT_X_RESOLUTION].w = xres;
1030 int width, length, xres, yres;
1040 xres = s->val[OPT_X_RESOLUTION].w;
1043 yres = xres;
1047 if (xres > 0 && yres > 0 && width > 0 && length > 0)
1049 DBG (11, "sane_get_parameters: width='%d', xres='%d', mud='%d'\n",
1050 width, xres, s->hw->info.mud);
1051 s->params.pixels_per_line = width * xres / s->hw->info.mud;
1091 DBG (11, "sane_get_parameters: xres='%d', yres='%d', pixels_per_line='%d', "
1092 "bytes_per_line='%d', lines='%d'\n", s->xres, s->yres,
1229 s->xres = s->val[OPT_X_RESOLUTION].w;
1233 s->yres = s->xres;
1308 wbuf[10] = s->xres >> 8;
1309 wbuf[11] = s->xres;
1411 DBG (5, "xres=%d\n", (wbuf[10] << 8) + wbuf[11]);