Lines Matching defs:buffer
33 JOCTET *buffer; /* start of buffer */
53 * but we don't clear the input buffer.
69 * Fill the input buffer --- called whenever buffer is emptied.
71 * In typical applications, this should read fresh data into the buffer
73 * reset the pointer & count to the start of the buffer, and return TRUE
74 * indicating that the buffer has been reloaded. It is not necessary to
75 * fill the buffer entirely, only to obtain at least one more byte.
79 * the buffer. In most cases, generating a warning message and inserting a
90 * decompression after it has loaded more data into the input buffer. Note
98 * the front of the buffer rather than discarding it.
107 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE);
114 src->buffer[0] = (JOCTET) 0xFF;
115 src->buffer[1] = (JOCTET) JPEG_EOI;
119 src->pub.next_input_byte = src->buffer;
135 * buffer, so any request for more data beyond the given buffer size
156 * beyond the data currently in the buffer, the buffer can be marked empty so
159 * buffer is the application writer's problem.
221 /* The source object and input buffer are made permanent so that a series
223 * only before the first one. (If we discarded the buffer at the end of
231 src->buffer = (JOCTET *)
252 src->pub.next_input_byte = NULL; /* until buffer loaded */
258 * Prepare for input from a supplied memory buffer.
259 * The buffer must contain the whole JPEG data.
272 * can be read from the same buffer by calling jpeg_mem_src only before