Lines Matching refs:border

1703 	tpg->border.left = 0;  in tpg_calculate_square_border()
1704 tpg->border.width = w; in tpg_calculate_square_border()
1705 tpg->border.top = 0; in tpg_calculate_square_border()
1706 tpg->border.height = h; in tpg_calculate_square_border()
1712 tpg->border.width = ((4 * h) / 3) & ~1; in tpg_calculate_square_border()
1713 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1714 tpg->border.width -= 2; in tpg_calculate_square_border()
1715 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1718 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
1719 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1723 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506; in tpg_calculate_square_border()
1724 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1728 tpg->border.width = ((14 * h) / 9) & ~1; in tpg_calculate_square_border()
1729 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1730 tpg->border.width -= 2; in tpg_calculate_square_border()
1731 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1734 tpg->border.height = ((9 * w) / 14) & ~1; in tpg_calculate_square_border()
1735 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1739 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442; in tpg_calculate_square_border()
1740 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1744 tpg->border.width = ((16 * h) / 9) & ~1; in tpg_calculate_square_border()
1745 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1746 tpg->border.width -= 2; in tpg_calculate_square_border()
1747 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1750 tpg->border.height = ((9 * w) / 16) & ~1; in tpg_calculate_square_border()
1751 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
2291 if (tpg->crop.left < tpg->border.left) { in tpg_fill_params_extras()
2292 left_pillar_width = tpg->border.left - tpg->crop.left; in tpg_fill_params_extras()
2300 tpg->border.left + tpg->border.width) { in tpg_fill_params_extras()
2302 tpg->border.left + tpg->border.width - tpg->crop.left; in tpg_fill_params_extras()
2322 const struct v4l2_rect *b = &tpg->border; in tpg_fill_plane_extras()
2492 (frame_line < tpg->border.top || in tpg_fill_plane_pattern()
2493 frame_line >= tpg->border.top + tpg->border.height)) { in tpg_fill_plane_pattern()