Lines Matching defs:raster
2080 return "Get background raster";
2521 #define max_usb_size 256 * 1024 /* or 0x10000, used by AV Windows driver during background raster read, ... ? */
4889 dev->scsi_buffer_size = 1024 * 1024; /* or 0x10000, used by AV Windows driver during background raster read, ... ? */
6507 DBG (3, "get_background_raster: native raster pixels: %d, raster bytes_per_line: %d\n",
6521 rcmd.datatypecode = AVISION_DATATYPECODE_GET_BACKGROUND_RASTER; /* get background raster */
6526 at least get a correct front raster out of them is to read it
6530 /* read the raster data */
6558 DBG (1, "get_background_raster: read raster failed (%s)\n", sane_strstatus (status) );
6636 uint8_t* raster = background;
6642 raster += bytes_per_line * s->val[OPT_BACKGROUND].w;
6648 fwrite (raster, 1, (size_t) bytes_per_line * (size_t) s->val[OPT_BACKGROUND].w, f);
6719 uint8_t* raster = background;
6725 raster += s->params.bytes_per_line * s->val[OPT_BACKGROUND].w;
6731 fwrite (raster, 1, (size_t) s->params.bytes_per_line * (size_t) s->val[OPT_BACKGROUND].w, f);
7137 /* background raster */
7139 s->opt[OPT_BACKGROUND].title = "Background raster lines";
7140 s->opt[OPT_BACKGROUND].desc = "The background raster controls the additional background lines to scan before the paper is feed through the scanner.";
7648 /* First, dump background raster, bypassing all the other processing. */
7655 DBG (5, "reader_process: dumping background raster\n");
9077 /* add background raster lines */
9284 /* if the device supports retrieving background raster data
9290 DBG (1, "sane_start: get background raster command failed: %s\n",