/external/skia/tests/ |
ColorTest.cpp | 21 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 22 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 35 unsigned dr = SkMulS16(SkGetPackedR32(sc), alpha) + SkMulS16(SkGetPackedR16(dc) << 3, dst_scale); 36 unsigned dg = SkMulS16(SkGetPackedG32(sc), alpha) + SkMulS16(SkGetPackedG16(dc) << 2, dst_scale); 49 unsigned dr = SkMulS16(SkGetPackedR32(sc), alpha) + SkMulS16(GetPackedR16As32(dc), dst_scale) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkMath.h | 126 * SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t. 131 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { 143 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { 149 #define SkMulS16(x, y) ((x) * (y)) 161 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 172 unsigned prod = SkMulS16(a, b) + 128;
|
SkColorPriv.h | 61 #define SkAlphaMul(value, alpha256) (SkMulS16(value, alpha256) >> 8) 81 int prod = SkMulS16(src - dst, alpha) + 128;
|
/external/skia/include/core/ |
SkMath.h | 126 * SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t. 131 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { 143 static inline int32_t SkMulS16(S16CPU x, S16CPU y) { 149 #define SkMulS16(x, y) ((x) * (y)) 161 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); 172 unsigned prod = SkMulS16(a, b) + 128;
|
SkColorPriv.h | 61 #define SkAlphaMul(value, alpha256) (SkMulS16(value, alpha256) >> 8) 81 int prod = SkMulS16(src - dst, alpha) + 128;
|
/external/chromium_org/third_party/skia/src/core/ |
SkMathPriv.h | 60 unsigned prod = SkMulS16(a, b) + 1; 70 unsigned prod = SkMulS16(a, b) + 255;
|
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);
|
SkScan_Antihair.cpp | 37 return SkMulS16(value, dot6) >> 6;
|
SkXfermode.cpp | 28 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128; [all...] |
/external/skia/src/core/ |
SkMathPriv.h | 60 unsigned prod = SkMulS16(a, b) + 1; 70 unsigned prod = SkMulS16(a, b) + 255;
|
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);
|
SkScan_Antihair.cpp | 37 return SkMulS16(value, dot6) >> 6;
|
SkXfermode.cpp | 28 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128; [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 299 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 300 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 301 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale); [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 299 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 300 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 301 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale); [all...] |