Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:req

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