Home
last modified time | relevance | path

Searched refs:bpl (Results 1 - 25 of 44) sorted by relevance

12

/third_party/backends/backend/
H A Dtest-picture.c54 SANE_Word bpl = test_device->bytes_per_line; in init_picture_buffer() local
120 b_size = (size_t) lines * (size_t) bpl; in init_picture_buffer()
132 "%zu bytes, %d bpl, %d ppl, %d lines\n", b_size, bpl, ppl, lines); in init_picture_buffer()
138 for (x = 0; x < bpl; x += increment) in init_picture_buffer()
167 b[line_count * bpl + x] = value; in init_picture_buffer()
189 b[line_count * bpl + x + x1] = value; in init_picture_buffer()
204 b[line_count * bpl + x + x1] = color; in init_picture_buffer()
219 b_size = (size_t) lines * (size_t) bpl; in init_picture_buffer()
232 "%zu bytes, %d bpl, in init_picture_buffer()
[all...]
H A Dmustek.c696 SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, in dev_read_req_enter()
699 *lenp = lines * bpl; in dev_read_req_enter()
708 return sanei_ab306_rdata (s->fd, planes, buf, lines, bpl); in dev_read_req_enter()
717 return mustek_scsi_pp_rdata (s->fd, planes, buf, lines, bpl); in dev_read_req_enter()
737 command[2] = ((lines * bpl) >> 16) & 0xff; in dev_read_req_enter()
738 command[3] = ((lines * bpl) >> 8) & 0xff; in dev_read_req_enter()
739 command[4] = ((lines * bpl) >> 0) & 0xff; in dev_read_req_enter()
2957 scan_size = s->hw->bpl * s->hw->lines / 1024; in do_stop()
3218 get_image_status (Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines) in get_image_status() argument
3257 s->hw->bpl in get_image_status()
695 dev_read_req_enter(Mustek_Scanner * s, SANE_Byte * buf, SANE_Int lines, SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, SANE_Byte * command) dev_read_req_enter() argument
3282 get_window(Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines, SANE_Int * pixels) get_window() argument
3400 fix_line_distance_n_2(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_n_2() argument
3477 fix_line_distance_n_1(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_n_1() argument
3568 fix_line_distance_se(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_se() argument
3858 fix_line_distance_pro(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_pro() argument
3967 fix_line_distance_normal(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_normal() argument
4016 fix_line_distance_block(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out, SANE_Int num_lines_total) fix_line_distance_block() argument
4132 fix_line_distance_none(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_none() argument
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
4835 SANE_Int lines_per_buffer, bpl; reader_process() local
[all...]
H A Dmustek_scsi_pp.c887 mustek_scsi_pp_rdata (int fd, int planes, SANE_Byte * buf, int lines, int bpl) in mustek_scsi_pp_rdata() argument
892 "mustek_scsi_pp_rdata: reading %d lines at %d bpl, %d planes from %d\n", in mustek_scsi_pp_rdata()
893 lines, bpl, planes, fd); in mustek_scsi_pp_rdata()
930 for (j = 0; j < (bpl / 3); j++) in mustek_scsi_pp_rdata()
970 for (j = 0; j < (bpl / 3); j++) in mustek_scsi_pp_rdata()
972 if (sanei_pa4s2_readbyte (fd, &buf[j + (bpl / 3)]) != in mustek_scsi_pp_rdata()
1011 for (j = 0; j < (bpl / 3); j++) in mustek_scsi_pp_rdata()
1013 if (sanei_pa4s2_readbyte (fd, &buf[j + (2 * (bpl / 3))]) != in mustek_scsi_pp_rdata()
1053 for (j = 0; j < bpl; j++) in mustek_scsi_pp_rdata()
1073 buf += bpl; in mustek_scsi_pp_rdata()
[all...]
H A Dcoolscan.c1378 { int bpl; in scan_bytes_per_line() local
1382 bpl=pixels_per_line (s) * 3; in scan_bytes_per_line()
1383 if(s->bits_per_color>8) bpl=bpl*2; in scan_bytes_per_line()
1384 return bpl; in scan_bytes_per_line()
1388 bpl=pixels_per_line (s) * 4; in scan_bytes_per_line()
1389 if(s->bits_per_color>8) bpl=bpl*2; in scan_bytes_per_line()
1390 return bpl; in scan_bytes_per_line()
1398 { int bpl; in write_bytes_per_line() local
2543 unsigned int bpl, linesPerBuf, lineOffset; reader_process() local
[all...]
H A Dmicrotek2.c413 DBG(30,"sane_get_parameters: depth=%d, ppl=%d, bpl=%d\n", in sane_get_parameters()
4641 RII_GET_V300_WIDTHBYTES(ms->bpl, result); in scsi_read_image_info()
4648 RII_GET_WIDTHBYTES(ms->bpl, result); in scsi_read_image_info()
4653 DBG(30, "scsi_read_image_info: ppl=%d, bpl=%d, lines=%d, remain=%d\n", in scsi_read_image_info()
4654 ms->ppl, ms->bpl, ms->src_remaining_lines, ms->remaining_bytes); in scsi_read_image_info()
5537 ms->src_max_lines = MIN( 5000000 / ms->bpl, strip_lines); in prepare_buffers()
5539 ms->src_max_lines = MIN( sanei_scsi_max_request_size / ms->bpl, strip_lines); in prepare_buffers()
5549 ms->src_buffer_size = ms->src_max_lines * ms->bpl; in prepare_buffers()
5559 extra_buf_size = 2 * ms->bpl * mi->ccd_gap in prepare_buffers()
5578 ms->buf.free_lines = ms->src_max_lines + extra_buf_size / ms->bpl; in prepare_buffers()
[all...]
H A Dmustek_scsi_pp.h110 * @param bpl Bytes per line
118 SANE_Byte * buf, int lines, int bpl);
H A Dtamarack.c554 read_data (Tamarack_Scanner *s, SANE_Byte *buf, int lines, int bpl) in read_data() argument
564 nbytes = bpl * lines; in read_data()
826 int lines_per_buffer, bpl; in reader_process() local
852 bpl = s->params.bytes_per_line; in reader_process()
854 lines_per_buffer = sanei_scsi_max_request_size / bpl; 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()
873 status = read_data (s, data, lines_per_buffer, bpl); in reader_process()
882 fwrite (data, lines_per_buffer, bpl, fp); in reader_process()
888 for (i = 0; i < lines_per_buffer * bpl; in reader_process()
[all...]
H A Dma1509.h140 SANE_Int bpl, ppl, lines; member
H A Dcanon_pp.c1142 unsigned int lines, bytes, bpl; in sane_read() local
1221 bpl = cs->scan.width * (cs->vals[OPT_COLOUR_MODE] ? 3 : 1); in sane_read()
1223 bpl = cs->scan.width * (cs->vals[OPT_COLOUR_MODE] ? 6 : 2); in sane_read()
1228 lines = (BUF_MAX * 4 / 5) / bpl; in sane_read()
1240 bytes = lines * bpl; in sane_read()
1290 DBG(10, "sane_read: bpl=%d, lines=%d, bytes=%d\n", bpl, lines, bytes); in sane_read()
H A Dpieusb_specific.c1747 SANE_Int bpl = shading_width*2; in pieusb_calculate_shading() local
1751 if (buffer_put_single_color_line(&shading, *lboff, lboff+2, bpl) == 0) { in pieusb_calculate_shading()
1754 lboff += (bpl + 2); in pieusb_calculate_shading()
2191 SANE_Int ppl, bpl; in sanei_pieusb_get_scan_data() local
2223 bpl = parameter_bytes; in sanei_pieusb_get_scan_data()
2226 bpl = parameter_bytes + 2; /* Index bytes! */ in sanei_pieusb_get_scan_data()
2233 DBG(DBG_info_sane, "sanei_pieusb_get_scan_data(): reading lines: now %d, bytes per line = %d\n", lines, bpl); in sanei_pieusb_get_scan_data()
2234 linebuf = malloc(lines * bpl); in sanei_pieusb_get_scan_data()
2235 sanei_pieusb_cmd_get_scanned_lines(scanner->device_number, linebuf, lines, lines * bpl, &status); in sanei_pieusb_get_scan_data()
2244 wcnt = write(fdraw,linebuf,parameters.lines*bpl); in sanei_pieusb_get_scan_data()
[all...]
H A Ds9036.c239 get_read_sizes (int fd, int *lines_available, int *bpl, int *total_lines) in get_read_sizes() argument
266 *bpl = result[12] * 256 + result[13]; in get_read_sizes()
272 *lines_available, total_lines ? *total_lines : -1, *bpl); in get_read_sizes()
454 int bpl = s->params.bytes_per_line; in read_more_data() local
472 lines_read = s->bufsize / bpl; in read_more_data()
H A Dagfafocus.c363 get_read_sizes (int fd, int *lines_available, int *bpl, int *total_lines) in get_read_sizes() argument
396 *bpl = get_size (read_sizes.cur_line, 2); in get_read_sizes()
402 *lines_available, total_lines ? *total_lines : -1, *bpl); in get_read_sizes()
743 read_data (AgfaFocus_Scanner * s, SANE_Byte *buf, int lines, int bpl) in read_data() argument
762 size = lines * bpl; in read_data()
772 if (size != ((unsigned int) lines * bpl)) in read_data()
775 (u_long) size, lines * bpl); in read_data()
H A Dmustek.h219 SANE_Int bpl, lines; member
H A Dmicrotek.h225 size_t bpl; /* bytes per line */ member
302 SANE_Parameters params; /* format, lastframe, lines, depth, ppl, bpl */
/third_party/cups-filters/filter/
H A Drastertopdf.cpp943 int prepare_pdf_page(struct pdf_info * info, unsigned width, unsigned height, unsigned bpl, in prepare_pdf_page() argument
961 info->line_bytes = bpl; in prepare_pdf_page()
1091 unsigned height, int bpp, int bpc, int bpl, std::string render_intent, in add_pdf_page()
1097 prepare_pdf_page(info, width, height, bpl, bpp, in add_pdf_page()
1195 int bpp, int bpl, struct pdf_info * info) in convert_raster()
1202 PixelBuffer = (unsigned char *)malloc(bpl); in convert_raster()
1208 cupsRasterReadPixels(ras, PixelBuffer, bpl); in convert_raster()
1216 for (i = bpl, ptr = PixelBuffer; i > 0; i -= 2, ptr += 2) in convert_raster()
1226 bit_function(PixelBuffer, ptr, bpl); in convert_raster()
1090 add_pdf_page(struct pdf_info * info, int pagen, unsigned width, unsigned height, int bpp, int bpc, int bpl, std::string render_intent, cups_cspace_t color_space, unsigned xdpi, unsigned ydpi) add_pdf_page() argument
1194 convert_raster(cups_raster_t *ras, unsigned width, unsigned height, int bpp, int bpl, struct pdf_info * info) convert_raster() argument
/third_party/backends/include/sane/
H A Dsanei_ab306.h54 SANE_Byte *buf, int lines, int bpl);
/third_party/backends/sanei/
H A Dsanei_ab306.c430 every one has <bpl> bytes. */
432 sanei_ab306_rdata (int fd, int planes, SANE_Byte * buf, int lines, int bpl) in sanei_ab306_rdata() argument
448 xmax = bpl / planes; in sanei_ab306_rdata()
551 sanei_ab306_rdata (int fd, int planes, SANE_Byte *buf, int lines, int bpl) in sanei_ab306_rdata() argument
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/rc4/
H A Drc4-md5-x86_64.s34 movb -8(%rdi),%bpl
37 incb %bpl
627 addb $32,%bpl
1204 addb $32,%bpl
1225 movb %sil,%bpl
1253 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/rc4/
H A Drc4-md5-x86_64.s34 movb -8(%rdi),%bpl
37 incb %bpl
627 addb $32,%bpl
1204 addb $32,%bpl
1225 movb %sil,%bpl
1253 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/BSD-x86_64/asm_avx2/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm_avx2/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/linux-x86_64/asm/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl
/third_party/node/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/crypto/rc4/
H A Drc4-md5-x86_64.s40 movb -8(%rdi),%bpl
43 incb %bpl
633 addb $32,%bpl
1210 addb $32,%bpl
1231 movb %sil,%bpl
1259 subb $1,%bpl

Completed in 37 milliseconds

12