Lines Matching refs:cur_page
542 TeletextPage *cur_page = new_pages + ctx->nb_pages;
544 cur_page->sub_rect = av_mallocz(sizeof(*cur_page->sub_rect));
545 cur_page->pts = ctx->pts;
546 cur_page->pgno = ev->ev.ttx_page.pgno;
547 cur_page->subno = ev->ev.ttx_page.subno;
548 if (cur_page->sub_rect) {
551 res = gen_sub_bitmap(ctx, cur_page->sub_rect, &page, chop_top);
554 res = gen_sub_text(ctx, cur_page->sub_rect, &page, chop_top);
557 res = gen_sub_ass(ctx, cur_page->sub_rect, &page, chop_top);
564 av_freep(&cur_page->sub_rect);
567 ctx->pages[ctx->nb_pages++] = *cur_page;