Lines Matching defs:black
58 black = 0,
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) */
1393 /* Check for transition to black */
1398 region = black;
1404 DBG (15, "low_is_home_line: no transition to black \n");
1409 else if ((region == black) && (*(buffer + i) == 0xFF))
2484 to 0x00 (black),so that the buffer only contains white (0xFF) or black
2489 byte is black. If it is we increment the black byte counter.
2491 After each line we check the black byte counter. If it is greater than 0
2492 we increment the black line count and set the white line count to 0. If
2493 there were no black bytes in the line we set the black line count to 0
2806 /* Set bytes as black (0x00) or white (0xFF) */
2832 /* Is byte black? */
2840 /* This was a black line */