Lines Matching refs:dst_scale
266 // dst_scale = q2
268 "vmla.u16 q11, q8, q2 \n\t" // red result += dst_red * dst_scale
269 "vmla.u16 q12, q9, q2 \n\t" // grn result += dst_grn * dst_scale
270 "vmla.u16 q13, q10, q2 \n\t" // blu result += dst_blu * dst_scale
304 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha);
305 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale);
306 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale);
307 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
707 "mul r11, r11, r9 \n\t" /* ag = r11 times dst_scale (r9) */
708 "mul r4, r4, r9 \n\t" /* rb = r4 times dst_scale (r9) */
711 "orr r9, r11, r4 \n\t" /* r9 = (dst1, dst_scale) */
731 "mul r11, r11, r10 \n\t" /* ag = r11 times dst_scale (r10) */
732 "mul r4, r4, r10 \n\t" /* rb = r4 times dst_scale (r6) */
735 "orr r10, r11, r4 \n\t" /* r10 = (dst2, dst_scale) */
768 /* dst, dst_scale */
775 "orr r7, r8, r9 \n\t" /* r7 = (dst, dst_scale) */
802 uint16_t dst_scale = 256 - src_scale;
835 dst_wide = vmlaq_u16(src_wide, dst_wide, vdupq_n_u16(dst_scale));
854 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
859 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);