HomeSort by relevance Sort by last modified time
    Searched defs:src_scale (Results 1 - 9 of 9) sorted by null

  /external/skia/src/core/
SkBlitRow_D32.cpp 27 unsigned src_scale = SkAlpha255To256(alpha); local
28 unsigned dst_scale = 256 - src_scale;
32 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale);
39 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale);
41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale);
46 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
SkBlitRow_D4444.cpp 77 int src_scale = SkAlpha255To256(alpha) >> 4; local
83 unsigned dst_scale = 16 - (SkGetPackedA32(sc) * src_scale >> 8);
84 uint32_t src_expand = SkExpand32_4444(sc) * src_scale;
172 int src_scale = SkAlpha255To256(alpha) >> 4; local
181 unsigned dst_scale = 16 - SkAlphaMul(src_scale, a);
182 uint32_t src_expand = SkExpand32_4444(c) * src_scale;
SkBlitRow_D16.cpp 176 int src_scale = SkAlpha255To256(alpha); local
185 int dst_scale = SkAlpha255To256(255 - SkAlphaMul(sa, src_scale));
195 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8;
196 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8;
197 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8;
SkBlitter_A8.cpp 276 int src_scale = SkAlpha255To256(aa); local
278 int dst_scale = 256 - SkAlphaMul(sa, src_scale);
280 return SkToU8((sa * src_scale + da * dst_scale) >> 8);
SkBlitter_4444.cpp 22 unsigned src_scale = SkAlpha255To256(aa) >> 4; local
23 unsigned dst_scale = SkAlpha15To16(15 - SkAlphaMul4(SkGetPackedA4444(src), src_scale));
25 uint32_t src32 = SkExpand_4444(src) * src_scale;
  /external/srec/srec/include/
frontapi.h 73 float src_scale; member in struct:__anon13959
    [all...]
  /external/skia/src/opts/
SkBlitRow_opts_SSE2.cpp 26 uint32_t src_scale = SkAlpha255To256(alpha); local
27 uint32_t dst_scale = 256 - src_scale;
32 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
44 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8);
104 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale);
252 uint32_t src_scale = SkAlpha255To256(alpha); local
256 __m128i src_scale_wide = _mm_set1_epi16(src_scale << 8);
278 // dst_alpha = dst_alpha * src_scale
295 // where rs.h stands for the higher byte of r * src_scale,
296 // and bs.h the higher byte of b * src_scale
    [all...]
SkBlitRow_opts_arm.cpp 247 "vmul.u16 q2, q14, d2[0] \n\t" // sa * src_scale
248 "vmul.u16 q11, q11, d2[0] \n\t" // red result = src_red * src_scale
249 "vmul.u16 q12, q12, d2[0] \n\t" // grn result = src_grn * src_scale
250 "vmul.u16 q13, q13, d2[0] \n\t" // blu result = src_blu * src_scale
252 "vshr.u16 q2, q2, #8 \n\t" // sa * src_scale >> 8
253 "vsub.u16 q2, q3, q2 \n\t" // 255 - (sa * src_scale >> 8)
1336 uint16_t src_scale = SkAlpha255To256(alpha); local
    [all...]
  /external/skia/include/core/
SkColorPriv.h 311 unsigned src_scale = SkAlpha255To256(aa); local
312 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale));
314 return SkAlphaMulQ(src, src_scale) + SkAlphaMulQ(dst, dst_scale);

Completed in 640 milliseconds