Home | History | Annotate | Download | only in source

Lines Matching defs:BLEND

824 #define BLEND(f, b, a) (((256 - a) * b) >> 8) + f
826 // Blend src_argb0 over src_argb1 and store to dst_argb.
839 dst_argb[0] = BLEND(fb, bb, a);
840 dst_argb[1] = BLEND(fg, bg, a);
841 dst_argb[2] = BLEND(fr, br, a);
851 dst_argb[4 + 0] = BLEND(fb, bb, a);
852 dst_argb[4 + 1] = BLEND(fg, bg, a);
853 dst_argb[4 + 2] = BLEND(fr, br, a);
868 dst_argb[0] = BLEND(fb, bb, a);
869 dst_argb[1] = BLEND(fg, bg, a);
870 dst_argb[2] = BLEND(fr, br, a);
874 #undef BLEND