Lines Matching refs:buffer
303 Since we use a static temporary buffer, we must make sure that the
304 buffer isn't altered while it is still in use (typically because
306 Therefore the buffer is organized as a ring buffer. If should contain
1622 cis_check_result(SANE_Byte* buffer, int pixel)
1627 if (buffer[i] > maxVal) maxVal = buffer[i];
2084 * I assume that the buffer is read 100 times to allow the lamp to
2673 /* Allocate memory for temporary color buffer */
2678 DBG (2, "cis_drv_start: not enough memory for temporary buffer\n");
2697 DBG (2, "cis_drv_start: not enough memory for calibration buffer\n");
2726 DBG (2, "cis_drv_start: not enough memory for color calib buffer\n");
2785 void cis_drv_read (SANE_Handle hndl, SANE_Byte *buffer)
2794 cis_get_lineart_line(cisdev, buffer);
2798 cis_get_grayscale_line(cisdev, buffer);
2802 cis_get_color_line(cisdev, buffer);