Lines Matching refs:buffer
62 SANE_Int height; /* number of lines in buffer */
68 * All derived quantities pertain to the image, not to the buffer */
72 SANE_Int image_size_bytes; /* total number of bytes in the buffer (= colors * height * line_size_packets* packet_size_bytes) */
81 SANE_Int bytes_read; /* number of bytes read from the buffer */
82 SANE_Int bytes_unread; /* number of bytes not yet read from the buffer */
83 SANE_Int bytes_written; /* number of bytes written to the buffer */
89 void sanei_pieusb_buffer_get(struct Pieusb_Read_Buffer* buffer, SANE_Byte* data, SANE_Int max_len, SANE_Int* len);
90 SANE_Status sanei_pieusb_buffer_create(struct Pieusb_Read_Buffer* buffer, SANE_Int width, SANE_Int height, SANE_Byte colors, SANE_Byte depth);
91 void sanei_pieusb_buffer_delete(struct Pieusb_Read_Buffer* buffer);
92 SANE_Int sanei_pieusb_buffer_put_full_color_line(struct Pieusb_Read_Buffer* buffer, void* line, int size);
93 SANE_Int sanei_pieusb_buffer_put_single_color_line(struct Pieusb_Read_Buffer* buffer, SANE_Byte color, void* line, SANE_Int size);