• Home
  • Raw
  • Download

Lines Matching refs:bidx

453     const int bidx = ctx->buffer_index;  in capture_screen()  local
455 av_bprint_clear(&ctx->buffer[bidx]); in capture_screen()
488 av_bprintf(&ctx->buffer[bidx], "{\\an7}{\\pos(%d,%d)}", x, y); in capture_screen()
579 … av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%s", e_tag, s_tag, c_tag, b_tag, override); in capture_screen()
582 av_bprintf(&ctx->buffer[bidx], "%s%s%s%s\\h", e_tag, s_tag, c_tag, b_tag); in capture_screen()
584 … av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%c", e_tag, s_tag, c_tag, b_tag, row[j]); in capture_screen()
589 av_bprintf(&ctx->buffer[bidx], "\\N"); in capture_screen()
592 if (!av_bprint_is_complete(&ctx->buffer[bidx])) in capture_screen()
594 if (screen->row_used && ctx->buffer[bidx].len >= 2) { in capture_screen()
595 ctx->buffer[bidx].len -= 2; in capture_screen()
596 ctx->buffer[bidx].str[ctx->buffer[bidx].len] = 0; in capture_screen()
846 int bidx = ctx->buffer_index; in decode() local
873 ctx->buffer_index = bidx = !ctx->buffer_index; in decode()
877 if (ctx->buffer[bidx].str[0] || ctx->real_time) { in decode()
878 ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer[bidx].str); in decode()
887 ret = ff_ass_add_rect(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL); in decode()
896 bidx = !ctx->buffer_index; in decode()
897 ret = ff_ass_add_rect(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL); in decode()
904 sub->end_display_time = ctx->buffer[bidx].len * 20; in decode()
915 ret = ff_ass_add_rect(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL); in decode()