Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-tpg.c100 tpg->scaled_width = tpg->src_width = w; in tpg_init()
373 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
375 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
376 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
377 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
378 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
379 tpg->scaled_width = 2; in tpg_s_crop_compose()
394 tpg->scaled_width = width; in tpg_reset_source()
1298 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1299 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all …]
Dvivid-tpg.h102 unsigned scaled_width; member
373 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_panel.c128 u32 scaled_width = adjusted_mode->hdisplay in intel_pch_panel_fitting() local
132 if (scaled_width > scaled_height) { /* pillar */ in intel_pch_panel_fitting()
139 } else if (scaled_width < scaled_height) { /* letter */ in intel_pch_panel_fitting()
140 height = scaled_width / pipe_config->pipe_src_w; in intel_pch_panel_fitting()
231 u32 scaled_width = adjusted_mode->hdisplay * in i965_scale_aspect() local
237 if (scaled_width > scaled_height) in i965_scale_aspect()
240 else if (scaled_width < scaled_height) in i965_scale_aspect()
252 u32 scaled_width = adjusted_mode->hdisplay * in i9xx_scale_aspect() local
263 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
279 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/linux-4.1.27/include/video/
Dmbxfb.h46 __u32 scaled_width; member
/linux-4.1.27/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()