Home
last modified time | relevance | path

Searched refs:scaled_width (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_panel.c419 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in pch_panel_fitting() local
421 if (scaled_width > scaled_height) { /* pillar */ in pch_panel_fitting()
428 } else if (scaled_width < scaled_height) { /* letter */ in pch_panel_fitting()
429 height = scaled_width / pipe_src_w; in pch_panel_fitting()
528 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i965_scale_aspect() local
532 if (scaled_width > scaled_height) in i965_scale_aspect()
535 else if (scaled_width < scaled_height) in i965_scale_aspect()
549 u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; in i9xx_scale_aspect() local
558 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
573 } else if (scaled_width < scaled_heigh in i9xx_scale_aspect()
[all...]
/kernel/linux/linux-5.10/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c92 tpg->scaled_width = tpg->src_width = w; in tpg_init()
508 tpg->scaled_width = (tpg->src_width * tpg->compose.width + in tpg_s_crop_compose()
510 tpg->scaled_width &= ~1; in tpg_s_crop_compose()
511 if (tpg->scaled_width > tpg->max_line_width) in tpg_s_crop_compose()
512 tpg->scaled_width = tpg->max_line_width; in tpg_s_crop_compose()
513 if (tpg->scaled_width < 2) in tpg_s_crop_compose()
514 tpg->scaled_width = 2; in tpg_s_crop_compose()
530 tpg->scaled_width = width; in tpg_reset_source()
1806 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1807 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all...]
/kernel/linux/linux-6.6/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()
1812 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line()
1813 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A 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 / crtc_state->pipe_src_w; in intel_pch_panel_fitting()
310 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i965_scale_aspect() local
316 if (scaled_width > scaled_height) in i965_scale_aspect()
319 else if (scaled_width < scaled_height) in i965_scale_aspect()
331 u32 scaled_width = adjusted_mode->crtc_hdisplay * in i9xx_scale_aspect() local
342 if (scaled_width > scaled_height) { /* pillar */ in i9xx_scale_aspect()
358 } else if (scaled_width < scaled_heigh in i9xx_scale_aspect()
[all...]
/kernel/linux/linux-5.10/include/media/tpg/
H A Dv4l2-tpg.h139 unsigned scaled_width; member
447 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()
/kernel/linux/linux-6.6/include/media/tpg/
H A Dv4l2-tpg.h139 unsigned scaled_width; member
448 return (x * tpg->scaled_width) / tpg->src_width; in tpg_hscale()

Completed in 13 milliseconds