Searched refs:SkMulShift (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkMathPriv.h44 e.g. to perform a fixedmul, call SkMulShift(a, b, 16)
46 int32_t SkMulShift(int32_t a, int32_t b, unsigned shift);
H A DSkMatrix.cpp855 #define SkScalarMulShift(a, b, s) SkMulShift(a, b, s)
1037 inv->fMat[kMScaleX] = SkMulShift(fMat[kMScaleY], scale, fixedShift);
1038 inv->fMat[kMSkewX] = SkMulShift(-fMat[kMSkewX], scale, fixedShift);
1039 inv->fMat[kMTransX] = SkMulShift(tx.getShiftRight(33 - clzNumer), scale, sk64shift);
1041 inv->fMat[kMSkewY] = SkMulShift(-fMat[kMSkewY], scale, fixedShift);
1042 inv->fMat[kMScaleY] = SkMulShift(fMat[kMScaleX], scale, fixedShift);
1043 inv->fMat[kMTransY] = SkMulShift(ty.getShiftRight(33 - clzNumer), scale, sk64shift);
H A DSkMath.cpp59 int32_t SkMulShift(int32_t a, int32_t b, unsigned shift) { function
/external/skia/src/core/
H A DSkMathPriv.h44 e.g. to perform a fixedmul, call SkMulShift(a, b, 16)
46 int32_t SkMulShift(int32_t a, int32_t b, unsigned shift);
H A DSkMatrix.cpp855 #define SkScalarMulShift(a, b, s) SkMulShift(a, b, s)
1037 inv->fMat[kMScaleX] = SkMulShift(fMat[kMScaleY], scale, fixedShift);
1038 inv->fMat[kMSkewX] = SkMulShift(-fMat[kMSkewX], scale, fixedShift);
1039 inv->fMat[kMTransX] = SkMulShift(tx.getShiftRight(33 - clzNumer), scale, sk64shift);
1041 inv->fMat[kMSkewY] = SkMulShift(-fMat[kMSkewY], scale, fixedShift);
1042 inv->fMat[kMScaleY] = SkMulShift(fMat[kMScaleX], scale, fixedShift);
1043 inv->fMat[kMTransY] = SkMulShift(ty.getShiftRight(33 - clzNumer), scale, sk64shift);
H A DSkMath.cpp59 int32_t SkMulShift(int32_t a, int32_t b, unsigned shift) { function

Completed in 149 milliseconds