Home
last modified time | relevance | path

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

/drivers/media/platform/vivid/
Dvivid-tpg.c100 tpg->scaled_width = tpg->src_width = w; in tpg_init()
394 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
396 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
397 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
398 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
399 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
400 tpg->scaled_width = 2; in tpg_s_crop_compose()
415 tpg->scaled_width = width; in tpg_reset_source()
1463 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1464 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
Dvivid-tpg.h102 unsigned scaled_width; member
393 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
/drivers/gpu/drm/i915/
Dintel_panel.c127 u32 scaled_width = adjusted_mode->crtc_hdisplay in intel_pch_panel_fitting() local
131 if (scaled_width > scaled_height) { /* pillar */ in intel_pch_panel_fitting()
138 } else if (scaled_width < scaled_height) { /* letter */ in intel_pch_panel_fitting()
139 height = scaled_width / pipe_config->pipe_src_w; in intel_pch_panel_fitting()
230 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i965_scale_aspect() local
236 if (scaled_width > scaled_height) in i965_scale_aspect()
239 else if (scaled_width < scaled_height) in i965_scale_aspect()
251 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i9xx_scale_aspect() local
262 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
278 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/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()