Lines Matching defs:size
98 - jpeg support (size rounding and header overwrite)
146 - set status packet size from config file
178 - increase default buffer size to 4 megs
232 - reduce default buffer size to 2 megs
235 - shink image buffers to size of output image, not input
601 if (!strncmp (lp, "buffer-size", 11) && isspace (lp[11])) {
609 DBG (5, "sane_get_devices: config option \"buffer-size\" "
615 DBG (5, "sane_get_devices: config option \"buffer-size\" "
620 DBG (15, "sane_get_devices: setting \"buffer-size\" to %d\n",
1101 DBG (5, "connect_fd: cannot get requested buffer size (%d/%d)\n",
2135 s->opt[i].size = sizeof (SANE_Word);
2292 opt->size = maxStringSize (opt->constraint.string_list);
2319 opt->size = maxStringSize (opt->constraint.string_list);
2654 opt->size = maxStringSize (opt->constraint.string_list);
2827 opt->size = maxStringSize (opt->constraint.string_list);
2855 opt->size = maxStringSize (opt->constraint.string_list);
2884 opt->size = sizeof(SANE_Word);
2919 opt->size = IMPRINT_SPECSTRING_LEN;
2932 opt->size = sizeof(SANE_Word);
2947 opt->size = sizeof(SANE_Word);
2957 opt->name = "pre-imprint-font-size";
2958 opt->title = "Pre-Imprinter font size";
2959 opt->desc = "Integer specifying the pre-imprint font size";
2963 opt->size = maxStringSize (opt->constraint.string_list);
2976 opt->size = sizeof(SANE_Word);
3001 opt->size = IMPRINT_SPECSTRING_LEN;
3014 opt->size = sizeof(SANE_Word);
3029 opt->size = sizeof(SANE_Word);
3039 opt->name = "post-imprint-font-size";
3040 opt->title = "Post-Imprinter font size";
3041 opt->desc = "Integer specifying the post-imprint font size";
3045 opt->size = maxStringSize (opt->constraint.string_list);
3058 opt->size = sizeof(SANE_Word);
3085 opt->size = maxStringSize (opt->constraint.string_list);
3249 * value (determined by member size in the corresponding option
3805 /* if full width image, and paper size is changed,
3806 change the image size to match new paper */
3822 /* if full height image, and paper size is changed,
3823 change the image size to match new paper */
4730 * Request the size of the scanned image
4781 * For 1 bpp the resulting size may not fit in a byte boundary.
5169 DBG (10, "send_imprint_specstring: post-imprinter: font size: %d rotation: %d spacing: %d text: '%s' imprint-addon-mode: %d\n",s->post_imprint.font_size,s->post_imprint.font_rot,s->post_imprint.spacing,s->post_imprint.specstring,s->post_imprint_addon_mode);
5175 DBG (10, "send_imprint_specstring: pre-imprinter: font size: %d rotation: %d spacing: %d text: '%s'\n",s->pre_imprint.font_size,s->pre_imprint.font_rot,s->pre_imprint.spacing,s->pre_imprint.specstring);
5298 /* reset image size parameters after buffer_xxx functions changed them */
5500 DBG (5, "sane_start: ERROR: cannot get pixel size\n");
5573 DBG (5, "sane_start: ERROR: cannot get pixel size\n");
5588 * tell the user the size of the image. the sane
5765 /* set window desc size in header */
6129 /* this is jpeg data, we need to fix the missing image size */
6203 /* this is jpeg data, we need to change the total size */
6210 /* this is non-jpeg data, fill remainder, change rx'd size */
6322 /* this is jpeg data, we need to change the total size */
6332 /* this is non-jpeg data, fill remainder, change rx'd size */
6724 * Use stride size to account for the number of bytes per pixel
6738 /* downsample a single line from scanner's size to user's size */
8490 DBG(5,"cmd: wrong size %d/%d\n", (int)cmdLength, (int)cmdActual);
8544 DBG(5,"out: wrong size %d/%d\n", (int)outLength, (int)outActual);
8924 * Convenience method to determine longest string size in a list.
8929 size_t size, max_size = 0;
8933 size = strlen (strings[i]) + 1;
8934 if (size > max_size)
8935 max_size = size;
9110 /* need to update user with new size */
9115 /* update image size counter to new, smaller size */
9125 /* Look in image for disconnected 'spots' of the requested size.
9177 * tell the user the size of the image. */