Lines Matching refs:temp_buf
3473 SANE_Byte temp_buf[ARTEC_MAX_READ_SIZE];
3561 status = read_data (s->fd, ARTEC_DATA_IMAGE, temp_buf, &nread);
3573 write (debug_fd, temp_buf, nread);
3582 temp_buf + (line * s->params.bytes_per_line),
3625 artec_line_rgb_to_byte_rgb (temp_buf +
3631 artec_reverse_line (s, temp_buf +
3641 artec_software_rgb_calibrate (s, temp_buf, lread);
3644 memcpy (buf + bytes_read, temp_buf, nread);
3674 static SANE_Byte temp_buf[ARTEC_MAX_READ_SIZE];
3686 status = artec_sane_read (s, temp_buf, s->hw->max_read_size, len);
3705 memcpy (buf, temp_buf, bytes_to_copy);
3714 temp_buf[loop] = temp_buf[loop + bytes_to_copy];