Lines Matching defs:scan

86          - only send scan command at beginning of batch
205 - move scan params into two new structs, s->u and s->s
220 - reset scan params to user request if calibration fails
226 - pad end of scan with gray if scanner stops prematurely
238 - add intermediate param struct to existing user and scan versions
259 - add code to clamp scan width to an arbitrary byte width boundary
373 . . - sane_get_parameters() : returns estimated scan parameters
377 . . - sane_get_parameters() : returns actual scan parameters
2078 /* scan mode */
2296 /* scan mode */
2752 opt->desc = "Maximum diameter of lone dots to remove from scan";
2881 opt->desc = "Tells which side (0=front, 1=back) of a duplex scan the next call to sane_read will return.";
3202 opt->desc = "Total scan count of the device";
4824 * that the current scan will return.
4827 * This function is used to obtain the current scan parameters. The
4829 * a scan has been started (sane_start() has been called) and the
4834 * Calling this function before a scan has actually started allows,
4933 /* some scanners are limited in their valid scan params
4979 /*********** weird scan area (increase to valid one) *********/
5022 DBG (15, "update_params: scan params: w:%d h:%d m:%d f:%d b:%d\n",
5024 DBG (15, "update_params: scan params: B:%d vB:%d vw:%d\n",
5026 DBG (15, "update_params: scan params: x b:%d t:%d d:%d y b:%d t:%d d:%d\n",
5315 * commands: set window, object pos, and scan
5317 * this will be called between sides of a duplex scan,
5412 /* load our own private copy of scan params */
5453 /* clean scan params for new scan */
5526 /* don't call object pos or scan on back side of duplex scan */
5529 /* clean scan params for new scan */
5545 /* send scan command */
5644 * cleans params for new scan
5703 * frees/callocs buffers to hold the scan data
6753 /* the 'standard' case: non-stupid scan */
6766 /* the 'corner' case: stupid scan */
6840 /* scan is higher res than user wanted, scale it */
6855 /* scan is wider than user wanted, skip some pixels on left side */
7033 /* always cal with a short scan in duplex color */
7039 /* load our own private copy of scan params */
7051 /* clean scan params for new scan */
7103 DBG (5, "calibrate_AFE: ERROR: cannot make offset cal scan\n");
7133 DBG (5, "calibrate_AFE: ERROR: cannot make exposure cal scan\n");
7167 DBG (5, "calibrate_AFE: ERROR: cannot make gain cal scan\n");
7201 DBG (5, "calibrate_AFE: ERROR: cannot make offset2 cal scan\n");
7287 /* log current cal settings so we won't recalibrate on next scan with same params */
7319 /* pretend we are doing a 1 line scan in duplex */
7324 /* load our own private copy of scan params */
7331 /* clean scan params for new scan */
7505 /* always cal with a short scan in duplex */
7510 /* load our own private copy of scan params */
7517 /* clean scan params for new scan */
7553 DBG (5, "calibrate_fine_src_scan: ERROR: cannot make offset cal scan\n");
7578 DBG (5, "calibrate_fine_src_scan: ERROR: cannot make gain cal scan\n");
7711 * does a simple scan, ingests entire duplex image into buffers
7714 calibration_scan (struct scanner *s, int scan)
7720 /* clean scan params for new scan */
7728 ret = start_scan (s,scan);
7909 * Cancels a scan.
7976 /* cancel scan */