Lines Matching defs:width
133 - set default page width
1220 /* page width */
1783 /* use height and width to initialize rest of transfer vals */
1808 int line_stride; /* byte width of 1 raw side, with padding */
1809 int plane_stride; /* byte width of 1 raw color plane, with padding */
1810 int plane_width; /* byte width of 1 raw color plane, without padding */
1990 int img_heads, img_pages, width;
2038 img_heads = 1; /* image width is the same as the plane width on the S300 */
2043 img_heads = 1; /* image width is the same as the plane width on the S1000 */
2048 img_heads = 3; /* image width is 3* the plane width on the FI-60F */
2069 /*width*/
2078 /* generally full width, short height, full resolution */
2088 /* width is the same, but there are 2 bytes per pixel component */
2100 width = s->cal_image.plane_width * img_heads;
2101 s->coarsecal.width_pix = s->darkcal.width_pix = s->lightcal.width_pix = width;
2102 s->coarsecal.width_bytes = s->darkcal.width_bytes = s->lightcal.width_bytes = width * 3;
2112 width = s->cal_data.plane_width * img_heads;
2113 s->sendcal.width_pix = width;
2114 s->sendcal.width_bytes = width * 6; /* 2 bytes of cal data per pixel component */
2154 /* note that this is the same width/x_res as the final output image */
2156 width = (settings[i].max_x * s->resolution / settings[i].x_res);
2157 s->block_img.width_pix = width;
2158 s->block_img.width_bytes = width * (settings[i].mode == MODE_COLOR ? 3 : 1);
3623 int width;
3630 width = outLen / 2; /* 1 color, 2 bytes */
3631 height = width; /* square table */
3635 width = outLen / 6; /* 3 color, 2 bytes */
3636 height = width; /* square table */
3640 width = outLen / 6; /* 3 colors, 2 bytes */
3641 height = width; /* square table */
3658 offset = height/2 - slope*width/2;
3663 b = ((double)s->brightness/127) * (slope*(width-1) + offset);
3668 for(i=0;i<width;i++){
3685 out[width*2 + i*2] = (j >> 8) & 0xff;
3686 out[width*2 + i*2+1] = j & 0xff;
3689 out[width*4 + i*2] = (j >> 8) & 0xff;
3690 out[width*4 + i*2+1] = j & 0xff;
3698 out[width*2 + i*2] = j & 0xff;
3699 out[width*2 + i*2+1] = (j >> 8) & 0x0f;
3702 out[width*4 + i*2] = j & 0xff;
3703 out[width*4 + i*2+1] = (j >> 8) & 0x0f;
4550 /* because dt.width = page_width, we pass page_width */
4565 binarize_line(struct scanner *s, unsigned char *lineOut, int width)
4580 for (j = 0; j < width; j++)
4593 if (dropCol >= 0 && addCol < width)
5009 * for the paper width in adf. sometimes,