Home
last modified time | relevance | path

Searched refs:invScale (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkBlitter_4444.cpp109 SkPMColor16 other, unsigned invScale, int count) in src_over_4444() argument
113 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
115 *dst = other + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
119 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
130 uint32_t other, unsigned invScale, int count) in src_over_4444x() argument
135 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
137 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
141 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
199 unsigned invScale = 16 - SkAlpha15To16(SkGetPackedA4444(c32)); in blitV() local
204 uint32_t d32 = SkExpand_4444(*device) * invScale; in blitV()
[all …]
DSkMatrix.cpp1420 float invScale = 1 / scale.fY; in Poly2Proc() local
1422 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1423 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc()
1425 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc()
1426 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1437 float invScale = 1 / scale.fX; in Poly3Proc() local
1438 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1439 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1442 invScale = 1 / scale.fY; in Poly3Proc()
1443 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc()
[all …]