| /linux/drivers/media/platform/ti/vpe/ |
| H A D | sc.c | 110 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h, in sc_set_vs_coeffs() argument 119 if (dst_h > src_h) { in sc_set_vs_coeffs() 121 } else if (dst_h == src_h) { in sc_set_vs_coeffs() 124 sixteenths = (dst_h << 4) / src_h; in sc_set_vs_coeffs() 148 u32 *sc_reg17, unsigned int src_w, unsigned int src_h, in sc_config_scaler() argument 178 if (src_w == dst_w && src_h == dst_h) { in sc_config_scaler() 213 if (dst_h < (src_h >> 2)) { in sc_config_scaler() 222 factor = (u16) ((dst_h << 10) / src_h); in sc_config_scaler() 238 src_h, dst_h, factor, row_acc_init_rav, in sc_config_scaler() 242 row_acc_inc = ((src_h - 1) << 16) / (dst_h - 1); in sc_config_scaler() [all …]
|
| H A D | sc.h | 201 void sc_set_vs_coeffs(struct sc_data *sc, void *addr, unsigned int src_h, 204 u32 *sc_reg17, unsigned int src_w, unsigned int src_h,
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_trace.h | 34 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h), 35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h), 47 __field(u32, src_h) 60 __entry->src_h = src_h; 67 __entry->src_w >> 16, __entry->src_h >> 16)
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | overlay.c | 94 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in verify_scaling() argument 97 if (crtc_w < (src_w >> shift) || crtc_h < (src_h >> shift)) { in verify_scaling() 99 src_w, src_h, crtc_w, crtc_h); in verify_scaling() 117 uint32_t src_w, uint32_t src_h, in nv10_update_plane() argument 138 src_h >>= 16; in nv10_update_plane() 140 ret = verify_scaling(fb, shift, 0, 0, src_w, src_h, crtc_w, crtc_h); in nv10_update_plane() 156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane() 159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane() 368 uint32_t src_w, uint32_t src_h, in nv04_update_plane() argument 384 src_h >>= 16; in nv04_update_plane() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_plane.c | 953 uint32_t src_w, uint32_t src_h) in __setplane_check() argument 980 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check() 1025 uint32_t src_w, uint32_t src_h, in __setplane_internal() argument 1047 src_x, src_y, src_w, src_h); in __setplane_internal() 1054 src_x, src_y, src_w, src_h, ctx); in __setplane_internal() 1077 uint32_t src_w, uint32_t src_h, in __setplane_atomic() argument 1097 src_x, src_y, src_w, src_h); in __setplane_atomic() 1103 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic() 1113 uint32_t src_w, uint32_t src_h) in setplane_internal() argument 1124 src_x, src_y, src_w, src_h, &ctx); in setplane_internal() [all …]
|
| H A D | drm_plane_helper.c | 114 .src_h = drm_rect_height(src), in drm_plane_helper_check_update() 170 uint32_t src_w, uint32_t src_h, in drm_plane_helper_update_primary() argument 184 .y2 = src_y + src_h, in drm_plane_helper_update_primary()
|
| H A D | drm_rect.c | 207 int src_h = drm_rect_height(src); in drm_rect_calc_vscale() local 209 int vscale = drm_calc_scale(src_h, dst_h); in drm_rect_calc_vscale()
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_vid.c | 148 int src_h = state->src_h >> 16; in sti_vid_commit() local 170 if (src_h >= VID_MIN_HD_HEIGHT) { in sti_vid_commit()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 71 mock->src_h = params->src.h; in drm_plane_helper_init() 84 unsigned int src_w, unsigned int src_h) in check_src_eq() argument 86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq()
|
| H A D | drm_framebuffer_test.c | 483 const uint32_t src_h = (params->fb_size << 16) + params->dsrc_h; in drm_test_framebuffer_check_src_coords() local 490 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, &fb); in drm_test_framebuffer_check_src_coords()
|
| H A D | drm_damage_helper_test.c | 65 state->src_h = y2 - y1; in set_plane_src()
|
| /linux/include/drm/ |
| H A D | drm_plane_helper.h | 39 uint32_t src_w, uint32_t src_h,
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_framebuffer.h | 43 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_vop.h | 370 static inline uint16_t scl_get_bili_dn_vskip(int src_h, int dst_h, in scl_get_bili_dn_vskip() argument 375 act_height = DIV_ROUND_UP(src_h, vskiplines); in scl_get_bili_dn_vskip() 378 return GET_SCL_FT_BILI_DN(src_h, dst_h) / vskiplines; in scl_get_bili_dn_vskip()
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | ipuv3-plane.h | 42 uint32_t src_h, bool interlaced);
|
| /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 633 src_h = ctx->src.crop.height; in bdisp_hw_get_hv_inc() 638 bdisp_hw_get_inc(src_h, dst_h, v_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/exynos/ |
| H A D | exynos_drm_fimc.c | 744 u32 src_w, src_h, dst_w, dst_h; in fimc_set_prescaler() local 749 src_h = src->w; in fimc_set_prescaler() 752 src_h = src->h; in fimc_set_prescaler() 770 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler() 777 pre_dst_height = src_h >> vfactor; in fimc_set_prescaler() 784 sc->vratio = (src_h << 14) / (dst_h << vfactor); in fimc_set_prescaler() 786 sc->up_v = (dst_h >= src_h); in fimc_set_prescaler()
|
| H A D | exynos_drm_gsc.c | 748 u32 src_w, src_h, dst_w, dst_h; in gsc_set_prescaler() local 752 src_h = src->h; in gsc_set_prescaler() 768 ret = gsc_get_ratio_shift(ctx, src_h, dst_h, &sc->pre_vratio); in gsc_set_prescaler() 778 sc->main_vratio = (src_h << 16) / dst_h; in gsc_set_prescaler()
|
| /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 242 src_h = drm_rect_height(&state->src) >> 16; 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/nouveau/dispnv50/ |
| H A D | wndwc67e.c | 69 NVVAL(NVC57E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwc67e_image_set()
|
| H A D | wndwc57e.c | 73 NVVAL(NVC57E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwc57e_image_set()
|
| H A D | wndwca7e.c | 87 NVVAL(NVCA7E, SET_SIZE_IN, HEIGHT, asyw->state.src_h >> 16)); in wndwca7e_image_set()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 153 info->height = state->src_h >> 16; in omap_framebuffer_update_scanout() 164 u32 h = state->src_h >> 16; in omap_framebuffer_update_scanout()
|
| /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 827 (src_h / tmp_h) > var->v_scale_down_max || in mtk_mdp_check_scaler_ratio() 829 (tmp_h / src_h) > var->v_scale_up_max) in mtk_mdp_check_scaler_ratio()
|