Lines Matching refs:buffer
166 /* check if buffer is already large enough */
180 /* if there is already data in the buffer and the sample format is planar,
181 allocate a new buffer and copy the data, otherwise just realloc the
182 internal buffer and set new data pointers */
194 av_freep(&a->buffer);
196 a->buffer = a->data[0];
198 av_freep(&a->buffer);
199 a->buffer = av_malloc(new_buf_size);
200 if (!a->buffer)
202 ret = av_samples_fill_arrays(a->data, &plane_size, a->buffer,
221 av_free((*a)->buffer);
289 /* validate offsets are within the buffer bounds */
337 /* drain the whole buffer */