Searched refs:SkMulS16 (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkMathPriv.h50 unsigned prod = SkMulS16(a, b) + 1;
60 unsigned prod = SkMulS16(a, b) + 255;
H A DSkBlitRow_D16.cpp78 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 DSkScan_Antihair.cpp37 return SkMulS16(value, dot6) >> 6;
H A DSkXfermode.cpp35 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128;
/external/skia/src/core/
H A DSkMathPriv.h50 unsigned prod = SkMulS16(a, b) + 1;
60 unsigned prod = SkMulS16(a, b) + 255;
H A DSkBlitRow_D16.cpp78 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 DSkScan_Antihair.cpp37 return SkMulS16(value, dot6) >> 6;
H A DSkXfermode.cpp35 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128;
/external/chromium_org/third_party/skia/include/core/
H A DSkMath.h157 * 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 DSkColorPriv.h196 #define SkAlphaMul(value, alpha256) (SkMulS16(value, alpha256) >> 8)
216 int prod = SkMulS16(src - dst, alpha) + 128;
/external/skia/include/core/
H A DSkMath.h157 * 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 DSkColorPriv.h196 #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 DSkBlitRow_opts_mips_dsp.cpp756 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 DSkBlitRow_opts_arm_neon.cpp485 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 DSkBlitRow_opts_mips_dsp.cpp756 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 DSkBlitRow_opts_arm_neon.cpp485 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);

Completed in 322 milliseconds