Lines Matching refs:req

52     struct mdp_blit_req req[10];  member
216 struct mdp_blit_req *req, int flags) in set_infos() argument
218 req->alpha = dev->mAlpha; in set_infos()
219 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
220 req->flags = dev->mFlags | flags; in set_infos()
223 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
226 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
253 l->req[i].src.width, in msm_copybit()
254 l->req[i].src.height, in msm_copybit()
255 l->req[i].src.format, in msm_copybit()
256 l->req[i].src_rect.x, in msm_copybit()
257 l->req[i].src_rect.y, in msm_copybit()
258 l->req[i].src_rect.w, in msm_copybit()
259 l->req[i].src_rect.h, in msm_copybit()
260 l->req[i].dst.width, in msm_copybit()
261 l->req[i].dst.height, in msm_copybit()
262 l->req[i].dst.format, in msm_copybit()
263 l->req[i].dst_rect.x, in msm_copybit()
264 l->req[i].dst_rect.y, in msm_copybit()
265 l->req[i].dst_rect.w, in msm_copybit()
266 l->req[i].dst_rect.h, in msm_copybit()
267 l->req[i].flags in msm_copybit()
493 (uint32_t)(sizeof(list->req)/sizeof(list->req[0])); in stretch_copybit()
499 mdp_blit_req* req = &list->req[list->count]; in stretch_copybit() local
507 set_infos(ctx, req, flags); in stretch_copybit()
508 set_image(&req->dst, dst); in stretch_copybit()
509 set_image(&req->src, src); in stretch_copybit()
510 set_rects(ctx, req, dst_rect, src_rect, &clip); in stretch_copybit()
512 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
515 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
581 mdp_blit_req* req = &list1.req[0]; in clear_copybit() local
583 if(!req) { in clear_copybit()
588 set_image(&req->dst, buf); in clear_copybit()
589 set_image(&req->src, buf); in clear_copybit()
591 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
592 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
598 req->dst_rect.x = rect->l; in clear_copybit()
599 req->dst_rect.y = rect->t; in clear_copybit()
600 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
601 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
603 req->src_rect = req->dst_rect; in clear_copybit()
605 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in clear_copybit()
606 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in clear_copybit()
607 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in clear_copybit()
608 req->const_color.alpha = MDP_ALPHA_NOP; in clear_copybit()
610 req->transp_mask = MDP_TRANSP_NOP; in clear_copybit()
611 req->flags = MDP_SOLID_FILL | MDP_MEMORY_ID_TYPE_FB | MDP_BLEND_FG_PREMULT; in clear_copybit()
647 mdp_blit_req* req = &list->req[list->count++]; in fill_color() local
648 set_infos(ctx, req, MDP_SOLID_FILL); in fill_color()
649 set_image(&req->src, dst); in fill_color()
650 set_image(&req->dst, dst); in fill_color()
652 req->dst_rect.x = rect->l; in fill_color()
653 req->dst_rect.y = rect->t; in fill_color()
654 req->dst_rect.w = rect->r - rect->l; in fill_color()
655 req->dst_rect.h = rect->b - rect->t; in fill_color()
656 req->src_rect = req->dst_rect; in fill_color()
658 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in fill_color()
659 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in fill_color()
660 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in fill_color()
661 req->const_color.alpha = (uint32_t)((color >> 24) & 0xff); in fill_color()
663 if (list->count == sizeof(list->req)/sizeof(list->req[0])) { in fill_color()