Lines Matching refs:lines
409 - read_from_scanner() only grabs an even number of lines
411 - round lines down to even number to get even # of total bytes
437 - copy_buffer needs to count lines, or M309[12] cannot duplex
453 - clean up #include lines and copyright
471 - fix infinite loop when scan is an odd number of lines
508 - only set params->lines = -1 when using ald without buffering
856 /* skip empty lines */
1225 DBG (15, " color offset: %d lines\n",s->color_raster_offset);
1239 DBG (15, " duplex offset: %d lines\n",s->duplex_raster_offset);
6787 params->lines = s->u_params.lines;
6795 params->lines = -1;
6820 * so we round to even # of total lines, to ensure last block is even */
6821 params->lines = s->resolution_y * (s->br_y - s->tl_y) / 1200;
6822 params->lines -= params->lines % 2;
6831 params->lines -= params->lines % 8;
6848 params->lines -= params->lines % 8;
6875 DBG(15,"update_params: params: ppl=%d, Bpl=%d, lines=%d\n",
6876 params->pixels_per_line, params->bytes_per_line, params->lines);
6926 DBG(15,"update_u_params: params: ppl=%d, Bpl=%d, lines=%d\n",
6927 params->pixels_per_line, params->bytes_per_line, params->lines);
7157 s->bytes_tot[SIDE_FRONT] = s->s_params.bytes_per_line * s->s_params.lines;
7177 s->bytes_tot[SIDE_BACK] = s->s_params.bytes_per_line * s->s_params.lines;
7569 length = s->s_params.lines * 1200/s->resolution_y;
7571 /* stupid trick. 3091/2 require reading extra lines,
7837 /* stupid trick. 3091/2 require reading extra lines,
7846 DBG(5,"get_pixelsize: Actual length %d -> %d\n", s->s_params.lines, get_PSIZE_paper_l(in));
7847 s->s_params.lines = get_PSIZE_paper_l(in);
7850 s->s_params.lines = get_PSIZE_num_y(in);
7873 s->s_params.pixels_per_line, s->s_params.bytes_per_line, s->s_params.lines );
7877 s->u_params.lines = s->s_params.lines;
8608 /* loop thru all lines in read buffer */
8683 /* so we get even lines, but not on the last block */
8684 /* cause odd number of lines would never finish */
8814 * green is back 8 lines from red at 300 dpi
8815 * blue is back 4 lines from red at 300 dpi.
8826 /* loop thru all lines in read buffer */
8860 * full lines loaded yet, so we may have to lie */
10264 s->bytes_rx[side] = s->s_params.lines * s->s_params.bytes_per_line;