Lines Matching defs:width

102          - round image width down, not up
156 - override tl_x and br_x for fixed width scanners
172 - limit some machines to full-width scanning
225 - support fixed-width machines that require even bytes per scanline
259 - add code to clamp scan width to an arbitrary byte width boundary
332 - fixed-width scanners were calculating left-side offset incorrectly in color
1339 /* maximum window width and length are reported in basic units.*/
1341 DBG(15, " max width: %d (%2.2f in)\n",s->max_x,(float)s->max_x/1200);
2092 /* page width US-Letter */
2481 /* page width */
3805 /* if full width image, and paper size is changed,
4863 params->pixels_per_line = s->i.width;
4893 s->u.width = (s->u.br_x - s->u.tl_x) * s->u.dpi_x / 1200;
4909 s->u.width -= s->u.width % 8;
4913 s->u.width -= s->u.width % s->ppl_mod;
4918 s->u.width -= s->u.width % 8;
4922 s->u.Bpl = s->u.width * s->u.bpp / 8;
4924 s->u.valid_width = s->u.width;
4927 s->u.width, s->u.height, s->u.mode, s->u.format, s->u.bpp);
4987 s->s.width = (s->s.br_x - s->s.tl_x) * s->s.dpi_x / 1200;
4991 s->s.width -= s->s.width % 8;
4995 s->s.width -= s->s.width % s->ppl_mod;
4997 s->s.valid_width = s->s.width;
5001 /* increase width and Bpl, but not valid_width and valid_Bpl */
5002 if(s->even_Bpl && (s->s.width % 2)){
5003 s->s.width++;
5006 s->s.Bpl = s->s.width * s->s.bpp / 8;
5011 s->s.valid_width = s->s.width*11/12;
5023 s->s.width, s->s.height, s->s.mode, s->s.format, s->s.bpp);
5046 s->i.width, s->i.height, s->i.mode, s->i.format, s->i.bpp);
5306 s->i.width = s->u.width;
5779 /* some machines need max width */
5788 set_WD_width (desc1, s->s.width * 1200/s->s.dpi_x);
5794 set_WD_width (desc1, s->s.width * 1200/s->s.dpi_x);
6003 /* double width pnm interlacing */
6165 /* width in start of frame, overwrite it */
6167 in[i] = (s->s.width >> 8) & 0xff;
6171 in[i] = s->s.width & 0xff;
6230 * this code requests double width lines from scanner */
6359 int pwidth = s->s.width;
6622 int pwidth = s->s.width;
6744 int spwidth = s->s.width;
6754 if(s->s.width == s->i.width
6856 if(s->i.width != s->s.width){
7339 reqLen = s->s.width*2;
7630 outLen = s->s.width*2 + 4;
8875 * for the paper width in adf. sometimes,
8882 int width = s->u.page_x;
8890 if(width > s->valid_x){
8895 return width;
9094 /* if we will later binarize this image, make sure the width
9111 s->i.width = s->s_params.pixels_per_line;