Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/display/
H A Dintel_pfit.c207 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in pch_panel_fitting() local
210 if (scaled_width > scaled_height) { /* pillar */ in pch_panel_fitting()
217 } else if (scaled_width < scaled_height) { /* letter */ in pch_panel_fitting()
218 height = scaled_width / pipe_src_w; in pch_panel_fitting()
344 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i965_scale_aspect() local
348 if (scaled_width > scaled_height) in i965_scale_aspect()
351 else if (scaled_width < scaled_height) in i965_scale_aspect()
365 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i9xx_scale_aspect() local
374 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
389 } else if (scaled_width < scaled_height) { /* letter */ in i9xx_scale_aspect()
[all …]
/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
512 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
514 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
515 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
516 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
517 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
518 tpg->scaled_width = 2; in tpg_s_crop_compose()
534 tpg->scaled_width = width; in tpg_reset_source()
1798 if (WARN_ON_ONCE(!tpg->src_width || !tpg->scaled_width)) in tpg_precalculate_line()
1815 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
[all …]
/linux/include/uapi/linux/media/raspberrypi/
H A Dpisp_be_config.h618 __u16 scaled_width; member
647 __u16 scaled_width; member
/linux/include/media/tpg/
H A Dv4l2-tpg.h139 unsigned scaled_width; member
448 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()