Lines Matching defs:white
59 white
1315 High bytes are changed to 0xFF (white), lower or equal bytes are changed
1316 to 0x00 (black),so that the buffer only contains white (0xFF) or black
1321 we are in a white region and look for the start of a black region. We save
1322 this index as the transition from white to black. We also save where we
1323 change from black back to white. We continue checking for transitions
1328 plus or minus the tolerance. For the first transition (white to black
1330 For the second transition (black to white) the value must lie in the range
1376 /* Set bytes as white (0xFF) or black (0x00) */
1385 region = white;
1394 if ((region == white) && (*(buffer + i) == 0))
1408 /* Check for transition to white */
1413 region = white;
1419 DBG (15, "low_is_home_line: no transition to white \n");
2473 entirely white lines read consecutively, so we know how far past the
2476 To find the number of consecutive white lines we do the following:
2483 Low bytes are changed to 0xFF (white), higher of equal bytes are changed
2484 to 0x00 (black),so that the buffer only contains white (0xFF) or black
2492 we increment the black line count and set the white line count to 0. If
2494 and increment the white line count.
2496 When all lines have been processed we return the white line count.
2806 /* Set bytes as black (0x00) or white (0xFF) */
2846 /* This is a white line */
5660 * we scan a white area until average is good enough
5754 * We do it by scanning a pure white area which is before scanning area. Then
5863 /* yoffset is index of last dot line, go to first white line */