Lines Matching defs:offset

53 /* numbre of ranges for offset */
79 SANE_Int * hor_start, SANE_Int offset,
96 SANE_Int offset,
152 /* offset for odd pixels */
157 /* offset for even pixels */
2283 DBG (2, "sanei_lexmark_low_search_home_bwd: offset=%d\n", i);
2311 SANE_Int * hor_start, SANE_Int offset,
2322 start_600 = 195 - offset;
2326 start_600 = 195 - offset;
2350 start_600 = 268 - offset;
2406 SANE_Int offset,
2416 low_get_start_loc (res, &vert_start, &hor_start, offset, dev);
2627 /* set offset to a safe value */
2865 SANE_Int offset, SANE_Bool calibrated)
2913 offset,
4800 dev->offset.red,
4801 dev->offset.green, dev->offset.blue);
4808 dev->offset.gray,
4809 dev->offset.gray, dev->offset.gray);
5396 /* Not at the end of the line, but byte done. Increment byte offset */
5520 * we scan a dark area with gain minimum to detect offset
5551 /* there are 4 ranges of offset:
5552 00-7F : almost no offset
5557 overall offset is ok
5558 First loop may have such an high offset that scanned data overflow
5570 /* loop on ranges until one fits. Then adjust offset, first loop is
5599 sprintf (title, "offset%02x.pnm", ro);
5612 /* increase gain for fine offset tuning */
5627 write_pnm_file ("offset-final.pnm", pixels, lines, rts88xx_is_color (regs),
5635 dev->offset.red = ro - ra;
5638 dev->offset.green = go - ga;
5639 dev->offset.gray = go - ga;
5642 dev->offset.blue = bo - ba;
5646 dev->offset.red = dev->sensor->offset_fallback;
5647 dev->offset.green = dev->sensor->offset_fallback;
5648 dev->offset.blue = dev->sensor->offset_fallback;
5651 "sanei_lexmark_low_offset_calibration: offset=(0x%02x,0x%02x,0x%02x).\n",
5652 dev->offset.red, dev->offset.green, dev->offset.blue);
5971 /* we put the offset just computed in scanning regs */
5975 dev->offset.red,
5976 dev->offset.green, dev->offset.blue);
5981 dev->offset.gray,
5982 dev->offset.gray, dev->offset.gray);