Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter_4444.cpp106 SkPMColor16 other, unsigned invScale, int count) in src_over_4444() argument
110 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
112 *dst = other + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
116 *dst = color + SkAlphaMulQ4(*dst, invScale); in src_over_4444()
127 uint32_t other, unsigned invScale, int count) in src_over_4444x() argument
132 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
134 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
138 tmp = SkExpand_4444(*dst) * invScale; in src_over_4444x()
196 unsigned invScale = 16 - SkAlpha15To16(SkGetPackedA4444(c32)); in blitV() local
201 uint32_t d32 = SkExpand_4444(*device) * invScale; in blitV()
[all …]
DSkMatrix.cpp1435 float invScale = 1 / scale.fY; in Poly2Proc() local
1437 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1438 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc()
1440 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc()
1441 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1452 float invScale = 1 / scale.fX; in Poly3Proc() local
1453 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1454 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1457 invScale = 1 / scale.fY; in Poly3Proc()
1458 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc()
[all …]