Lines Matching full:blendfactor
528 static inline int blendfactor(uint32_t x, uint32_t size, uint32_t def = 0)
560 r->c[1] = blendfactor(dst->c[1], dst->s[1]);
561 r->c[2] = blendfactor(dst->c[2], dst->s[2]);
562 r->c[3] = blendfactor(dst->c[3], dst->s[3]);
563 r->c[0] = blendfactor(dst->c[0], dst->s[0]);
566 r->c[1] = blendfactor(src->c[1], src->s[1]);
567 r->c[2] = blendfactor(src->c[2], src->s[2]);
568 r->c[3] = blendfactor(src->c[3], src->s[3]);
569 r->c[0] = blendfactor(src->c[0], src->s[0]);
572 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]);
573 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]);
574 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]);
575 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]);
578 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]);
579 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]);
580 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]);
581 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]);
587 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE);
593 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0], FIXED_ONE);
599 r->c[0] = blendfactor(dst->c[0], dst->s[0], FIXED_ONE);
605 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0], FIXED_ONE);