Lines Matching defs:ch_offset
665 starting with the first one down ch_offset pixels.
670 The first ch_offset lines of data in the output are fudged so that even indexed
673 in the data for the first ch_offset lines. A better way to handle this would be to
674 scan in ch_offset extra lines of data, but I haven't figured out how to do this
689 SANE_Int ch_offset; /* The number of lines to be shifted */
800 if (ps->ch_pos >= ps->ch_line_size * ps->ch_offset)
851 pself->ch_offset = 8;
857 pself->ch_offset = 4;
861 /* We need at least ch_offset+1 lines of buffer in order
862 to shift up ch_offset pixels. */
863 pself->ch_size = pself->ch_line_size * (pself->ch_offset + 1);
925 SANE_Int ch_offset[3];/* offset in cbuf */
992 r = (ps->cb_start + ps->ch_offset[0])%ps->cb_size;
993 g = (ps->cb_start + ps->ch_offset[1])%ps->cb_size;
994 b = (ps->cb_start + ps->ch_offset[2])%ps->cb_size;
1114 pself->ch_offset[ch] =
1122 pself->ch_offset[0], pself->ch_offset[1],pself->ch_offset[2]);