Home
last modified time | relevance | path

Searched refs:lines_per_buffer (Results 1 - 3 of 3) sorted by relevance

/third_party/backends/backend/
H A Dtamarack.c826 int lines_per_buffer, bpl; in reader_process() local
854 lines_per_buffer = sanei_scsi_max_request_size / bpl; in reader_process()
855 if (!lines_per_buffer) in reader_process()
860 if (lines_per_buffer > SANE_UNFIX (s->val[OPT_RESOLUTION].w)) in reader_process()
861 lines_per_buffer = SANE_UNFIX (s->val[OPT_RESOLUTION].w); in reader_process()
863 DBG(3, "lines_per_buffer=%d, bytes_per_line=%d\n", lines_per_buffer, bpl); in reader_process()
865 data = malloc (lines_per_buffer * bpl); in reader_process()
867 for (s->line = 0; s->line < s->params.lines; s->line += lines_per_buffer) { in reader_process()
868 if (s->line + lines_per_buffer > in reader_process()
[all...]
H A Dmustek.c4633 SANE_Byte * data, SANE_Int lines_per_buffer, SANE_Int bpl, in output_data()
4640 (void *) data, lines_per_buffer, bpl, (void *) extra); in output_data()
4646 num_lines = lines_per_buffer; in output_data()
4703 DBG (5, "output_data: write %d lpb; %d bpl\n", lines_per_buffer, bpl); in output_data()
4718 for (y = 0; y < lines_per_buffer; y++) in output_data()
4770 ptr_end = ptr + lines_per_buffer * bpl; in output_data()
4800 for (line_number = 0; line_number < lines_per_buffer; in output_data()
4811 fwrite (data, lines_per_buffer, bpl, fp); in output_data()
4835 SANE_Int lines_per_buffer, bpl; in reader_process() local
4893 lines_per_buffer in reader_process()
4632 output_data(Mustek_Scanner * s, FILE * fp, SANE_Byte * data, SANE_Int lines_per_buffer, SANE_Int bpl, SANE_Byte * extra) output_data() argument
[all...]
H A Dagfafocus.c1792 int lines_per_buffer; in reader_process() local
1836 lines_per_buffer = sanei_scsi_max_request_size / bytes_per_line; in reader_process()
1837 if (!lines_per_buffer) in reader_process()
1843 data = malloc (lines_per_buffer * bytes_per_line); in reader_process()
1846 DBG (1, "open malloc(%lu) failed.\n", (u_long) lines_per_buffer * bytes_per_line); in reader_process()
1854 int lines = lines_per_buffer; in reader_process()

Completed in 10 milliseconds