• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/video/msm/

Lines Matching defs:src_rect

39 	uint32_t src_rect;
360 get_edge_info(req->src_rect.h, req->src_rect.y, dst_h,
363 get_edge_info(req->src_rect.w, req->src_rect.x, dst_w,
367 luma_interp[IMG_LEFT] = req->src_rect.x;
368 luma_interp[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1;
369 luma_interp[IMG_TOP] = req->src_rect.y;
370 luma_interp[IMG_BOTTOM] = req->src_rect.y + req->src_rect.h - 1;
382 chroma_bound[IMG_LEFT] = req->src_rect.x;
383 chroma_bound[IMG_RIGHT] = req->src_rect.x + req->src_rect.w - 1;
384 chroma_bound[IMG_TOP] = req->src_rect.y;
385 chroma_bound[IMG_BOTTOM] = req->src_rect.y + req->src_rect.h - 1;
449 if ((req->src_rect.w == dst_w) && (req->src_rect.h == dst_h) &&
458 if (scale_params(req->src_rect.w, dst_w, 1, &phase_init_x,
460 scale_params(req->src_rect.h, dst_h, 1, &phase_init_y,
464 scale_factor_x = (dst_w * 10) / req->src_rect.w;
465 scale_factor_y = (dst_h * 10) / req->src_rect.h;
544 get_len(&req->src, &req->src_rect, regs->src_bpp, &src0_len,
608 mdp_writel(mdp, regs->src_rect, PPP_ADDR_SRC_ROI);
657 if (unlikely(req->src_rect.x > req->src.width ||
658 req->src_rect.y > req->src.height ||
667 regs.src_cfg |= (req->src_rect.x & 0x1) ? PPP_SRC_BPP_ROI_ODD_X : 0;
668 regs.src_cfg |= (req->src_rect.y & 0x1) ? PPP_SRC_BPP_ROI_ODD_Y : 0;
669 regs.src_rect = (req->src_rect.h << 16) | req->src_rect.w;
681 get_chroma_addr(&req->src, &req->src_rect, regs.src0, regs.src_bpp,
683 regs.src0 += (req->src_rect.x + (req->src_rect.y * req->src.width)) *
720 req->src_rect.x = req->src_rect.x & (~0x1);
721 req->src_rect.w = req->src_rect.w & (~0x1);