Lines Matching defs:max
670 compute_first_gain_offset (int target, int max, int min, int *gain,
673 *gain = (int) 15.0 *(target / (max - min) - 0.933);
677 *gain = (int) 15.0 *(target / 3.0 / (max - min) - 0.933);
784 compute_gain_offset (int target, int max, int min, int *gain,
793 if (max > target)
829 DBG (DBG_error, "error: max static has pixel value == 0\n");
1124 setreg (s, 0x4e, 0x5b - 0x3c); /* max Kb to pause */
1450 setreg (s, 0x4e, 0x5b - 0x3c); /* max Kb to pause */
1706 max_black = max (coarse->min_red, coarse->min_green);
1707 max_black = max (max_black, coarse->min_blue);
1944 setreg (s, 0x4e, pause_limit); /* max Kb to pause */
2539 s->val[OPT_BR_X].w = x_range.max;
2550 s->val[OPT_BR_Y].w = y_range.max;
2841 opt_br_x = SANE_UNFIX (x_range.max);
2842 opt_br_y = SANE_UNFIX (y_range.max);