Searched refs:IMAGE_BLOCK_SIZE (Results 1 - 5 of 5) sorted by relevance
/third_party/backends/backend/pixma/ |
H A D | pixma_mp750.c | 66 #define IMAGE_BLOCK_SIZE 0xc000 macro 152 while (pixma_read (s->io, mp->buf, IMAGE_BLOCK_SIZE) >= 0); in drain_bulk_in() 320 count = pixma_read (s->io, data, IMAGE_BLOCK_SIZE); in read_image_block() 323 if (count == IMAGE_BLOCK_SIZE) in read_image_block() 660 size = 8 + 2 * IMAGE_BLOCK_SIZE + spare * mp->line_size; in mp750_scan() 667 mp->imgcol = mp->rawimg + IMAGE_BLOCK_SIZE + 8; /* added to make rgb->gray */ in mp750_scan() 668 mp->img = mp->rawimg + IMAGE_BLOCK_SIZE + 8; in mp750_scan() 669 mp->imgbuf_len = IMAGE_BLOCK_SIZE + mp->imgbuf_ofs; in mp750_scan() 793 /*SIM*/ block_size = IMAGE_BLOCK_SIZE; in mp750_fill_buffer()
|
H A D | pixma_mp730.c | 61 #define IMAGE_BLOCK_SIZE (0xc000) macro 140 while (pixma_read (s->io, mp->imgbuf, IMAGE_BLOCK_SIZE) >= 0); in drain_bulk_in() 252 { 0xd4, 0x20, 0, 0, 0, 0, 0, IMAGE_BLOCK_SIZE / 256, 4, 0 }; in read_image_block() 272 error = pixma_read (s->io, data, IMAGE_BLOCK_SIZE - 512 + hlen); in read_image_block() 631 n = IMAGE_BLOCK_SIZE / s->param->line_size + 1; in mp730_scan() 632 buf = (uint8_t *) malloc ((n + 1) * s->param->line_size + IMAGE_BLOCK_SIZE); in mp730_scan()
|
H A D | pixma_imageclass.c | 65 #define IMAGE_BLOCK_SIZE (0x80000) macro 656 n = IMAGE_BLOCK_SIZE / s->param->line_size + 1; in iclass_scan() 657 buf_len = (n + 1) * s->param->line_size + IMAGE_BLOCK_SIZE; in iclass_scan()
|
H A D | pixma_mp150.c | 84 #define IMAGE_BLOCK_SIZE (512*1024) macro 564 while (pixma_read (s->io, mp->imgbuf, IMAGE_BLOCK_SIZE) >= 0); in drain_bulk_in() 861 pixma_set_be32 ((IMAGE_BLOCK_SIZE / 65536) * 65536 + 8, cmd + 0xc); in read_image_block() 881 error = pixma_read (s->io, data, IMAGE_BLOCK_SIZE - 512 + hlen); in read_image_block() 1255 buf = (uint8_t *) malloc (CMDBUF_SIZE + IMAGE_BLOCK_SIZE); in mp150_open() 1573 CMDBUF_SIZE + IMAGE_BLOCK_SIZE + proc_buf_size); in mp150_fill_buffer()
|
H A D | pixma_mp800.c | 90 #define IMAGE_BLOCK_SIZE (512*1024) macro 364 while (pixma_read (s->io, mp->imgbuf, IMAGE_BLOCK_SIZE) >= 0) in drain_bulk_in() 1089 pixma_set_be32 ((IMAGE_BLOCK_SIZE / 65536) * 65536 + 8, cmd + 0xc); in read_image_block() 1109 error = pixma_read (s->io, data, IMAGE_BLOCK_SIZE - 512 + hlen); in read_image_block() 1835 buf = (uint8_t *) malloc (CMDBUF_SIZE + IMAGE_BLOCK_SIZE); in mp810_open() 2265 mp->cb.buf = realloc (mp->cb.buf, CMDBUF_SIZE + IMAGE_BLOCK_SIZE + proc_buf_size); in mp810_fill_buffer()
|
Completed in 12 milliseconds