Home
last modified time | relevance | path

Searched refs:pix_aspect (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/media/tpg/
Dv4l2-tpg.h183 enum tpg_pixel_aspect pix_aspect; member
565 enum tpg_pixel_aspect pix_aspect) in tpg_s_pixel_aspect() argument
567 if (tpg->pix_aspect == pix_aspect) in tpg_s_pixel_aspect()
569 tpg->pix_aspect = pix_aspect; in tpg_s_pixel_aspect()
/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1697 if (tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC) in tpg_calculate_square_border()
1699 else if (tpg->pix_aspect == TPG_PIXEL_ASPECT_PAL) in tpg_calculate_square_border()
1709 if (tpg->pix_aspect) in tpg_calculate_square_border()
1722 if (tpg->pix_aspect) { in tpg_calculate_square_border()
1723 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506; in tpg_calculate_square_border()
1738 if (tpg->pix_aspect) { in tpg_calculate_square_border()
1739 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442; in tpg_calculate_square_border()