Lines Matching defs:line
165 gt68xx_calibrator_add_white_line (GT68xx_Calibrator * cal, unsigned int *line)
176 cal->white_line[i] += line[i];
177 sum += line[i];
179 printf ("%c", line[i] >> 8);
184 "gt68xx_calibrator_add_white_line: WARNING: dark calibration line: "
189 "gt68xx_calibrator_add_white_line: line: %2d medium white: 0x%02x\n",
210 gt68xx_calibrator_add_black_line (GT68xx_Calibrator * cal, unsigned int *line)
221 cal->black_line[i] += line[i];
222 sum += line[i];
224 printf ("%c", line[i] >> 8);
229 "gt68xx_calibrator_add_black_line: line: %2d medium black: 0x%02x\n",
285 gt68xx_calibrator_process_line (GT68xx_Calibrator * cal, unsigned int *line)
293 unsigned int src_value = line[i];
317 line[i] = value;
1000 SANE_Int total_white; /* average white of the complete line (0-65536) */
1023 * @param buffer scanned line
1219 /* read line */
1286 * for the AFE gains and offsets. It performs several one-line scans of the
1341 /* read line */
1391 /* read line */
1726 int line;
1806 for (line = 0; line < values->callines; line++)
1816 memcpy (r_buffer + values->calwidth * line, buffer_pointers[0],
1818 memcpy (g_buffer + values->calwidth * line, buffer_pointers[1],
1820 memcpy (b_buffer + values->calwidth * line, buffer_pointers[2],
1922 /* read white line */
2032 /**< number of consecutive white line to detect a white area */
2160 /* check for white line */
2170 /* line is white if 93% is above black level */