Lines Matching refs:req

53     struct mdp_blit_req req[10];  member
229 struct mdp_blit_req *req, int flags) in set_infos() argument
231 req->alpha = dev->mAlpha; in set_infos()
232 req->fps = dev->dynamic_fps; in set_infos()
233 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
234 req->flags = dev->mFlags | flags; in set_infos()
237 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
240 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
267 l->req[i].src.width, in msm_copybit()
268 l->req[i].src.height, in msm_copybit()
269 l->req[i].src.format, in msm_copybit()
270 l->req[i].src_rect.x, in msm_copybit()
271 l->req[i].src_rect.y, in msm_copybit()
272 l->req[i].src_rect.w, in msm_copybit()
273 l->req[i].src_rect.h, in msm_copybit()
274 l->req[i].dst.width, in msm_copybit()
275 l->req[i].dst.height, in msm_copybit()
276 l->req[i].dst.format, in msm_copybit()
277 l->req[i].dst_rect.x, in msm_copybit()
278 l->req[i].dst_rect.y, in msm_copybit()
279 l->req[i].dst_rect.w, in msm_copybit()
280 l->req[i].dst_rect.h, in msm_copybit()
281 l->req[i].flags, in msm_copybit()
282 l->req[i].fps in msm_copybit()
513 (uint32_t)(sizeof(list->req)/sizeof(list->req[0])); in stretch_copybit()
519 mdp_blit_req* req = &list->req[list->count]; in stretch_copybit() local
529 req->color_space = ITU_R_601; in stretch_copybit()
536 req->color_space = metadata->colorSpace; in stretch_copybit()
539 set_infos(ctx, req, flags); in stretch_copybit()
540 set_image(&req->dst, dst); in stretch_copybit()
541 set_image(&req->src, src); in stretch_copybit()
542 if (set_rects(ctx, req, dst_rect, src_rect, &clip) == false) in stretch_copybit()
545 if (req->src_rect.w<=0 || req->src_rect.h<=0) in stretch_copybit()
548 if (req->dst_rect.w<=0 || req->dst_rect.h<=0) in stretch_copybit()
613 mdp_blit_req* req = &list1.req[0]; in clear_copybit() local
615 if(!req) { in clear_copybit()
620 set_image(&req->dst, buf); in clear_copybit()
621 set_image(&req->src, buf); in clear_copybit()
623 if (rect->l < 0 || (uint32_t)(rect->r - rect->l) > req->dst.width || in clear_copybit()
624 rect->t < 0 || (uint32_t)(rect->b - rect->t) > req->dst.height) { in clear_copybit()
630 req->dst_rect.x = rect->l; in clear_copybit()
631 req->dst_rect.y = rect->t; in clear_copybit()
632 req->dst_rect.w = rect->r - rect->l; in clear_copybit()
633 req->dst_rect.h = rect->b - rect->t; in clear_copybit()
635 req->src_rect = req->dst_rect; in clear_copybit()
637 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in clear_copybit()
638 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in clear_copybit()
639 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in clear_copybit()
640 req->const_color.alpha = MDP_ALPHA_NOP; in clear_copybit()
642 req->transp_mask = MDP_TRANSP_NOP; in clear_copybit()
643 req->flags = MDP_SOLID_FILL | MDP_MEMORY_ID_TYPE_FB | MDP_BLEND_FG_PREMULT; in clear_copybit()
679 mdp_blit_req* req = &list->req[list->count++]; in fill_color() local
680 set_infos(ctx, req, MDP_SOLID_FILL); in fill_color()
681 set_image(&req->src, dst); in fill_color()
682 set_image(&req->dst, dst); in fill_color()
684 req->dst_rect.x = rect->l; in fill_color()
685 req->dst_rect.y = rect->t; in fill_color()
686 req->dst_rect.w = rect->r - rect->l; in fill_color()
687 req->dst_rect.h = rect->b - rect->t; in fill_color()
688 req->src_rect = req->dst_rect; in fill_color()
690 req->const_color.r = (uint32_t)((color >> 0) & 0xff); in fill_color()
691 req->const_color.g = (uint32_t)((color >> 8) & 0xff); in fill_color()
692 req->const_color.b = (uint32_t)((color >> 16) & 0xff); in fill_color()
693 req->const_color.alpha = (uint32_t)((color >> 24) & 0xff); in fill_color()
695 if (list->count == sizeof(list->req)/sizeof(list->req[0])) { in fill_color()