Lines Matching defs:buffer
12 * This file contains the main buffer controller for compression.
13 * The main buffer lies between the pre-processor and the JPEG
22 /* Note: currently, there is no operating mode in which a full-image buffer
30 /* Private buffer controller object */
40 /* If using just a strip buffer, this points to the entire set of buffers
44 JSAMPARRAY buffer[MAX_COMPONENTS];
113 * where we have only a strip buffer.
124 /* Read input data if we haven't filled the main buffer yet */
128 _main->buffer, &_main->rowgroup_ctr,
139 if (! (*cinfo->coef->compress_data) (cinfo, _main->buffer)) {
153 * call suspended; then mark the main buffer empty.
169 * This routine handles all of the modes that use a full-size buffer.
187 _main->buffer[ci] = (*cinfo->mem->access_virt_sarray)
204 _main->buffer, &_main->rowgroup_ctr,
213 if (! (*cinfo->coef->compress_data) (cinfo, _main->buffer)) {
227 * call suspended; then mark the main buffer empty.
235 /* If get here, we are done with this iMCU row. Mark buffer empty. */
245 * Initialize main buffer controller.
261 /* We don't need to create a buffer in raw-data mode. */
265 /* Create the buffer. It holds downsampled data, so each component
288 /* Allocate a strip buffer for each component */
291 _main->buffer[ci] = (*cinfo->mem->alloc_sarray)