Home
last modified time | relevance | path

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

/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1682 unsigned sq_w, sq_h; in tpg_calculate_square_border() local
1684 sq_w = (w * 2 / 5) & ~1; in tpg_calculate_square_border()
1685 if (((w - sq_w) / 2) & 1) in tpg_calculate_square_border()
1686 sq_w += 2; in tpg_calculate_square_border()
1687 sq_h = sq_w; in tpg_calculate_square_border()
1688 tpg->square.width = sq_w; in tpg_calculate_square_border()
1690 unsigned ana_sq_w = (sq_w / 4) * 3; in tpg_calculate_square_border()
1698 sq_h = sq_w * 10 / 11; in tpg_calculate_square_border()
1700 sq_h = sq_w * 59 / 54; in tpg_calculate_square_border()