/drivers/media/pci/ivtv/ |
D | ivtv-yuv.c | 242 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal() 245 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal() 269 if (f->dst_w >= f->src_w) in ivtv_yuv_handle_horizontal() 275 if (f->dst_w < f->src_w) in ivtv_yuv_handle_horizontal() 281 reg_2870_offset = (f->src_x * ((f->dst_w << 21) / f->src_w)) >> 19; in ivtv_yuv_handle_horizontal() 283 if (f->dst_w >= f->src_w) { in ivtv_yuv_handle_horizontal() 285 master_width = (f->src_w * 0x00200000) / (f->dst_w); in ivtv_yuv_handle_horizontal() 286 if (master_width * f->dst_w != f->src_w * 0x00200000) in ivtv_yuv_handle_horizontal() 298 if (f->dst_w > f->src_w) in ivtv_yuv_handle_horizontal() 299 reg_2870_base = ((f->dst_w - f->src_w)<<16) / (f->src_w <<14); in ivtv_yuv_handle_horizontal() [all …]
|
D | ivtv-driver.h | 398 u32 src_w; member
|
D | ivtv-irq.c | 913 if (f->src_w) { in ivtv_irq_vsync()
|
/drivers/gpu/drm/i915/ |
D | intel_sprite.c | 44 uint32_t src_w, uint32_t src_h) in vlv_update_plane() argument 111 src_w--; in vlv_update_plane() 212 uint32_t src_w, uint32_t src_h) in ivb_update_plane() argument 265 src_w--; in ivb_update_plane() 277 if (crtc_w != src_w || crtc_h != src_h) { in ivb_update_plane() 284 sprscale = SPRITE_SCALE_ENABLE | (src_w << 16) | src_h; in ivb_update_plane() 401 uint32_t src_w, uint32_t src_h) in ilk_update_plane() argument 450 src_w--; in ilk_update_plane() 458 if (IS_GEN5(dev) || crtc_w != src_w || crtc_h != src_h) in ilk_update_plane() 459 dvsscale = DVS_SCALE_ENABLE | (src_w << 16) | src_h; in ilk_update_plane() [all …]
|
D | intel_overlay.c | 427 short src_w; member 736 tmp_width = packed_width_bytes(params->format, params->src_w); in intel_overlay_do_put_image() 738 tmp_width = params->src_w; in intel_overlay_do_put_image() 740 swidth = params->src_w; in intel_overlay_do_put_image() 750 swidth |= (params->src_w/uv_hscale) << 16; in intel_overlay_do_put_image() 752 params->src_w/uv_hscale); in intel_overlay_do_put_image() 754 params->src_w/uv_hscale); in intel_overlay_do_put_image() 1130 params->src_w = put_image_rec->src_width; in intel_overlay_put_image() 1135 params->src_scan_w > params->src_w) { in intel_overlay_put_image()
|
D | intel_drv.h | 281 uint32_t src_w, src_h; member 288 uint32_t src_w, uint32_t src_h);
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_plane.c | 75 uint32_t src_w, uint32_t src_h) in exynos_plane_mode_set() argument 121 overlay->src_width = src_w; in exynos_plane_mode_set() 188 uint32_t src_w, uint32_t src_h) in exynos_update_plane() argument 196 src_w >> 16, src_h >> 16); in exynos_update_plane()
|
D | exynos_drm_plane.h | 16 uint32_t src_w, uint32_t src_h);
|
D | exynos_drm_fimc.c | 1009 u32 src_w, src_h, dst_w, dst_h; in fimc_set_prescaler() local 1013 src_w = src->h; in fimc_set_prescaler() 1016 src_w = src->w; in fimc_set_prescaler() 1028 ret = fimc_get_ratio_shift(src_w, dst_w, &pre_hratio, &hfactor); in fimc_set_prescaler() 1040 pre_dst_width = src_w / pre_hratio; in fimc_set_prescaler() 1047 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler() 1049 sc->up_h = (dst_w >= src_w) ? true : false; in fimc_set_prescaler()
|
D | exynos_drm_gsc.c | 921 u32 src_w, src_h, dst_w, dst_h; in gsc_set_prescaler() local 924 src_w = src->w; in gsc_set_prescaler() 935 ret = gsc_get_ratio_shift(src_w, dst_w, &sc->pre_hratio); in gsc_set_prescaler() 950 sc->main_hratio = (src_w << 16) / dst_w; in gsc_set_prescaler()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_plane.c | 208 uint32_t src_w, uint32_t src_h, in omap_plane_mode_set() argument 222 win->src_w = src_w >> 16; in omap_plane_mode_set() 246 uint32_t src_w, uint32_t src_h) in omap_plane_update() argument 258 src_x, src_y, src_w, src_h, in omap_plane_update()
|
D | omap_drv.h | 49 uint32_t src_w, src_h; member 171 uint32_t src_w, uint32_t src_h,
|
D | omap_fb.c | 169 info->width = win->src_w; in omap_framebuffer_update_scanout() 176 uint32_t w = win->src_w; in omap_framebuffer_update_scanout()
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_plane.c | 180 uint32_t src_w, uint32_t src_h) in shmob_drm_plane_update() argument 193 if (src_w >> 16 != crtc_w || src_h >> 16 != crtc_h) { in shmob_drm_plane_update()
|
/drivers/gpu/host1x/drm/ |
D | dc.c | 36 uint32_t src_y, uint32_t src_w, uint32_t src_h) in tegra_plane_update() argument 46 window.src.w = src_w >> 16; in tegra_plane_update()
|
/drivers/gpu/drm/ |
D | drm_crtc.c | 1846 if (plane_req->src_w > fb_width || in drm_mode_setplane() 1847 plane_req->src_x > fb_width - plane_req->src_w || in drm_mode_setplane() 1852 plane_req->src_w >> 16, in drm_mode_setplane() 1853 ((plane_req->src_w & 0xffff) * 15625) >> 10, in drm_mode_setplane() 1881 plane_req->src_w, plane_req->src_h); in drm_mode_setplane()
|