Home
last modified time | relevance | path

Searched refs:cal_lines (Results 1 - 3 of 3) sorted by relevance

/third_party/backends/backend/
H A Dsnapscan-scsi.c1368 int cal_lines = NUM_CALIBRATION_LINES_EPSON; in calibrate_epson() local
1409 cal_lines = NUM_CALIBRATION_LINES_EPSON_BLACK; in calibrate_epson()
1419 for (i = 0; i < cal_lines; i += loop_inc) { in calibrate_epson()
1424 pss->cmd[5] = cal_lines; in calibrate_epson()
1425 if (cal_lines - i > loop_inc) in calibrate_epson()
1428 expected_read_bytes = (cal_lines - i) * (num_bins * bytes_per_bin); in calibrate_epson()
1465 bins[k] /= cal_lines; in calibrate_epson()
H A Dteco2.h330 int cal_lines; /* number of calibration lines to read */ member
H A Dteco2.c1255 for (i = 0; i < dev->def->cal_lines; i++) in teco_do_calibration()
1425 tmp_buf[j] = (colsub1_0 * (dev->def->cal_lines - 2)) / tmp_buf[j]; in teco_do_calibration()
1426 tmp_buf[j + dev->def->cal_length] = (colsub1_1 * (dev->def->cal_lines - 2)) in teco_do_calibration()
1428 tmp_buf[j + 2 * dev->def->cal_length] = (colsub1_2 * (dev->def->cal_lines - 2)) in teco_do_calibration()
1433 tmp_buf[j] = colsub0_0 - (tmp_buf[j] / (dev->def->cal_lines - 2)); in teco_do_calibration()
1435 / (dev->def->cal_lines - 2)); in teco_do_calibration()
1437 - (tmp_buf[j + 2 * dev->def->cal_length] / (dev->def->cal_lines - 2)); in teco_do_calibration()
1445 tmp_buf[j] = (colsub1_1 * dev->def->cal_lines) / tmp_buf[j]; in teco_do_calibration()
1447 tmp_buf[j] = colsub0_1 - (tmp_buf[j] / dev->def->cal_lines); in teco_do_calibration()

Completed in 7 milliseconds