Lines Matching defs:bpl
1747 SANE_Int bpl = shading_width*2;
1751 if (buffer_put_single_color_line(&shading, *lboff, lboff+2, bpl) == 0) {
1754 lboff += (bpl + 2);
2191 SANE_Int ppl, bpl;
2223 bpl = parameter_bytes;
2226 bpl = parameter_bytes + 2; /* Index bytes! */
2233 DBG(DBG_info_sane, "sanei_pieusb_get_scan_data(): reading lines: now %d, bytes per line = %d\n", lines, bpl);
2234 linebuf = malloc(lines * bpl);
2235 sanei_pieusb_cmd_get_scanned_lines(scanner->device_number, linebuf, lines, lines * bpl, &status);
2244 wcnt = write(fdraw,linebuf,parameters.lines*bpl);
2260 && (bpl * scanner->buffer.packing_density / ppl) == (3 * scanner->buffer.packet_size_bytes)) {
2273 if (sanei_pieusb_buffer_put_full_color_line(&scanner->buffer, lboff, bpl/3) == 0) {
2277 lboff += bpl;
2283 if (sanei_pieusb_buffer_put_single_color_line(&scanner->buffer, *lboff, lboff+2, bpl-2) == 0) {
2287 lboff += bpl;