Lines Matching refs:border
1697 tpg->border.left = 0; in tpg_calculate_square_border()
1698 tpg->border.width = w; in tpg_calculate_square_border()
1699 tpg->border.top = 0; in tpg_calculate_square_border()
1700 tpg->border.height = h; in tpg_calculate_square_border()
1706 tpg->border.width = ((4 * h) / 3) & ~1; in tpg_calculate_square_border()
1707 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1708 tpg->border.width -= 2; in tpg_calculate_square_border()
1709 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1712 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
1713 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1717 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506; in tpg_calculate_square_border()
1718 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1722 tpg->border.width = ((14 * h) / 9) & ~1; in tpg_calculate_square_border()
1723 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1724 tpg->border.width -= 2; in tpg_calculate_square_border()
1725 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1728 tpg->border.height = ((9 * w) / 14) & ~1; in tpg_calculate_square_border()
1729 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1733 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442; in tpg_calculate_square_border()
1734 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1738 tpg->border.width = ((16 * h) / 9) & ~1; in tpg_calculate_square_border()
1739 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1740 tpg->border.width -= 2; in tpg_calculate_square_border()
1741 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1744 tpg->border.height = ((9 * w) / 16) & ~1; in tpg_calculate_square_border()
1745 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
2259 if (tpg->crop.left < tpg->border.left) { in tpg_fill_params_extras()
2260 left_pillar_width = tpg->border.left - tpg->crop.left; in tpg_fill_params_extras()
2268 tpg->border.left + tpg->border.width) { in tpg_fill_params_extras()
2270 tpg->border.left + tpg->border.width - tpg->crop.left; in tpg_fill_params_extras()
2290 const struct v4l2_rect *b = &tpg->border; in tpg_fill_plane_extras()
2422 (frame_line < tpg->border.top || in tpg_fill_plane_pattern()
2423 frame_line >= tpg->border.top + tpg->border.height)) { in tpg_fill_plane_pattern()