Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c144 int src_width, src_height, dst_height, fps; in _dpu_plane_calc_bw() local
159 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
165 scale_factor = src_height > dst_height ? in _dpu_plane_calc_bw()
166 mult_frac(src_height, 1, dst_height) : 1; in _dpu_plane_calc_bw()
197 int dst_width, src_height, dst_height, fps; in _dpu_plane_calc_clk() local
204 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
210 if (src_height > dst_height) { in _dpu_plane_calc_clk()
212 do_div(pstate->plane_clk, dst_height); in _dpu_plane_calc_clk()
551 scale_cfg->dst_height = dst_h; in _dpu_plane_setup_scaler3()
644 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() local
[all …]
Ddpu_hw_util.h124 u32 dst_height; member
286 uint32_t dst_height; member
Ddpu_hw_util.c304 ((scaler3_cfg->dst_height & 0x1FFFF) << 16); in dpu_hw_setup_scaler3()
/drivers/media/platform/nxp/
Dimx-pxp.c727 u32 dst_width, dst_height, dst_stride, dst_fourcc; in pxp_start() local
741 dst_height = ctx->q_data[V4L2_M2M_DST].height; in pxp_start()
783 swap(dst_width, dst_height); in pxp_start()
790 out_buf2 = out_buf + dst_stride * dst_height; in pxp_start()
798 BF_PXP_OUT_LRC_Y(dst_height - 1); in pxp_start()
802 BF_PXP_OUT_PS_LRC_Y(dst_height - 1); in pxp_start()
808 decy = (src_height <= dst_height) ? 0 : ilog2(src_height / dst_height); in pxp_start()
867 yscale = (src_height >> decy) * 0x1000 / dst_height; in pxp_start()
869 yscale = (src_height - 1) * 0x1000 / (dst_height - 1); in pxp_start()
/drivers/gpu/drm/i915/display/
Dintel_overlay.c631 if (params->dst_height > 1) in update_scaling_factors()
633 params->dst_height; in update_scaling_factors()
837 iowrite32(params->dst_height << 16 | params->dst_width, &regs->DWINSZ); in intel_overlay_do_put_image()
966 rec->dst_width, rec->dst_height); in check_overlay_dst()
983 tmp = ((rec->src_scan_height << 16) / rec->dst_height) >> 16; in check_overlay_scaling()
1181 params->dst_height = (((u32)params->dst_height << 12) / in intel_overlay_put_image_ioctl()