Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
476 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
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()
1774 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1775 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
/Linux-v5.4/include/video/
Dmbxfb.h47 __u32 scaled_width; member
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_panel.c201 u32 scaled_width = adjusted_mode->crtc_hdisplay in intel_pch_panel_fitting() local
205 if (scaled_width > scaled_height) { /* pillar */ in intel_pch_panel_fitting()
212 } else if (scaled_width < scaled_height) { /* letter */ in intel_pch_panel_fitting()
213 height = scaled_width / pipe_config->pipe_src_w; in intel_pch_panel_fitting()
304 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i965_scale_aspect() local
310 if (scaled_width > scaled_height) in i965_scale_aspect()
313 else if (scaled_width < scaled_height) in i965_scale_aspect()
325 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i9xx_scale_aspect() local
336 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
352 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/Linux-v5.4/drivers/video/fbdev/mbx/
Dmbxfb.c341 if (set->scaled_width==0 || set->scaled_height==0) in mbxfb_setupOverlay()
430 sssize = Sssize_Sc_Width(set->scaled_width-1) | in mbxfb_setupOverlay()
439 if (set->scaled_width == set->width) in mbxfb_setupOverlay()
445 shctrl |= Shctrl_Hpitch((set->width<<11)/set->scaled_width); in mbxfb_setupOverlay()
/Linux-v5.4/include/media/tpg/
Dv4l2-tpg.h139 unsigned scaled_width; member
445 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()