Lines Matching defs:width
84 int width; /*WARNING: this is in bytes, get pixel width from param*/
955 width/height option (if they exist at all). */
963 all_options[option_count].name = "width";
966 window_option[0].title = "Scan width";
1001 /* Initialize width & height options based on backend default
1176 write_pnm_header (SANE_Frame format, int width, int height, int depth, FILE *ofp)
1187 fprintf (ofp, "P6\n# SANE data follows\n%d %d\n%d\n", width, height,
1193 fprintf (ofp, "P4\n# SANE data follows\n%d %d\n", width, height);
1195 fprintf (ofp, "P5\n# SANE data follows\n%d %d\n%d\n", width, height,
1206 write_png_header (SANE_Frame format, int width, int height, int depth, int dpi, const char * icc_profile, FILE *ofp, png_structp* png_ptr, png_infop* info_ptr)
1242 png_set_IHDR(*png_ptr, *info_ptr, width, height,
1286 write_jpeg_header (SANE_Frame format, int width, int height, int dpi, FILE *ofp,
1294 cinfo->image_width = width;
1326 if (++image->x >= image->width)
1334 old_size = image->height * image->width * image->num_channels;
1337 new_size = image->height * image->width * image->num_channels;
1349 prog_name, image->width, image->height);
1512 image.width = parm.bytes_per_line;
1522 image.x = image.width - 1;
1787 for (i = 0; i < image.height * image.width; i += 2)
1797 fwrite (image.data, 1, image.height * image.width * image.num_channels, ofp);