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

  /external/chromium_org/third_party/skia/include/core/
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) {
174 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
180 #define SkMulS16(x, y) ((x) * (y))
192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1));
203 unsigned prod = SkMulS16(a, b) + 128;
  /external/skia/include/core/
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) {
174 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
180 #define SkMulS16(x, y) ((x) * (y))
192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1));
203 unsigned prod = SkMulS16(a, b) + 128;

Completed in 65 milliseconds