Searched refs:dst_scale (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/opts/ |
D | SkColor_opts_SSE2.h | 254 __m128i dst_scale = SkGetPackedA32_SSE2(src); in SkBlendARGB32_SSE2() local 256 dst_scale = _mm_mullo_epi16(dst_scale, src_scale); in SkBlendARGB32_SSE2() 257 dst_scale = _mm_sub_epi32(_mm_set1_epi32(0xFFFF), dst_scale); in SkBlendARGB32_SSE2() 258 dst_scale = _mm_add_epi32(dst_scale, _mm_srli_epi32(dst_scale, 8)); in SkBlendARGB32_SSE2() 259 dst_scale = _mm_srli_epi32(dst_scale, 8); in SkBlendARGB32_SSE2() 261 dst_scale = _mm_shufflelo_epi16(dst_scale, _MM_SHUFFLE(2, 2, 0, 0)); in SkBlendARGB32_SSE2() 262 dst_scale = _mm_shufflehi_epi16(dst_scale, _MM_SHUFFLE(2, 2, 0, 0)); in SkBlendARGB32_SSE2() 275 dst_rb = _mm_mullo_epi16(dst_rb, dst_scale); in SkBlendARGB32_SSE2() 276 dst_ag = _mm_mullo_epi16(dst_ag, dst_scale); in SkBlendARGB32_SSE2()
|
D | SkBlitRow_opts_arm_neon.cpp | 33 uint16_t dst_scale = 256 - src_scale; in S32_Blend_BlitRow32_neon() local 55 vdst_wide = vmull_u8(vdst, vdup_n_u8(dst_scale)); in S32_Blend_BlitRow32_neon() 80 vdst_wide = vmull_u8(vdst, vdup_n_u8(dst_scale)); in S32_Blend_BlitRow32_neon() 106 unsigned dst_scale; in S32A_Blend_BlitRow32_neon() local 113 dst_scale = vget_lane_u8(vsrc, 3); in S32A_Blend_BlitRow32_neon() 114 dst_scale = SkAlphaMulInv256(dst_scale, alpha256); in S32A_Blend_BlitRow32_neon() 122 vdst_wide = vmulq_n_u16(vdst_wide, dst_scale); in S32A_Blend_BlitRow32_neon()
|
/external/skia/src/core/ |
D | SkBlitter_ARGB32.cpp | 146 #define blend_8_pixels(mask, dst, sc, dst_scale) \ argument 148 if (mask & 0x80) { dst[0] = sc + SkAlphaMulQ(dst[0], dst_scale); } \ 149 if (mask & 0x40) { dst[1] = sc + SkAlphaMulQ(dst[1], dst_scale); } \ 150 if (mask & 0x20) { dst[2] = sc + SkAlphaMulQ(dst[2], dst_scale); } \ 151 if (mask & 0x10) { dst[3] = sc + SkAlphaMulQ(dst[3], dst_scale); } \ 152 if (mask & 0x08) { dst[4] = sc + SkAlphaMulQ(dst[4], dst_scale); } \ 153 if (mask & 0x04) { dst[5] = sc + SkAlphaMulQ(dst[5], dst_scale); } \ 154 if (mask & 0x02) { dst[6] = sc + SkAlphaMulQ(dst[6], dst_scale); } \ 155 if (mask & 0x01) { dst[7] = sc + SkAlphaMulQ(dst[7], dst_scale); } \ 159 #define SK_BLITBWMASK_ARGS , uint32_t sc, unsigned dst_scale [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 836 double dst_scale = lp_const_scale(dst_type); in lp_build_conv() local 838 if (dst_scale != 1.0) { in lp_build_conv() 839 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, dst_scale); in lp_build_conv()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 590 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32() local 597 uint32_t dst_rb = (dst & mask) * dst_scale; in SkBlendARGB32() 598 uint32_t dst_ag = ((dst >> 8) & mask) * dst_scale; in SkBlendARGB32()
|