• Home
  • Raw
  • Download

Lines Matching refs:bidx

455     const int bidx = ctx->buffer_index;  in capture_screen()  local
457 av_bprint_clear(&ctx->buffer[bidx]); in capture_screen()
490 av_bprintf(&ctx->buffer[bidx], "{\\an7}{\\pos(%d,%d)}", x, y); in capture_screen()
581 … av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%s", e_tag, s_tag, c_tag, b_tag, override); in capture_screen()
584 av_bprintf(&ctx->buffer[bidx], "%s%s%s%s\\h", e_tag, s_tag, c_tag, b_tag); in capture_screen()
586 … av_bprintf(&ctx->buffer[bidx], "%s%s%s%s%c", e_tag, s_tag, c_tag, b_tag, row[j]); in capture_screen()
591 av_bprintf(&ctx->buffer[bidx], "\\N"); in capture_screen()
594 if (!av_bprint_is_complete(&ctx->buffer[bidx])) in capture_screen()
596 if (screen->row_used && ctx->buffer[bidx].len >= 2) { in capture_screen()
597 ctx->buffer[bidx].len -= 2; in capture_screen()
598 ctx->buffer[bidx].str[ctx->buffer[bidx].len] = 0; in capture_screen()
848 int bidx = ctx->buffer_index; in decode() local
876 ctx->buffer_index = bidx = !ctx->buffer_index; in decode()
880 if (ctx->buffer[bidx].str[0] || ctx->real_time) { in decode()
881 ff_dlog(ctx, "cdp writing data (%s)\n", ctx->buffer[bidx].str); in decode()
890 …ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_alloc… in decode()
899 bidx = !ctx->buffer_index; in decode()
900 …ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_alloc… in decode()
907 sub->end_display_time = ctx->buffer[bidx].len * 20; in decode()
918 …ret = ff_ass_add_rect2(sub, ctx->buffer[bidx].str, ctx->readorder++, 0, NULL, NULL, &nb_rect_alloc… in decode()