Lines Matching refs:scan_bpl
1156 SANE_Int scan_xs, scan_ys, scan_bpl;
1299 scan_bpl = bits_per_line / 8;
1301 if (scan_bpl % 64) /* impossible */
1303 XDBG ((1, "%s: BUG: unaligned scan_bpl=%d\n", function_name, scan_bpl));
1307 if (scan_bpl > 15600)
1309 XDBG ((6, "%s: scan_bpl=%d, too large\n", function_name, scan_bpl));
1313 XDBG ((6, "%s: scan_bpl=%d\n", function_name, scan_bpl));
1359 req[0x10] = LOBYTE (scan_bpl);
1360 req[0x11] = HIBYTE (scan_bpl);
1406 params->scan_bpl = scan_bpl;
1986 size = reader->params.scan_bpl;
2007 size = reader->params.scan_bpl;
2029 size = reader->params.scan_bpl * 3;
2037 pixel_buffer += reader->params.scan_bpl;
2040 pixel_buffer += reader->params.scan_bpl;
2065 size = reader->params.scan_bpl * 3;
2074 pixel_buffer += reader->params.scan_bpl;
2078 pixel_buffer += reader->params.scan_bpl;
2178 XDBG ((6, "%s: enter params scan_bpl: %i\n", function_name, params->scan_bpl));
2239 scan_bpl_full = reader->params.scan_bpl;
4251 s->line_buffer = (SANE_Byte *) malloc (s->params.scan_bpl * 8);
4255 s->line_buffer = (SANE_Byte *) malloc (s->params.scan_bpl * 4);
4264 s->line_buffer = (SANE_Byte *) malloc (s->params.scan_bpl * 4);
4267 s->line_buffer = (SANE_Byte *) malloc (s->params.scan_bpl * 2);