Lines Matching refs:buffer

251     AVBPrint buffer[2];
268 av_bprint_init(&ctx->buffer[0], 0, AV_BPRINT_SIZE_UNLIMITED);
269 av_bprint_init(&ctx->buffer[1], 0, AV_BPRINT_SIZE_UNLIMITED);
294 av_bprint_finalize(&ctx->buffer[0], NULL);
295 av_bprint_finalize(&ctx->buffer[1], NULL);
320 av_bprint_clear(&ctx->buffer[0]);
321 av_bprint_clear(&ctx->buffer[1]);
457 av_bprint_clear(&ctx->buffer[bidx]);
490 av_bprintf(&ctx->buffer[bidx], "{\\an7}{\\pos(%d,%d)}", x, y);
581 av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%s", e_tag, s_tag, c_tag, b_tag, override);
584 av_bprintf(&ctx->buffer[bidx], "%s%s%s%s\\h", e_tag, s_tag, c_tag, b_tag);
586 av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%c", e_tag, s_tag, c_tag, b_tag, row[j]);
591 av_bprintf(&ctx->buffer[bidx], "\\N");
594 if (!av_bprint_is_complete(&ctx->buffer[bidx]))
596 if (screen->row_used && ctx->buffer[bidx].len >= 2) {
597 ctx->buffer[bidx].len -= 2;
598 ctx->buffer[bidx].str[ctx->buffer[bidx].len] = 0;
694 // flipping the buffer to active above) as soon as EOC arrives.
880 if (ctx->buffer[bidx].str[0] || ctx->real_time) {
881 ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer[bidx].str);
890 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated);
898 if (!bptr && !ctx->real_time && ctx->buffer[!ctx->buffer_index].str[0]) {
900 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated);
907 sub->end_display_time = ctx->buffer[bidx].len * 20;
918 ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_allocated);