Lines Matching refs:calibrator
1965 /** @brief create and copy calibrator
1966 * Creates a calibrator of the given width and copy data from reference
1968 * @param calibator pointer to the calibrator to create
1969 * @param reference calibrator with reference data to copy
1970 * @param width the width in pixels of the calibrator
1972 * @return SANE_STATUS_GOOD and a filled calibrator if enough memory
1975 gt68xx_calibrator_create_copy (GT68xx_Calibrator ** calibrator,
1985 *calibrator = NULL;
1995 status = gt68xx_calibrator_new (width, 65535, calibrator);
1999 "gt68xx_calibrator_create_copy: failed to create calibrator: %s\n",
2006 (*calibrator)->k_white[i]=reference->k_white[i+offset];
2007 (*calibrator)->k_black[i]=reference->k_black[i+offset];
2008 (*calibrator)->white_line[i]=reference->white_line[i+offset];
2009 (*calibrator)->black_line[i]=reference->black_line[i+offset];
2251 "gt68xx_sheetfed_scanner_calibrate: failed to create red calibrator: %s\n",
2263 "gt68xx_sheetfed_scanner_calibrate: failed to create green calibrator: %s\n",
2275 "gt68xx_sheetfed_scanner_calibrate: failed to create blue calibrator: %s\n",
2300 "gt68xx_sheetfed_scanner_calibrate: failed to create gray calibrator: %s\n",
2411 /* calibrator allocation and copy */
2422 "gt68xx_assign_calibration: failed to create calibrator: %s\n",
2438 "gt68xx_assign_calibration: failed to create calibrator: %s\n",
2454 "gt68xx_assign_calibration: failed to create calibrator: %s\n",
2470 "gt68xx_assign_calibration: failed to create calibrator: %s\n",