/external/skia/src/core/ |
D | SkSpriteBlitter_RGB16.cpp | 32 unsigned src_scale) { in D16_S32A_Blend_Pixel_helper() argument 38 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 39 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 40 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 42 unsigned dst_scale = 255 - SkAlphaMul(sa, src_scale); in D16_S32A_Blend_Pixel_helper() 43 dr = (SkPacked32ToR16(sc) * src_scale + in D16_S32A_Blend_Pixel_helper() 45 dg = (SkPacked32ToG16(sc) * src_scale + in D16_S32A_Blend_Pixel_helper() 47 db = (SkPacked32ToB16(sc) * src_scale + in D16_S32A_Blend_Pixel_helper() 53 #define D16_S32A_Blend_Pixel(dst, sc, src_scale) \ argument 54 do { if (sc) D16_S32A_Blend_Pixel_helper(dst, sc, src_scale); } while (0) [all …]
|
D | SkBlitRow_D4444.cpp | 70 int src_scale = SkAlpha255To256(alpha) >> 4; in S32A_D4444_Blend() local 76 unsigned dst_scale = 16 - (SkGetPackedA32(sc) * src_scale >> 8); in S32A_D4444_Blend() 77 uint32_t src_expand = SkExpand32_4444(sc) * src_scale; in S32A_D4444_Blend() 165 int src_scale = SkAlpha255To256(alpha) >> 4; in S32A_D4444_Blend_Dither() local 174 unsigned dst_scale = 16 - SkAlphaMul(src_scale, a); in S32A_D4444_Blend_Dither() 175 uint32_t src_expand = SkExpand32_4444(c) * src_scale; in S32A_D4444_Blend_Dither()
|
D | SkBlitRow_D32.cpp | 19 unsigned src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32() local 20 unsigned dst_scale = 256 - src_scale; in S32_Blend_BlitRow32() 24 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 31 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 33 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32() 38 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32()
|
D | SkBlitRow_D16.cpp | 169 int src_scale = SkAlpha255To256(alpha); in S32A_D565_Blend_Dither() local 178 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale)); in S32A_D565_Blend_Dither() 188 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither() 189 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither() 190 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkBlitter_A8.cpp | 284 int src_scale = SkAlpha255To256(aa); in aa_blend8() local 286 int dst_scale = 256 - SkAlphaMul(sa, src_scale); in aa_blend8() 288 return SkToU8((sa * src_scale + da * dst_scale) >> 8); in aa_blend8()
|
D | SkBlitter_4444.cpp | 30 unsigned src_scale = SkAlpha255To256(aa) >> 4; in SkBlendARGB4444() local 31 unsigned dst_scale = SkAlpha15To16(15 - SkAlphaMul4(SkGetPackedA4444(src), src_scale)); in SkBlendARGB4444() 33 uint32_t src32 = SkExpand_4444(src) * src_scale; in SkBlendARGB4444()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_SSE2.cpp | 35 uint32_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_SSE2() local 36 uint32_t dst_scale = 256 - src_scale; in S32_Blend_BlitRow32_SSE2() 41 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2() 50 __m128i src_scale_wide = _mm_set1_epi16(src_scale); in S32_Blend_BlitRow32_SSE2() 93 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_SSE2() 241 uint32_t src_scale = SkAlpha255To256(alpha); in S32A_Blend_BlitRow32_SSE2() local 245 __m128i src_scale_wide = _mm_set1_epi16(src_scale); in S32A_Blend_BlitRow32_SSE2()
|
D | SkBlitRow_opts_arm.cpp | 801 uint16_t src_scale = SkAlpha255To256(alpha); in S32_Blend_BlitRow32_neon() local 802 uint16_t dst_scale = 256 - src_scale; in S32_Blend_BlitRow32_neon() 828 src_wide = vmulq_u16 (src_wide, vdupq_n_u16(src_scale)); in S32_Blend_BlitRow32_neon() 854 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_neon() 859 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); in S32_Blend_BlitRow32_neon()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 237 unsigned src_scale = SkAlpha255To256(aa); in SkBlendARGB32() local 238 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); in SkBlendARGB32() 240 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale); in SkBlendARGB32()
|
/external/srec/srec/cfront/ |
D | ca_front.c | 55 hFrontend->src_scale = srcscale; in CA_AllocateFrontend()
|
D | ca_wave.c | 74 hWave->data.scale = hFrontend->src_scale; in CA_ConfigureWave()
|
/external/srec/srec/include/ |
D | frontapi.h | 73 float src_scale; member
|