Lines Matching defs:offset

116         - increase scan height ~1/2 inch due to head offset
161 - S1300i: fix color plane offset at 225 and 330 dpi (fixes #538)
2257 offset and slope inputs are -127 to +127
2270 offset moves line vertically, and clamps to output range
2289 int slope, int offset)
2309 * out vertical offset at central input value */
2312 /* convert the user offset setting to scale of output
2315 shift += (double)offset / 127 * max_out_val / 2;
2783 /* update the coarsecal payload to use our new dark offset parameters */
2798 DBG(15, "coarsecal_dark offset: parameter front: %i back: %i\n", param[0], param[1]);
2824 DBG(15, "coarsecal_dark offset: average pixel values front: %i back: %i\n", avg[0], avg[1]);
2825 DBG(15, "coarsecal_dark offset: maximum pixel values front: %i back: %i\n", maxval[0], maxval[1]);
2826 DBG(15, "coarsecal_dark offset: 0-valued pixel count front: %f%% back: %f%%\n", zcount[0] / 10.0f, zcount[1] / 10.0f);
3045 /* input is RrGgBb (capital is offset, small is gain) */
3080 *p_out = *p_in++; /* dark offset */
3281 /* set fine dark offset to 0 and fix all fine gains to lowest parameter (0xFF) */
3301 /* set fine dark offset to 0 and fine gain to a fixed higher-gain parameter (0xBF) */
3622 double b, slope, offset;
3657 * out vertical offset at central input value */
3658 offset = height/2 - slope*width/2;
3663 b = ((double)s->brightness/127) * (slope*(width-1) + offset);
3666 s->contrast, slope, offset);
3669 j=slope*i + offset + b;
4325 int offset = col_in%tp->plane_width;
4328 *p_out = *(p_in + offset*3 + step);
4583 int offset = j % 8;
4584 unsigned char mask = 0x80 >> offset;
4607 if (offset == 7)