Lines Matching defs:lines
813 h1 = s->param->h + shifting; /* add lines for color shifting */
818 /* add lines for color shifting */
819 /* otherwise you cannot scan all lines defined for flatbed mode */
822 /* PDBG (pixma_dbg (4, "* send_scan_param: height calc (choose lesser) 2 %u = %u max. lines for scanner + %u lines for color shifting \n", h2, s->cfg->height * s->param->ydpi / 75, shifting )); */
892 * 0x18 | 4 | all | # of scan lines
1291 /* the RGB images are shifted by # of lines */
1610 unsigned c, lines, line_size, n, m, cw, cx, reducelines;
1661 lines = (mp->data_left_ofs - mp->imgbuf) / line_size;
1662 /* PDBG (pixma_dbg (4, "*post_process_image_data***** lines = %i > 2 * mp->color_shift + mp->stripe_shift = %i ***** \n",
1663 lines, 2 * mp->color_shift + mp->stripe_shift)); */
1677 /* have to test if rounding down is OK or not -- currently 0.5 lines is rounded down */
1699 /* PDBG (pixma_dbg (4, "*post_process_image_data: lines %u, reducelines %u \n", lines, reducelines)); */
1700 if (lines > reducelines)
1701 { /* (line - reducelines) of image lines can be converted */
1704 lines -= reducelines;
1706 for (i = 0; i < lines; i++, sptr += line_size)
1707 { /* convert only full image lines */
1822 /* contains shift color data for new lines */
1991 return SANE_STATUS_INVAL; /* no lines */
2000 offsets get mapped onto successive physical lines:
2021 add the offset because it will result in a reduced number of lines