Searched refs:src_scale (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/src/core/ |
D | SkBlitRow_D32.cpp | 31 const unsigned src_scale) { in SkPMLerp_SSE2() argument 44 __m128i s = _mm_set1_epi16(src_scale); in SkPMLerp_SSE2() 87 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() local 91 dst_scale = _mm_mullo_epi16(dst_scale, src_scale); in SkBlendARGB32_SSE2() 108 src_rb = _mm_mullo_epi16(src_rb, src_scale); in SkBlendARGB32_SSE2() 109 src_ag = _mm_mullo_epi16(src_ag, src_scale); in SkBlendARGB32_SSE2() 154 uint16_t src_scale = SkAlpha255To256(alpha); in blit_row_s32_blend() local 155 uint16_t dst_scale = 256 - src_scale; in blit_row_s32_blend() 165 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend() 187 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
|
/third_party/flutter/skia/src/core/ |
D | SkBlitRow_D32.cpp | 32 const unsigned src_scale) { in SkPMLerp_SSE2() argument 45 __m128i s = _mm_set1_epi16(src_scale); in SkPMLerp_SSE2() 88 __m128i src_scale = _mm_set1_epi16(alpha); in SkBlendARGB32_SSE2() local 92 dst_scale = _mm_mullo_epi16(dst_scale, src_scale); in SkBlendARGB32_SSE2() 109 src_rb = _mm_mullo_epi16(src_rb, src_scale); in SkBlendARGB32_SSE2() 110 src_ag = _mm_mullo_epi16(src_ag, src_scale); in SkBlendARGB32_SSE2() 155 uint16_t src_scale = SkAlpha255To256(alpha); in blit_row_s32_blend() local 156 uint16_t dst_scale = 256 - src_scale; in blit_row_s32_blend() 166 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend() 188 vsrc_wide = vmulq_u16(vsrc_wide, vdupq_n_u16(src_scale)); in blit_row_s32_blend()
|
/third_party/skia/include/private/ |
D | SkColorData.h | 278 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() local 279 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32() 283 uint32_t src_rb = (src & mask) * src_scale; in SkBlendARGB32() 284 uint32_t src_ag = ((src >> 8) & mask) * src_scale; in SkBlendARGB32()
|
/third_party/flutter/skia/include/private/ |
D | SkColorData.h | 282 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() local 283 unsigned dst_scale = SkAlphaMulInv256(SkGetPackedA32(src), src_scale); in SkBlendARGB32() 287 uint32_t src_rb = (src & mask) * src_scale; in SkBlendARGB32() 288 uint32_t src_ag = ((src >> 8) & mask) * src_scale; in SkBlendARGB32()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 977 double src_scale = lp_const_scale(src_type); in lp_build_conv() local 996 if (src_scale != 1.0) { in lp_build_conv() 997 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, 1.0/src_scale); in lp_build_conv()
|