Lines Matching defs:buffer
55 uint8_t *buffer;
179 ctx->buffer = av_realloc(NULL, ctx->buffer_size);
181 if (!ctx->buffer) {
182 av_log(avctx, AV_LOG_ERROR, "Could not allocate encoding buffer\n");
257 uint8_t *next_out = ctx->buffer;
399 temp = av_realloc(ctx->buffer, new_size);
402 ctx->buffer = temp;
404 next_out = ctx->buffer + bytes_written;
416 memcpy(pkt->data, ctx->buffer, bytes_written);
438 av_freep(&ctx->buffer);