Lines Matching refs:half_res
1724 SANE_Fixed max_dpi, quant, half_res;
1728 half_res = max_dpi / 2;
1730 if (w > half_res)
1772 SANE_Fixed quant, half_res;
1775 half_res = max_dpi / 2;
1777 if (dpi <= half_res)
3224 long res, half_res;
3261 half_res = SANE_UNFIX (s->hw->dpi_range.max) / 2;
3263 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3265 *bpl = (s->hw->bpl * res) / half_res / 3;
3289 long res, half_res;
3292 half_res = SANE_UNFIX (s->hw->dpi_range.max) / 2;
3345 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3348 *bpl = *pixels = (((s->hw->bpl / 3) * res) / half_res) * 3;
3359 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3362 *bpl = s->hw->bpl * res / half_res;
3575 SANE_Int color, pixel, res, half_res, scale;
3580 half_res = SANE_UNFIX (s->hw->dpi_range.max) / 2;
3691 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3699 scale += half_res;
3700 if (scale >= half_res)
3765 && (res > half_res))
3773 scale += half_res;
3774 if (scale >= half_res)
3862 SANE_Int res, half_res, y, x_out, x_in;
3866 half_res = SANE_UNFIX (s->hw->dpi_range.max) / 2;
3869 res, half_res, num_lines, bpl);
3873 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3876 DBG (5, "fix_line_distance_pro: res > half_res --> need to "
3941 if ((s->hw->flags & MUSTEK_FLAG_ENLARGE_X) && (res > half_res))
3943 DBG (5, "fix_line_distance_pro: res > half_res --> need to "
4710 SANE_Int half_res = SANE_UNFIX (s->hw->dpi_range.max) / 2;
4731 res_counter += half_res;
4732 if (res_counter >= half_res)
4751 res_counter += half_res;
4752 if (res_counter >= half_res)