Lines Matching defs:top
1507 int top[3], bottom[3];
1562 // now top value
1564 top[ch] = 255;
1565 dev.frontend.set_offset(ch, top[ch]);
1569 // scan with top AFE values
1592 DBG(DBG_info, "%s: top avg %d=%d\n", __func__, ch, topavg[ch]);
1602 while ((pass < 32) && ((top[0] - bottom[0] > 1) ||
1603 (top[1] - bottom[1] > 1) ||
1604 (top[2] - bottom[2] > 1)))
1609 if (top[ch] - bottom[ch] > 1) {
1610 dev.frontend.set_offset(ch, (top[ch] + bottom[ch]) / 2);
1658 top[ch] = dev.frontend.get_offset(ch);
2021 std::uint16_t top[3] = {};
2031 top[0] = 41000;
2032 top[1] = 51000;
2033 top[2] = 51000;
2039 top[0] = 32000;
2040 top[1] = 32000;
2041 top[2] = 32000;
2110 if (avg[i] > top[i]) {
2112 exp[i] = (exp[i] * top[i]) / avg[i];
2121 if (avg[i] < bottom[i] || avg[i] > top[i]) {
2122 auto target = (bottom[i] + top[i]) / 2;
3983 /* set top left x and y values by scanning the internals if flatbed scanners */
6216 throw SaneException("top left x >= bottom right x");
6219 throw SaneException("top left y >= bottom right y");