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

  /external/skia/include/core/
SkMath.h 111 * SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t.
116 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
128 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
134 #define SkMulS16(x, y) ((x) * (y))
146 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1));
157 unsigned prod = SkMulS16(a, b) + 128;
  /external/skia/legacy/include/core/
SkMath.h 152 /** SkMulS16(a, b) multiplies a * b, but requires that a and b are both int16_t.
160 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
172 static inline int32_t SkMulS16(S16CPU x, S16CPU y) {
178 #define SkMulS16(x, y) ((x) * (y))
188 unsigned prod = SkMulS16(a, b) + 1;
198 unsigned prod = SkMulS16(a, b) + 128;
208 unsigned prod = SkMulS16(a, b) + 255;
219 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1));

Completed in 671 milliseconds