Lines Matching refs:lines
130 #define SANE_NAME_TRAILING_LINES_MODE "trailing-lines-mode"
131 #define SANE_TITLE_TRAILING_LINES_MODE SANE_I18N("Filling mode of trailing lines after scan data (ADF)")
134 #define SANE_NAME_TRAILING_LINES_COLOR "trailing-lines-color"
136 #define SANE_DESC_TRAILING_LINES_COLOR SANE_I18N("Color value for trailing lines filling mode 'color'. "\
299 unsigned int *lines,
337 "bytes_per_line: %u, lines: %u, image_size: %u\n",
350 if (lines)
351 *lines = _lines;
1432 (unsigned int *) ¶ms->lines, NULL);
1464 "pixels_per_line: %u, lines: %u, depth: %u\n",
1467 params->lines, params->depth);
1698 unsigned int lines;
1717 lines = size / bytes_per_line;
1720 for (unsigned int i = 0; i < lines; buf += bytes_per_line, ++i)
1819 DBG (DBG_verbose, "Trailing lines mode: line=%u, mode=%d, color=%u\n",
1829 unsigned int n_rest_lines = lines - i;
1837 DBG (DBG_verbose, "ADF between pages: Save n=%u next page lines in buffer.\n", n_rest_lines);
1839 DBG (DBG_verbose, "ADF between pages: Store line %u of %u.\n", i, lines);
1847 /* Copy last line data or corresponding color over trailing lines
1879 unsigned int lines;
1906 lines = size / bytes_per_line;
1924 DBG (DBG_verbose, "Lines %u\n", lines);
1934 for (j = 0; j < lines; ptr += bytes_per_line_limit, buf += bytes_per_line, j++)
2069 DBG (DBG_verbose, "Trailing lines mode: line=%u, mode=%d, color=%u\n",
2079 unsigned int n_rest_lines = lines - j;
2087 DBG (DBG_verbose, "ADF between pages: Save n=%u next page lines in buffer.\n", n_rest_lines);
2089 DBG (DBG_verbose, "ADF between pages: Store line %u of %u.\n", j, lines);
2097 /* Copy last line data or corresponding color over trailing lines
2249 * Fill remaining lines with last-line data.
2351 * Copy at maximum the last n lines from the src buffer to the begin of the dst
2353 * Return number of lines copied.
2368 * buffer1 : Only source buffer. Contains lines scanned before lines in buffer1.
2411 * Append all lines from buffer2 to the end of buffer1 and keep max_lines last
2412 * lines.
2415 * max_lines : Max number of lines in buffer1.
2500 * Align colors by shifting B channel by 48 lines and G channel by 24
2501 * lines.