Lines Matching defs:height

95 	tpg->crop.height = tpg->compose.height = h;
523 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
529 tpg->src_height = height;
531 tpg->buf_height = height;
537 tpg->crop.height = height;
540 tpg->compose.height = tpg->buf_height;
1733 tpg->square.height = sq_h;
1738 tpg->border.height = h;
1750 tpg->border.height = ((3 * w) / 4) & ~1;
1751 tpg->border.top = (h - tpg->border.height) / 2;
1755 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 420 : 506;
1756 tpg->border.top = (h - tpg->border.height) / 2;
1766 tpg->border.height = ((9 * w) / 14) & ~1;
1767 tpg->border.top = (h - tpg->border.height) / 2;
1771 tpg->border.height = tpg->pix_aspect == TPG_PIXEL_ASPECT_NTSC ? 368 : 442;
1772 tpg->border.top = (h - tpg->border.height) / 2;
1782 tpg->border.height = ((9 * w) / 16) & ~1;
1783 tpg->border.top = (h - tpg->border.height) / 2;
2009 if (y + 16 >= tpg->compose.height || x + 8 >= tpg->compose.width)
2015 y = tpg->compose.height - y - 16;
2249 pr_info("tpg crop: %ux%u@%dx%d\n", tpg->crop.width, tpg->crop.height,
2251 pr_info("tpg compose: %ux%u@%dx%d\n", tpg->compose.width, tpg->compose.height,
2369 frame_line < b->top + b->height) {
2370 unsigned bottom = b->top + b->height - 1;
2390 frame_line < b->top + b->height) {
2396 frame_line < sq->top + sq->height &&
2508 if (params->hmax == tpg->compose.height)
2525 frame_line >= tpg->border.top + tpg->border.height)) {
2633 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height;
2634 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height;
2646 params.hmax = (tpg->compose.height * tpg->perc_fill) / 100;
2653 for (h = 0; h < tpg->compose.height; h++) {
2661 if (error >= tpg->compose.height) {
2662 error -= tpg->compose.height;
2689 if (error + fract_part >= tpg->compose.height)