Searched refs:dst_w (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/media/platform/ti/vpe/ |
| H A D | sc.c | 62 unsigned int dst_w) in sc_set_hs_coeffs() argument 70 if (dst_w > src_w) { in sc_set_hs_coeffs() 73 if ((dst_w << 1) < src_w) in sc_set_hs_coeffs() 74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs() 75 if ((dst_w << 1) < src_w) in sc_set_hs_coeffs() 76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs() 78 if (dst_w == src_w) { in sc_set_hs_coeffs() 81 sixteenths = (dst_w << 4) / src_w; in sc_set_hs_coeffs() 149 unsigned int dst_w, unsigned int dst_h) in sc_config_scaler() argument 178 if (src_w == dst_w && src_h == dst_h) { in sc_config_scaler() [all …]
|
| H A D | sc.h | 200 unsigned int dst_w); 205 unsigned int dst_w, unsigned int dst_h);
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_vid.c | 146 int dst_w = clamp_val(state->crtc_w, 0, mode->hdisplay - dst_x); in sti_vid_commit() local 153 dst_w = ALIGN(dst_w, 2); in sti_vid_commit() 164 xds = sti_vtg_get_pixel_number(*mode, dst_x + dst_w - 1); in sti_vid_commit()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 173 int dst_w = drm_rect_width(dst); in drm_rect_calc_hscale() local 174 int hscale = drm_calc_scale(src_w, dst_w); in drm_rect_calc_hscale() 176 if (hscale < 0 || dst_w == 0) in drm_rect_calc_hscale()
|
| /linux/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-hw.c | 630 u32 src_w, src_h, dst_w, dst_h; in bdisp_hw_get_hv_inc() local 634 dst_w = ctx->dst.crop.width; in bdisp_hw_get_hv_inc() 637 if (bdisp_hw_get_inc(src_w, dst_w, h_inc) || in bdisp_hw_get_hv_inc() 641 src_w, src_h, dst_w, dst_h); in bdisp_hw_get_hv_inc()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 228 unsigned int i, bpp, dst_w, dst_h, src_w, src_h, mul; in tegra_plane_calculate_memory_bandwidth() local 243 dst_w = drm_rect_width(&state->dst); in tegra_plane_calculate_memory_bandwidth() 270 avg_bandwidth = min(src_w, dst_w) * min(src_h, dst_h); in tegra_plane_calculate_memory_bandwidth()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_gsc.c | 747 u32 src_w, src_h, dst_w, dst_h; in gsc_set_prescaler() local 754 dst_w = dst->h; in gsc_set_prescaler() 757 dst_w = dst->w; in gsc_set_prescaler() 761 ret = gsc_get_ratio_shift(ctx, src_w, dst_w, &sc->pre_hratio); in gsc_set_prescaler() 776 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler()
|
| H A D | exynos_drm_fimc.c | 744 u32 src_w, src_h, dst_w, dst_h; in fimc_set_prescaler() local 756 dst_w = dst->h; in fimc_set_prescaler() 759 dst_w = dst->w; in fimc_set_prescaler() 764 hfactor = fls(src_w / dst_w / 2); in fimc_set_prescaler() 783 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler() 785 sc->up_h = (dst_w >= src_w); in fimc_set_prescaler()
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| H A D | mtk_mdp_m2m.c | 814 int src_h, int dst_w, int dst_h, int rot) in mtk_mdp_check_scaler_ratio() argument 820 tmp_h = dst_w; in mtk_mdp_check_scaler_ratio() 822 tmp_w = dst_w; in mtk_mdp_check_scaler_ratio()
|