Lines Matching refs:dst

24 static inline void srcover_srgb_srgb_1(uint32_t* dst, uint32_t src) {  in srcover_srgb_srgb_1()  argument
26 *dst = src; in srcover_srgb_srgb_1()
29 auto d = Sk4f_fromS32(*dst), in srcover_srgb_srgb_1()
31 *dst = Sk4f_toS32(s + d * (1.0f - s[3])); in srcover_srgb_srgb_1()
34 static inline void srcover_srgb_srgb_4(uint32_t* dst, const uint32_t* src) { in srcover_srgb_srgb_4() argument
35 srcover_srgb_srgb_1(dst++, *src++); in srcover_srgb_srgb_4()
36 srcover_srgb_srgb_1(dst++, *src++); in srcover_srgb_srgb_4()
37 srcover_srgb_srgb_1(dst++, *src++); in srcover_srgb_srgb_4()
38 srcover_srgb_srgb_1(dst , *src ); in srcover_srgb_srgb_4()
54 uint32_t* dst, const uint32_t* const srcStart, int ndst, const int nsrc) { in srcover_srgb_srgb() argument
60 const uint32_t* end = dst + (count & ~3); in srcover_srgb_srgb()
61 ptrdiff_t delta = src - dst; in srcover_srgb_srgb()
63 while (dst < end) { in srcover_srgb_srgb()
66 uint32_t* start = dst; in srcover_srgb_srgb()
68 store(dst, pixels); in srcover_srgb_srgb()
69 dst += 4; in srcover_srgb_srgb()
70 } while (dst < end in srcover_srgb_srgb()
71 && _mm_testc_si128(pixels = load(dst + delta), alphaMask)); in srcover_srgb_srgb()
72 src += dst - start; in srcover_srgb_srgb()
75 dst += 4; in srcover_srgb_srgb()
77 } while (dst < end in srcover_srgb_srgb()
80 uint32_t* start = dst; in srcover_srgb_srgb()
82 srcover_srgb_srgb_4(dst, dst + delta); in srcover_srgb_srgb()
83 dst += 4; in srcover_srgb_srgb()
84 } while (dst < end in srcover_srgb_srgb()
85 && _mm_testnzc_si128(pixels = load(dst + delta), alphaMask)); in srcover_srgb_srgb()
86 src += dst - start; in srcover_srgb_srgb()
92 srcover_srgb_srgb_1(dst++, *src++); in srcover_srgb_srgb()
129 uint32_t* dst, const uint32_t* const srcStart, int ndst, const int nsrc) { in srcover_srgb_srgb() argument
134 const uint32_t* end = dst + (count & ~3); in srcover_srgb_srgb()
135 const ptrdiff_t delta = src - dst; in srcover_srgb_srgb()
140 uint32_t* start = dst; in srcover_srgb_srgb()
142 store(dst, pixels); in srcover_srgb_srgb()
143 dst += 4; in srcover_srgb_srgb()
144 } while (dst < end && check_opaque_alphas((pixels = load(dst + delta)))); in srcover_srgb_srgb()
145 src += dst - start; in srcover_srgb_srgb()
147 const uint32_t* start = dst; in srcover_srgb_srgb()
149 dst += 4; in srcover_srgb_srgb()
150 } while (dst < end && check_transparent_alphas(pixels = load(dst + delta))); in srcover_srgb_srgb()
151 src += dst - start; in srcover_srgb_srgb()
153 const uint32_t* start = dst; in srcover_srgb_srgb()
155 srcover_srgb_srgb_4(dst, dst + delta); in srcover_srgb_srgb()
156 dst += 4; in srcover_srgb_srgb()
157 } while (dst < end && check_partial_alphas(pixels = load(dst + delta))); in srcover_srgb_srgb()
158 src += dst - start; in srcover_srgb_srgb()
160 } while (dst < end); in srcover_srgb_srgb()
164 srcover_srgb_srgb_1(dst++, *src++); in srcover_srgb_srgb()
172 uint32_t* dst, const uint32_t* const src, int ndst, const int nsrc) { in srcover_srgb_srgb() argument
177 srcover_srgb_srgb_1(dst++, src[i]); in srcover_srgb_srgb()