Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_panel.c351 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in pch_panel_fitting() local
353 if (scaled_width > scaled_height) { /* pillar */ in pch_panel_fitting()
360 } else if (scaled_width < scaled_height) { /* letter */ in pch_panel_fitting()
361 height = scaled_width / pipe_src_w; in pch_panel_fitting()
460 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i965_scale_aspect() local
464 if (scaled_width > scaled_height) in i965_scale_aspect()
467 else if (scaled_width < scaled_height) in i965_scale_aspect()
481 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i9xx_scale_aspect() local
490 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
505 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
480 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
482 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
483 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
484 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
485 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
486 tpg->scaled_width = 2; in tpg_s_crop_compose()
502 tpg->scaled_width = width; in tpg_reset_source()
1780 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1781 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/linux-6.1.9/include/media/tpg/
Dv4l2-tpg.h139 unsigned scaled_width; member
448 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()