Lines Matching refs:buffer
8 * This file contains the main buffer controller for compression.
9 * The main buffer lies between the pre-processor and the JPEG
18 /* Note: currently, there is no operating mode in which a full-image buffer
26 /* Private buffer controller object */
36 /* If using just a strip buffer, this points to the entire set of buffers
40 JSAMPARRAY buffer[MAX_COMPONENTS];
109 * where we have only a strip buffer.
120 /* Read input data if we haven't filled the main buffer yet */
124 main->buffer, &main->rowgroup_ctr,
135 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) {
149 * call suspended; then mark the main buffer empty.
165 * This routine handles all of the modes that use a full-size buffer.
183 main->buffer[ci] = (*cinfo->mem->access_virt_sarray)
200 main->buffer, &main->rowgroup_ctr,
209 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) {
223 * call suspended; then mark the main buffer empty.
231 /* If get here, we are done with this iMCU row. Mark buffer empty. */
241 * Initialize main buffer controller.
257 /* We don't need to create a buffer in raw-data mode. */
261 /* Create the buffer. It holds downsampled data, so each component
284 /* Allocate a strip buffer for each component */
287 main->buffer[ci] = (*cinfo->mem->alloc_sarray)