Lines Matching refs:req
53 struct mdp_blit_req req[10]; member
231 struct mdp_blit_req *req, int flags) in set_infos() argument
233 req->alpha = dev->mAlpha; in set_infos()
234 req->fps = dev->dynamic_fps; in set_infos()
235 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
236 req->flags = dev->mFlags | flags; in set_infos()
239 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
242 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
269 l->req[i].src.width, in msm_copybit()
270 l->req[i].src.height, in msm_copybit()
271 l->req[i].src.format, in msm_copybit()
272 l->req[i].src_rect.x, in msm_copybit()
273 l->req[i].src_rect.y, in msm_copybit()
274 l->req[i].src_rect.w, in msm_copybit()
275 l->req[i].src_rect.h, in msm_copybit()
276 l->req[i].dst.width, in msm_copybit()
277 l->req[i].dst.height, in msm_copybit()
278 l->req[i].dst.format, in msm_copybit()
279 l->req[i].dst_rect.x, in msm_copybit()
280 l->req[i].dst_rect.y, in msm_copybit()
281 l->req[i].dst_rect.w, in msm_copybit()
282 l->req[i].dst_rect.h, in msm_copybit()
283 l->req[i].flags, in msm_copybit()
284 l->req[i].fps in msm_copybit()
515 (uint32_t)(sizeof(list->req)/sizeof(list->req[0])); in stretch_copybit()
521 mdp_blit_req* req = &list->req[list->count]; in stretch_copybit() local
531 req->color_space = ITU_R_601; in stretch_copybit()
538 req->color_space = metadata->colorSpace; in stretch_copybit()
541 set_infos(ctx, req, flags); in stretch_copybit()
542 set_image(&req->dst, dst); in stretch_copybit()
543 set_image(&req->src, src); in stretch_copybit()
544 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
547 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
550 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
615 mdp_blit_req* req = &list1.req[0]; in clear_copybit() local
617 if(!req) { in clear_copybit()
622 set_image(&req->dst, buf); in clear_copybit()
623 set_image(&req->src, buf); in clear_copybit()
625 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
626 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
632 req->dst_rect.x = rect->l; in clear_copybit()
633 req->dst_rect.y = rect->t; in clear_copybit()
634 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
635 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
637 req->src_rect = req->dst_rect; in clear_copybit()
639 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in clear_copybit()
640 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in clear_copybit()
641 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in clear_copybit()
642 req->const_color.alpha = MDP_ALPHA_NOP; in clear_copybit()
644 req->transp_mask = MDP_TRANSP_NOP; in clear_copybit()
645 req->flags = MDP_SOLID_FILL | MDP_MEMORY_ID_TYPE_FB | MDP_BLEND_FG_PREMULT; in clear_copybit()
681 mdp_blit_req* req = &list->req[list->count++]; in fill_color() local
682 set_infos(ctx, req, MDP_SOLID_FILL); in fill_color()
683 set_image(&req->src, dst); in fill_color()
684 set_image(&req->dst, dst); in fill_color()
686 req->dst_rect.x = rect->l; in fill_color()
687 req->dst_rect.y = rect->t; in fill_color()
688 req->dst_rect.w = rect->r - rect->l; in fill_color()
689 req->dst_rect.h = rect->b - rect->t; in fill_color()
690 req->src_rect = req->dst_rect; in fill_color()
692 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in fill_color()
693 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in fill_color()
694 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in fill_color()
695 req->const_color.alpha = (uint32_t)((color >> 24) & 0xff); in fill_color()
697 if (list->count == sizeof(list->req)/sizeof(list->req[0])) { in fill_color()