Lines Matching refs:SANE_Int
57 SANE_Int data_file; /* associated file if memory mapped */
61 SANE_Int width; /* number of pixels on a line */
62 SANE_Int height; /* number of lines in buffer */
63 SANE_Int colors; /* number of colors in a pixel */
64 SANE_Int depth; /* number of bits of a color */
65 SANE_Int packing_density; /* number of single color samples packed together */
69 SANE_Int packet_size_bytes; /* number of bytes of a packet of samples = round_up(depth*packing_density/8) */
70 SANE_Int line_size_packets; /* number of packets on a single color line = round-down((width+packing_density-1)/packing_density) */
71 SANE_Int line_size_bytes; /* number of bytes on a single color line = line_size_packets*packet_size_bytes */
72 SANE_Int image_size_bytes; /* total number of bytes in the buffer (= colors * height * line_size_packets* packet_size_bytes) */
73 SANE_Int color_index_red; /* color index of the red color plane (-1 if not used) */
74 SANE_Int color_index_green; /* color index of the green color plane (-1 if not used) */
75 SANE_Int color_index_blue; /* color index of the blue color plane (-1 if not used) */
76 SANE_Int color_index_infrared; /* color index of the infrared color plane (-1 if not used) */
80 SANE_Int read_index[4]; /* location where to read next (color-index, height-index, width-index, byte-index) */
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);
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);