Lines Matching defs:front
1159 {2.5, -6.0}, /* front-only scan */
2300 ADDITIONAL_SENSE (0x81,0x00, "ADF/MFP front door open"; status = SANE_STATUS_COVER_OPEN);
3040 which applies to both, front and rear. The difference needs to be cut
3046 mm_offset front;
3054 overscan = fmax(0, fmax(dev->hw->offset.duplex.front.top,
3057 offsets.front.top += overscan - dev->hw->offset.duplex.front.top;
3062 overscan = fmax(0, fmax(dev->hw->offset.duplex.front.bottom,
3065 offsets.front.bottom += overscan - dev->hw->offset.duplex.front.bottom;
3076 - skip bottom lines at page n=0, front and rear
3077 - skip top lines at page n>0, front and rear
3080 offsets.front.bottom += dev->hw->offset.first;
3083 offsets.front.top += dev->hw->offset.first;
3090 - skip top lines at page n=0, front and rear
3091 - skip bottom lines at page n>0, front and rear
3094 offsets.front.top += fabs(dev->hw->offset.first);
3097 offsets.front.bottom += fabs(dev->hw->offset.first);
3106 s->avdimen.offset.front.top = (int) ( offsets.front.top * s->avdimen.yres / MM_PER_INCH );
3107 s->avdimen.offset.front.bottom = (int) ( offsets.front.bottom * s->avdimen.yres / MM_PER_INCH );
3114 DBG (1, "sane_compute_parameters: front offset: top: %d!\n",
3115 s->avdimen.offset.front.top);
3116 DBG (1, "sane_compute_parameters: front offset: bottom: %d!\n",
3117 s->avdimen.offset.front.bottom);
3124 /* ADF front scan */
3130 if (dev->hw->offset.front.top < 0)
3131 offsets.top += fabs(dev->hw->offset.front.top);
3133 bry_offset += dev->hw->offset.front.top;
3136 if (dev->hw->offset.front.bottom < 0)
3137 offsets.bottom += fabs(dev->hw->offset.front.bottom);
3139 bry_offset += dev->hw->offset.front.bottom;
3172 s->avdimen.offset.front.top = (int) ( offsets.top * s->avdimen.yres / MM_PER_INCH );
3173 s->avdimen.offset.front.bottom = (int) ( offsets.bottom * s->avdimen.yres / MM_PER_INCH );
3178 DBG (1, "sane_compute_parameters: front offset: top: %d!\n",
3179 s->avdimen.offset.front.top);
3180 DBG (1, "sane_compute_parameters: front offset: bottom: %d!\n",
3181 s->avdimen.offset.front.bottom);
3184 s->avdimen.offset.front.top = 0;
3185 s->avdimen.offset.front.bottom = 0;
5003 offset += fmax(0, fmax(dev->hw->offset.duplex.front.top,
5006 offset += fmax(0, dev->hw->offset.front.top);
5041 offset += fmax(0, fmax(dev->hw->offset.duplex.front.bottom,
5044 offset += fmax(0, dev->hw->offset.front.bottom);
6502 /* full width, always :-(, duplex *2 for front and rear */
6526 at least get a correct front raster out of them is to read it
6527 line by line and then every second line appears to be valid front
7618 /* layout out_data so that the interpolation history is exactly in front */
8022 DBG (7, "reader_process: skip due past intended front page lines: %d\n", sy);
8197 if ( (!s->duplex_rear_valid && (line < s->avdimen.offset.front.top)) ||
8203 if ( (!s->duplex_rear_valid && (line > (lines - s->avdimen.offset.front.bottom))) ||
8240 /* front page of flipping duplex */
8675 dev->hw->offset.front.top != 0 ||
8676 dev->hw->offset.front.bottom != 0 ||
8677 dev->hw->offset.duplex.front.top != 0 ||
8678 dev->hw->offset.duplex.front.bottom != 0 ||