/external/chromium_org/third_party/skia/src/core/ |
SkBlitRow_D32.cpp | 29 unsigned src_scale = SkAlpha255To256(alpha); local 30 unsigned dst_scale = 256 - src_scale; 34 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 43 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 48 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
|
SkBlitRow_D16.cpp | 177 int src_scale = SkAlpha255To256(alpha); local 186 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale)); 196 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; 197 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; 198 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8;
|
SkBlitter_A8.cpp | 278 int src_scale = SkAlpha255To256(aa); local 280 int dst_scale = 256 - SkAlphaMul(sa, src_scale); 282 return SkToU8((sa * src_scale + da * dst_scale) >> 8);
|
/external/skia/src/core/ |
SkBlitRow_D32.cpp | 29 unsigned src_scale = SkAlpha255To256(alpha); local 30 unsigned dst_scale = 256 - src_scale; 34 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 43 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 48 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
|
SkBlitRow_D16.cpp | 177 int src_scale = SkAlpha255To256(alpha); local 186 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale)); 196 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; 197 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; 198 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8;
|
SkBlitter_A8.cpp | 278 int src_scale = SkAlpha255To256(aa); local 280 int dst_scale = 256 - SkAlphaMul(sa, src_scale); 282 return SkToU8((sa * src_scale + da * dst_scale) >> 8);
|
/external/srec/srec/include/ |
frontapi.h | 73 float src_scale; member in struct:__anon34825 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_conv.c | 652 double src_scale = lp_const_scale(src_type); local 671 if (src_scale != 1.0) { 672 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, 1.0/src_scale);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_conv.c | 652 double src_scale = lp_const_scale(src_type); local 671 if (src_scale != 1.0) { 672 LLVMValueRef scale = lp_build_const_vec(gallivm, tmp_type, 1.0/src_scale);
|
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 27 uint32_t src_scale = SkAlpha255To256(alpha); local 28 uint32_t dst_scale = 256 - src_scale; 33 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 45 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8); 105 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 253 uint32_t src_scale = SkAlpha255To256(alpha); local 257 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8); 279 // dst_alpha = dst_alpha * src_scale 296 // where rs.h stands for the higher byte of r * src_scale, 297 // and bs.h the higher byte of b * src_scale [all...] |
SkBlitRow_opts_arm_neon.cpp | 442 // calc src * src_scale 450 vres_a = valpha_max - vres_a; // 255 - (sa * src_scale) / 255 930 uint16_t src_scale = SkAlpha255To256(alpha); local [all...] |
SkXfermode_opts_arm_neon.cpp | 241 uint16x8_t src_scale; local 243 src_scale = vsubw_u8(vdupq_n_u16(256), dst.val[NEON_A]); 245 ret.val[NEON_A] = dst.val[NEON_A] + SkAlphaMul_neon8(src.val[NEON_A], src_scale); 246 ret.val[NEON_R] = dst.val[NEON_R] + SkAlphaMul_neon8(src.val[NEON_R], src_scale); 247 ret.val[NEON_G] = dst.val[NEON_G] + SkAlphaMul_neon8(src.val[NEON_G], src_scale); 248 ret.val[NEON_B] = dst.val[NEON_B] + SkAlphaMul_neon8(src.val[NEON_B], src_scale);
|
/external/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 27 uint32_t src_scale = SkAlpha255To256(alpha); local 28 uint32_t dst_scale = 256 - src_scale; 33 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 45 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8); 105 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 253 uint32_t src_scale = SkAlpha255To256(alpha); local 257 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8); 279 // dst_alpha = dst_alpha * src_scale 296 // where rs.h stands for the higher byte of r * src_scale, 297 // and bs.h the higher byte of b * src_scale [all...] |
SkBlitRow_opts_arm_neon.cpp | 442 // calc src * src_scale 450 vres_a = valpha_max - vres_a; // 255 - (sa * src_scale) / 255 930 uint16_t src_scale = SkAlpha255To256(alpha); local [all...] |
SkXfermode_opts_arm_neon.cpp | 241 uint16x8_t src_scale; local 243 src_scale = vsubw_u8(vdupq_n_u16(256), dst.val[NEON_A]); 245 ret.val[NEON_A] = dst.val[NEON_A] + SkAlphaMul_neon8(src.val[NEON_A], src_scale); 246 ret.val[NEON_R] = dst.val[NEON_R] + SkAlphaMul_neon8(src.val[NEON_R], src_scale); 247 ret.val[NEON_G] = dst.val[NEON_G] + SkAlphaMul_neon8(src.val[NEON_G], src_scale); 248 ret.val[NEON_B] = dst.val[NEON_B] + SkAlphaMul_neon8(src.val[NEON_B], src_scale);
|
/external/chromium_org/third_party/skia/include/core/ |
SkColorPriv.h | 544 unsigned src_scale = SkAlpha255To256(aa); local 545 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); 547 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); [all...] |
/external/skia/include/core/ |
SkColorPriv.h | 544 unsigned src_scale = SkAlpha255To256(aa); local 545 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); 547 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); [all...] |