Lines Matching defs:byte
49 typedef SANE_Byte byte;
99 /* Write single byte to CP2155 register */
101 cp2155_set (int fd, CP2155_Register reg, byte data)
104 byte cmd_buffer[5];
133 /* Read single byte from CP2155 register */
135 cp2155_get (int fd, CP2155_Register reg, byte * data)
138 byte cmd_buffer[4];
169 cp2155_read (int fd, byte * data, size_t size)
172 byte cmd_buffer[4];
204 cp2155_write_gamma_block (int fd, unsigned int addr, byte * data)
206 byte value_71 = 0x16;
214 byte pgLO = (count) & 0xff;
215 byte pgHI = (count >> 8) & 0xff;
2269 byte value;
2328 byte value;
2395 byte value;
2702 byte value;
2725 byte value;
2755 static byte linebuf[0x40000];
2756 byte readbuf[0xf000];
2767 byte *srcptr = readbuf;
2768 static byte *dstptr = linebuf;
2769 byte *endptr = linebuf + 3 * width; /* Red line + Green line + Blue line */
2774 static byte slot = 0;
2818 /* Contorsions to convert data from line-by-line RGB to byte-by-byte RGB,
2826 *dstptr = (byte) * srcptr;
2860 data[offset + lineelement] = (byte) grayvalue;
2868 if ((byte) grayvalue <