Lines Matching defs:height
85 int height;
137 #define STRIP_HEIGHT 256 /* # lines we increment image height */
955 width/height option (if they exist at all). */
973 all_options[option_count].name = "height";
976 window_option[1].title = "Scan height";
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,
1295 cinfo->image_height = height;
1329 if (++image->y >= image->height || !image->data)
1334 old_size = image->height * image->width * image->num_channels;
1336 image->height += STRIP_HEIGHT;
1337 new_size = image->height * image->width * image->num_channels;
1349 prog_name, image->width, image->height);
1422 "variable height at %d bits/pixel\n",
1508 scanner doesn't know what the eventual image height
1518 image.height = parm.lines - STRIP_HEIGHT + 1;
1520 image.height = 0;
1745 image.height = image.y;
1750 image.height, parm.depth, resolution_value,
1755 image.height, parm.depth, ofp);
1760 image.height, parm.depth, resolution_value,
1787 for (i = 0; i < image.height * image.width; i += 2)
1797 fwrite (image.data, 1, image.height * image.width * image.num_channels, ofp);
1907 "variable height at %d bits/pixel\n",