Home | History | Annotate | Download | only in libcopybit

Lines Matching refs:req

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