Lines Matching defs:white
1130 * @returns SANE_TRUE if it is considered as a white line
1173 /** detect a white scan line
1175 * acceptable white line for calibration
1179 * @returns SANE_TRUE if it is considered as a white line
1407 * calibrates scanner by scanning a white sheet to get
1420 unsigned int i, j, k, dpi, pixels, read, black, white;
1471 white = 0;
1480 /* read lines and gather black and white ones until enough for sensor's
1485 if (status == SANE_STATUS_NO_DOCS && (white < 10 || black < 10))
1507 if (is_white_line (buffer, pixels, MODE_COLOR) && white < 256)
1509 white++;
1528 DBG (DBG_trace, "sheetfed_calibration: white lines=%d, black lines=%d\n",
1529 white, black);
1534 dev->calibration_data[i]->white_data[j] = white_data[j] / white;
1558 sprintf (title, "calibration-white-%d.pnm",