Lines Matching defs:bytes
294 /* write multiple bytes, one at a time (non-bulk) */
317 /* read multiple bytes, one at a time (non-bulk) */
398 /* Bulk read "ks" kilobytes + "remainder" bytes of data, to a buffer if the
404 int bytes = (ks - 1) * 1024 + remainder;
405 int dropdata = ((dest == 0) || (destsize < bytes));
407 if (bytes < 0)
409 DBG (1, "read_bulk_size: invalid size %02x (%d)\n", ks, bytes);
412 if (destsize && (destsize < bytes))
415 destsize, bytes);
416 bytes = destsize;
419 if (bytes == 0)
424 buf = malloc (bytes);
430 read_bulk (fd, 0x00, buf, bytes);
434 return bytes;
616 /* Data coming back is "width" bytes Red data followed by 0x0c,
617 width bytes Green, 0x0c, width bytes Blue, 0x0c, repeat for
701 DBG (6, "%d lines, %d pixels, %d extra bytes\n", line, pixel, level);
871 (8.5 inches) or 2550 300-dpi pixels (7653 bytes).
1162 /* 10-bit gain, 6-bit offset (subtractor) in two bytes */
1199 10-bit gain + 6-bit offset = 2 bytes per pixel, so 10208 bytes */