Lines Matching defs:byte
4015 /* two pixels per byte are transferred from the scanner, but only one */
4016 /* pixel per byte is transferred to the frontend. */
4468 uint32_t byte;
4499 for ( byte = 0; byte < ms->n_control_bytes; byte++ )
4503 if ( (ms->control_bytes[byte] >> bit) & 0x01 )
4770 We say we are going to try to read 1 byte of data (as recommended
4774 length read. However, we do not actually try to read this byte of
4776 IOW the SCSI command says we are going to read 1 byte, but in fact
5882 uint32_t byte;
5965 byte = ( lfd_bit + md->controlbit_offset ) / 8;
5969 flag = ((ms->control_bytes[byte] >> bit) & 0x01);
5971 flag = ((ms->control_bytes[byte] >> (7 - bit)) & 0x01);
5973 if ( flag == 1 ) /* flag==1 if byte's bit is set */
6767 /* low byte is transferred (ms->word = 0) */
7064 /* all have tables with two byte gamma output, so for now we ignore */
7065 /* gamma tables with one byte output */
7073 int byte;
7087 DBG(1, "set_exposure: 1 byte gamma output tables currently ignored\n");
7109 for ( byte = 0; byte < ms->lut_size; byte++ )
7113 val32 = (uint32_t) *((uint16_t *) from + color * size + byte);
7116 *((uint16_t *) from + color * size + byte) = (uint16_t) val32;
7127 for ( byte = 0; byte < size; byte++ )
7129 val32 = (uint32_t) *((uint16_t *) from + color * size + byte);
7133 *((uint16_t *) from + color * size + byte) = (uint16_t) val32;
7412 /* take a trailing junk byte into account */
7491 /* skip a padding byte at the end, if present */
7541 float s_w, s_d; /* shading byte from condensed_shading */
8103 uint32_t byte;
8132 /* bit sequence. We copy 8 bits into a byte, but these bits */
8133 /* are normally not byte aligned. */
8137 byte = ( ppl + 7 ) / 8 - 1;
8144 to |= ( ( from[byte] >> (7 - bit) ) & 0x01);
8159 --byte;
8163 /* print the last byte of the line, if it was not */
8170 for ( byte = 0; byte < bytes_to_copy; byte++ )
8171 fputc( (char) ~from[byte], ms->fp);
8375 /* condensed shading is 2 byte color data */