Lines Matching refs:alpha
16 U8CPU alpha, int /*x*/, int /*y*/) {
17 SkASSERT(255 == alpha);
30 U8CPU alpha, int /*x*/, int /*y*/) {
31 SkASSERT(255 > alpha);
34 int scale = SkAlpha255To256(alpha);
49 U8CPU alpha, int /*x*/, int /*y*/) {
50 SkASSERT(255 == alpha);
67 U8CPU alpha, int /*x*/, int /*y*/) {
68 SkASSERT(255 > alpha);
76 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha);
77 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale);
78 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale);
79 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
91 int count, U8CPU alpha, int x, int y) {
92 SkASSERT(255 == alpha);
109 int count, U8CPU alpha, int x, int y) {
110 SkASSERT(255 > alpha);
113 int scale = SkAlpha255To256(alpha);
138 int count, U8CPU alpha, int x, int y) {
139 SkASSERT(255 == alpha);
172 int count, U8CPU alpha, int x, int y) {
173 SkASSERT(255 > alpha);
176 int src_scale = SkAlpha255To256(alpha);