Lines Matching refs:border
1386 tpg->border.left = 0; in tpg_calculate_square_border()
1387 tpg->border.width = w; in tpg_calculate_square_border()
1388 tpg->border.top = 0; in tpg_calculate_square_border()
1389 tpg->border.height = h; in tpg_calculate_square_border()
1395 tpg->border.width = ((4 * h) / 3) & ~1; in tpg_calculate_square_border()
1396 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1397 tpg->border.width -= 2; in tpg_calculate_square_border()
1398 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1401 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
1402 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1406 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506; in tpg_calculate_square_border()
1407 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1411 tpg->border.width = ((14 * h) / 9) & ~1; in tpg_calculate_square_border()
1412 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1413 tpg->border.width -= 2; in tpg_calculate_square_border()
1414 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1417 tpg->border.height = ((9 * w) / 14) & ~1; in tpg_calculate_square_border()
1418 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1422 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442; in tpg_calculate_square_border()
1423 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1427 tpg->border.width = ((16 * h) / 9) & ~1; in tpg_calculate_square_border()
1428 if (((w - tpg->border.width) / 2) & ~1) in tpg_calculate_square_border()
1429 tpg->border.width -= 2; in tpg_calculate_square_border()
1430 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border()
1433 tpg->border.height = ((9 * w) / 16) & ~1; in tpg_calculate_square_border()
1434 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
1920 if (tpg->crop.left < tpg->border.left) { in tpg_fill_params_extras()
1921 left_pillar_width = tpg->border.left - tpg->crop.left; in tpg_fill_params_extras()
1929 tpg->border.left + tpg->border.width) { in tpg_fill_params_extras()
1931 tpg->border.left + tpg->border.width - tpg->crop.left; in tpg_fill_params_extras()
1951 const struct v4l2_rect *b = &tpg->border; in tpg_fill_plane_extras()
2083 (frame_line < tpg->border.top || in tpg_fill_plane_pattern()
2084 frame_line >= tpg->border.top + tpg->border.height)) { in tpg_fill_plane_pattern()