Searched refs:invScale (Results 1 – 14 of 14) sorted by relevance
/external/eigen/Eigen/src/Core/ |
D | StableNorm.h | 18 …ine void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invScale) in stable_norm_kernel() argument 28 invScale = NumTraits<Scalar>::highest(); in stable_norm_kernel() 29 scale = Scalar(1)/invScale; in stable_norm_kernel() 33 invScale = Scalar(1); in stable_norm_kernel() 39 invScale = tmp; in stable_norm_kernel() 50 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel() 163 RealScalar invScale(1); in stableNorm() 185 internal::stable_norm_kernel(copy.head(bi), ssq, scale, invScale); in stableNorm() 187 …orm_kernel(SegmentWrapper(copy.segment(bi,numext::mini(blockSize, n - bi))), ssq, scale, invScale); in stableNorm()
|
/external/skia/tests/ |
D | ApplyGammaTest.cpp | 63 float invScale = 0; in check_gamma() local 66 invScale = 255.0f / alpha; in check_gamma() 70 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
|
/external/skqp/tests/ |
D | ApplyGammaTest.cpp | 48 float invScale = 0; in check_gamma() local 51 invScale = 255.0f / alpha; in check_gamma() 55 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 1319 float invScale = 1 / scale.fY; in Poly2Proc() local 1321 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1322 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc() 1324 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc() 1325 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1336 float invScale = 1 / scale.fX; in Poly3Proc() local 1337 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc() 1338 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc() 1341 invScale = 1 / scale.fY; in Poly3Proc() 1342 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc() [all …]
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 1318 float invScale = 1 / scale.fY; in Poly2Proc() local 1320 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1321 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc() 1323 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc() 1324 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1335 float invScale = 1 / scale.fX; in Poly3Proc() local 1336 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc() 1337 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc() 1340 invScale = 1 / scale.fY; in Poly3Proc() 1341 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc() [all …]
|
/external/skqp/src/jumper/ |
D | SkJumper.h | 69 float invScale; // cache of 1/scale member
|
D | SkJumper_stages.cpp | 1812 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat() 1816 auto invLimit = ctx->invScale; in exclusive_mirror()
|
/external/skia/src/jumper/ |
D | SkJumper.h | 69 float invScale; // cache of 1/scale member
|
D | SkJumper_stages.cpp | 1814 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat() 1818 auto invLimit = ctx->invScale; in exclusive_mirror()
|
/external/skqp/src/shaders/ |
D | SkImageShader.cpp | 324 limit_x->invScale = 1.0f / pm.width(); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY() 326 limit_y->invScale = 1.0f / pm.height(); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
|
/external/skia/src/shaders/ |
D | SkImageShader.cpp | 364 limit_x->invScale = 1.0f / pm.width(); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY() 366 limit_y->invScale = 1.0f / pm.height(); in SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY()
|
/external/dng_sdk/source/ |
D | dng_resample.cpp | 109 real64 invScale = (real64) srcCount / in Initialize() local 117 real64 y = x * invScale - 0.5 + (real64) srcOrigin; in Initialize()
|
/external/skqp/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 766 SkScalar invScale = SkScalarInvert(maxScale); in drawDFPosText() local 767 modMatrix.preScale(invScale, invScale); in drawDFPosText()
|
/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 898 SkScalar invScale = SkScalarInvert(fMaxScale); in drawText() local 899 modMatrix.preScale(invScale, invScale); in drawText()
|