Home | History | Annotate | Download | only in source

Lines Matching defs:BLEND

1887 #define BLEND(f, b, a) (((256 - a) * b) >> 8) + f
1889 // Blend src_argb0 over src_argb1 and store to dst_argb.
1905 dst_argb[0] = BLEND(fb, bb, a);
1906 dst_argb[1] = BLEND(fg, bg, a);
1907 dst_argb[2] = BLEND(fr, br, a);
1917 dst_argb[4 + 0] = BLEND(fb, bb, a);
1918 dst_argb[4 + 1] = BLEND(fg, bg, a);
1919 dst_argb[4 + 2] = BLEND(fr, br, a);
1934 dst_argb[0] = BLEND(fb, bb, a);
1935 dst_argb[1] = BLEND(fg, bg, a);
1936 dst_argb[2] = BLEND(fr, br, a);
1940 #undef BLEND
2131 // Blend 2 rows into 1.