Lines Matching refs:src_rect
39 uint32_t src_rect; member
361 get_edge_info(req->src_rect.h, req->src_rect.y, dst_h, in get_edge_cond()
364 get_edge_info(req->src_rect.w, req->src_rect.x, dst_w, in get_edge_cond()
368 luma_interp[IMG_LEFT] = req->src_rect.x; in get_edge_cond()
369 luma_interp[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1; in get_edge_cond()
370 luma_interp[IMG_TOP] = req->src_rect.y; in get_edge_cond()
371 luma_interp[IMG_BOTTOM] = req->src_rect.y + req->src_rect.h - 1; in get_edge_cond()
383 chroma_bound[IMG_LEFT] = req->src_rect.x; in get_edge_cond()
384 chroma_bound[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1; in get_edge_cond()
385 chroma_bound[IMG_TOP] = req->src_rect.y; in get_edge_cond()
386 chroma_bound[IMG_BOTTOM] = req->src_rect.y + req->src_rect.h - 1; in get_edge_cond()
450 if ((req->src_rect.w == dst_w) && (req->src_rect.h == dst_h) && in blit_scale()
459 if (scale_params(req->src_rect.w, dst_w, 1, &phase_init_x, in blit_scale()
461 scale_params(req->src_rect.h, dst_h, 1, &phase_init_y, in blit_scale()
465 scale_factor_x = (dst_w * 10) / req->src_rect.w; in blit_scale()
466 scale_factor_y = (dst_h * 10) / req->src_rect.h; in blit_scale()
545 get_len(&req->src, &req->src_rect, regs->src_bpp, &src0_len, in valid_src_dst()
609 mdp_writel(mdp, regs->src_rect, PPP_ADDR_SRC_ROI); in send_blit()
658 if (unlikely(req->src_rect.x > req->src.width || in mdp_ppp_blit()
659 req->src_rect.y > req->src.height || in mdp_ppp_blit()
668 regs.src_cfg |= (req->src_rect.x & 0x1) ? PPP_SRC_BPP_ROI_ODD_X : 0; in mdp_ppp_blit()
669 regs.src_cfg |= (req->src_rect.y & 0x1) ? PPP_SRC_BPP_ROI_ODD_Y : 0; in mdp_ppp_blit()
670 regs.src_rect = (req->src_rect.h << 16) | req->src_rect.w; in mdp_ppp_blit()
682 get_chroma_addr(&req->src, &req->src_rect, regs.src0, regs.src_bpp, in mdp_ppp_blit()
684 regs.src0 += (req->src_rect.x + (req->src_rect.y * req->src.width)) * in mdp_ppp_blit()
721 req->src_rect.x = req->src_rect.x & (~0x1); in mdp_ppp_blit()
722 req->src_rect.w = req->src_rect.w & (~0x1); in mdp_ppp_blit()