Home | History | Annotate | Download | only in jpeg

Lines Matching refs:buffer

24 /* Private buffer controller object */
29 /* Color quantization source buffer: this holds output data from
31 * For two-pass color quantization, we need a full-image buffer;
32 * for one-pass operation, a strip buffer is sufficient.
35 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */
36 JDIMENSION strip_height; /* buffer size in rows */
84 * allocate a strip buffer. Use the virtual-array buffer as workspace.
86 if (post->buffer == NULL) {
87 post->buffer = (*cinfo->mem->access_virt_sarray)
121 * Process some data in the one-pass (strip buffer) case.
135 /* Fill the buffer, but not more than what we can dump out in one go. */
143 post->buffer, &num_rows, max_rows);
146 post->buffer, output_buf + *out_row_ctr, (int) num_rows);
167 /* Reposition virtual buffer if at start of strip. */
169 post->buffer = (*cinfo->mem->access_virt_sarray)
178 post->buffer, &post->next_row, post->strip_height);
184 (*cinfo->cquantize->color_quantize) (cinfo, post->buffer + old_next_row,
211 /* Reposition virtual buffer if at start of strip. */
213 post->buffer = (*cinfo->mem->access_virt_sarray)
230 post->buffer + post->next_row, output_buf + *out_row_ctr,
260 post->buffer = NULL; /* flag for no strip buffer */
262 /* Create the quantization buffer, if needed */
264 /* The buffer strip height is max_v_samp_factor, which is typically
283 /* One-pass color quantization: just make a strip buffer. */
284 post->buffer = (*cinfo->mem->alloc_sarray)