Lines Matching refs:cur_page
330 TeletextPage *cur_page = new_pages + ctx->nb_pages;
332 cur_page->sub_rect = av_mallocz(sizeof(*cur_page->sub_rect));
333 cur_page->pts = ctx->pts;
334 cur_page->pgno = ev->ev.ttx_page.pgno;
335 cur_page->subno = ev->ev.ttx_page.subno;
336 if (cur_page->sub_rect) {
338 gen_sub_bitmap(ctx, cur_page->sub_rect, &page, chop_top) :
339 gen_sub_text (ctx, cur_page->sub_rect, &page, chop_top);
341 av_freep(&cur_page->sub_rect);
344 ctx->pages[ctx->nb_pages++] = *cur_page;