Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1676 unsigned sq_w, sq_h; in tpg_calculate_square_border() local
1678 sq_w = (w * 2 / 5) & ~1; in tpg_calculate_square_border()
1679 if (((w - sq_w) / 2) & 1) in tpg_calculate_square_border()
1680 sq_w += 2; in tpg_calculate_square_border()
1681 sq_h = sq_w; in tpg_calculate_square_border()
1682 tpg->square.width = sq_w; in tpg_calculate_square_border()
1684 unsigned ana_sq_w = (sq_w / 4) * 3; in tpg_calculate_square_border()
1692 sq_h = sq_w * 10 / 11; in tpg_calculate_square_border()
1694 sq_h = sq_w * 59 / 54; in tpg_calculate_square_border()