Searched refs:sq_w (Results 1 – 1 of 1) sorted by relevance
1526 unsigned sq_w, sq_h; in tpg_calculate_square_border() local1528 sq_w = (w * 2 / 5) & ~1; in tpg_calculate_square_border()1529 if (((w - sq_w) / 2) & 1) in tpg_calculate_square_border()1530 sq_w += 2; in tpg_calculate_square_border()1531 sq_h = sq_w; in tpg_calculate_square_border()1532 tpg->square.width = sq_w; in tpg_calculate_square_border()1534 unsigned ana_sq_w = (sq_w / 4) * 3; in tpg_calculate_square_border()1542 sq_h = sq_w * 10 / 11; in tpg_calculate_square_border()1544 sq_h = sq_w * 59 / 54; in tpg_calculate_square_border()