Lines Matching defs:chop_top
57 int chop_top;
127 static int gen_sub_text(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top)
139 0, chop_top,
140 page->columns, page->rows-chop_top);
194 int chop_top, uint8_t transparent_color, int resx, int resy)
201 vbi_char *vc = page->text + (iy / BITMAP_CHAR_HEIGHT + chop_top) * page->columns;
225 static int gen_sub_bitmap(TeletextContext *ctx, AVSubtitleRect *sub_rect, vbi_page *page, int chop_top)
228 int resy = (page->rows - chop_top) * BITMAP_CHAR_HEIGHT;
231 vbi_char *vc = page->text + (chop_top * page->columns);
254 0, chop_top, page->columns, page->rows - chop_top,
257 fix_transparency(ctx, sub_rect, page, chop_top, cmax, resx, resy);
259 sub_rect->y = ctx->y_offset + chop_top * BITMAP_CHAR_HEIGHT;
292 int chop_top;
322 chop_top = ctx->chop_top ||
326 page.columns, page.rows, chop_top);
338 gen_sub_bitmap(ctx, cur_page->sub_rect, &page, chop_top) :
339 gen_sub_text (ctx, cur_page->sub_rect, &page, chop_top);
539 {"txt_chop_top", "discards the top teletext line", OFFSET(chop_top), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, SD},