/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMathPriv.h | 50 unsigned prod = SkMulS16(a, b) + 1; 60 unsigned prod = SkMulS16(a, b) + 255;
|
H A D | SkBlitRow_D16.cpp | 78 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 79 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 80 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|
H A D | SkScan_Antihair.cpp | 37 return SkMulS16(value, dot6) >> 6;
|
H A D | SkXfermode.cpp | 35 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128;
|
/external/skia/src/core/ |
H A D | SkMathPriv.h | 50 unsigned prod = SkMulS16(a, b) + 1; 60 unsigned prod = SkMulS16(a, b) + 255;
|
H A D | SkBlitRow_D16.cpp | 78 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 79 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 80 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|
H A D | SkScan_Antihair.cpp | 37 return SkMulS16(value, dot6) >> 6;
|
H A D | SkXfermode.cpp | 35 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128;
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkMath.h | 157 * SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t. 162 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { function 174 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { function 180 #define SkMulS16(x, y) ((x) * (y)) macro 192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 203 unsigned prod = SkMulS16(a, b) + 128;
|
H A D | SkColorPriv.h | 196 #define SkAlphaMul(value, alpha256) (SkMulS16(value, alpha256) >> 8) 216 int prod = SkMulS16(src - dst, alpha) + 128;
|
/external/skia/include/core/ |
H A D | SkMath.h | 157 * SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t. 162 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { function 174 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { function 180 #define SkMulS16(x, y) ((x) * (y)) macro 192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 203 unsigned prod = SkMulS16(a, b) + 128;
|
H A D | SkColorPriv.h | 196 #define SkAlphaMul(value, alpha256) (SkMulS16(value, alpha256) >> 8) 216 int prod = SkMulS16(src - dst, alpha) + 128;
|
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBlitRow_opts_mips_dsp.cpp | 756 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + 757 SkMulS16(SkGetPackedR16(dc), dst_scale); 758 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + 759 SkMulS16(SkGetPackedG16(dc), dst_scale); 760 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + 761 SkMulS16(SkGetPackedB16(dc), dst_scale);
|
H A D | SkBlitRow_opts_arm_neon.cpp | 485 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 486 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 487 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|
/external/skia/src/opts/ |
H A D | SkBlitRow_opts_mips_dsp.cpp | 756 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + 757 SkMulS16(SkGetPackedR16(dc), dst_scale); 758 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + 759 SkMulS16(SkGetPackedG16(dc), dst_scale); 760 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + 761 SkMulS16(SkGetPackedB16(dc), dst_scale);
|
H A D | SkBlitRow_opts_arm_neon.cpp | 485 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 486 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 487 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|