Lines Matching refs:blendfactor
489 static inline int blendfactor(uint32_t x, uint32_t size, uint32_t def = 0)
521 r->c[1] = blendfactor(dst->c[1], dst->s[1]);
522 r->c[2] = blendfactor(dst->c[2], dst->s[2]);
523 r->c[3] = blendfactor(dst->c[3], dst->s[3]);
524 r->c[0] = blendfactor(dst->c[0], dst->s[0]);
527 r->c[1] = blendfactor(src->c[1], src->s[1]);
528 r->c[2] = blendfactor(src->c[2], src->s[2]);
529 r->c[3] = blendfactor(src->c[3], src->s[3]);
530 r->c[0] = blendfactor(src->c[0], src->s[0]);
533 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]);
534 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]);
535 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]);
536 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]);
539 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]);
540 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]);
541 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]);
542 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]);
548 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE);
554 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0], FIXED_ONE);
560 r->c[0] = blendfactor(dst->c[0], dst->s[0], FIXED_ONE);
566 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0], FIXED_ONE);