Lines Matching defs:buffer

134      * that is cut into multiple write callbacks due to limited IO buffer size.
144 * flush the buffer depending on latency or buffering requirements. Typically
178 * The following shows the relationship between buffer, buf_ptr,
190 * buffer buf_ptr buf_end
193 * read buffer: |/ / consumed / | to be read /| |
212 * buffer (buf_ptr) buf_end
215 * write buffer: | / / to be flushed / / | |
227 unsigned char *buffer; /**< Start of the buffer. */
228 int buffer_size; /**< Maximum buffer size */
229 unsigned char *buf_ptr; /**< Current position in the buffer */
231 buffer+buffer_size if the read function returned
239 int64_t pos; /**< position in the file of the current buffer */
244 int min_packet_size; /**< Try to buffer at least this amount of data
267 * instead of going through a buffer, and avio_seek will always
305 * Maximum reached position before a backward seek in the write buffer,
391 * @param buffer Memory block for input/output operations via AVIOContext.
392 * The buffer must be allocated with av_malloc() and friends.
393 * It may be freed and replaced with a new buffer by libavformat.
394 * AVIOContext.buffer holds the buffer currently in use,
396 * @param buffer_size The buffer size is very important for performance.
399 * @param write_flag Set to 1 if the buffer should be writable, 0 otherwise.
401 * @param read_packet A function for refilling the buffer, may be NULL.
404 * @param write_packet A function for writing the buffer contents, may be NULL.
411 unsigned char *buffer,
546 * avio_printf since it does not need a temporary buffer.
555 * without to wait to fill the internal buffer.
652 * instead of going through a buffer, and avio_seek will always
698 * The internal buffer is automatically flushed before closing the
711 * The internal buffer is automatically flushed before closing the
729 * Return the written size and a pointer to the buffer.
731 * The buffer must NOT be freed.
732 * No padding is added to the buffer.
735 * @param pbuffer pointer to a byte buffer
736 * @return the length of the byte buffer
741 * Return the written size and a pointer to the buffer. The buffer
743 * Padding of AV_INPUT_BUFFER_PADDING_SIZE is added to the buffer.
746 * @param pbuffer pointer to a byte buffer
747 * @return the length of the byte buffer
806 * Read contents of h into print buffer, up to max_size bytes, or up to EOF.