Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
A Dintel_panel.c227 u32 scaled_width = adjusted_mode->crtc_hdisplay in pch_panel_fitting() local
231 if (scaled_width > scaled_height) { /* pillar */ in pch_panel_fitting()
238 } else if (scaled_width < scaled_height) { /* letter */ in pch_panel_fitting()
239 height = scaled_width / crtc_state->pipe_src_w; in pch_panel_fitting()
336 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i965_scale_aspect() local
342 if (scaled_width > scaled_height) in i965_scale_aspect()
345 else if (scaled_width < scaled_height) in i965_scale_aspect()
357 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i9xx_scale_aspect() local
368 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
384 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/linux/drivers/media/common/v4l2-tpg/
A Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
478 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
479 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
480 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
481 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
482 tpg->scaled_width = 2; in tpg_s_crop_compose()
498 tpg->scaled_width = width; in tpg_reset_source()
1788 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
1789 error -= tpg->scaled_width; in tpg_precalculate_line()
1799 if (error >= tpg->scaled_width) { in tpg_precalculate_line()
[all …]
/linux/include/media/tpg/
A Dv4l2-tpg.h139 unsigned scaled_width; member
447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()

Completed in 12 milliseconds