Lines Matching defs:buf_size
117 const uint8_t *buf, int buf_size,
140 if (buf_size == 0) {
144 } else if (s->cur_offset + buf_size != s->cur_frame_end[s->cur_frame_start_index]) { /* skip remainder packets */
149 s->cur_frame_end[i] = s->cur_offset + buf_size;
164 poutbuf_size, buf, buf_size);
200 const uint8_t **buf, int *buf_size)
213 if (next > *buf_size)
217 if (!*buf_size && next == END_NOT_FOUND)
225 *buf_size + pc->index +
229 av_log(NULL, AV_LOG_ERROR, "Failed to reallocate parser buffer to %d\n", *buf_size + pc->index + AV_INPUT_BUFFER_PADDING_SIZE);
234 memcpy(&pc->buffer[pc->index], *buf, *buf_size);
235 memset(&pc->buffer[pc->index + *buf_size], 0, AV_INPUT_BUFFER_PADDING_SIZE);
236 pc->index += *buf_size;
242 *buf_size =