Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DStableNorm.h18 …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/skqp/src/core/
DSkPoint3.cpp54 double invScale; in normalize() local
56 invScale = magSq; in normalize()
64 invScale = xx * xx + yy * yy + zz * zz; in normalize()
67 double scale = 1 / sqrt(invScale); in normalize()
DSkRasterPipeline.h127 float invScale; // cache of 1/scale member
/external/skia/src/core/
DSkPoint3.cpp54 double invScale; in normalize() local
56 invScale = magSq; in normalize()
64 invScale = xx * xx + yy * yy + zz * zz; in normalize()
67 double scale = 1 / sqrt(invScale); in normalize()
DSkRasterPipeline.h127 float invScale; // cache of 1/scale member
/external/skqp/tests/
DApplyGammaTest.cpp62 float invScale = 0; in check_gamma() local
65 invScale = 255.0f / alpha; in check_gamma()
69 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
/external/skia/tests/
DApplyGammaTest.cpp62 float invScale = 0; in check_gamma() local
65 invScale = 255.0f / alpha; in check_gamma()
69 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
/external/skia/src/shaders/
DSkImageShader.cpp330 limit_x->invScale = 1.0f / pm.width(); in onAppendStages()
332 limit_y->invScale = 1.0f / pm.height(); in onAppendStages()
/external/skqp/src/shaders/
DSkImageShader.cpp323 limit_x->invScale = 1.0f / pm.width(); in onAppendStages()
325 limit_y->invScale = 1.0f / pm.height(); in onAppendStages()
/external/dng_sdk/source/
Ddng_resample.cpp109 real64 invScale = (real64) srcCount / in Initialize() local
117 real64 y = x * invScale - 0.5 + (real64) srcOrigin; in Initialize()
/external/skia/src/opts/
DSkRasterPipeline_opts.h1811 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat()
1815 auto invLimit = ctx->invScale; in exclusive_mirror()
/external/skqp/src/opts/
DSkRasterPipeline_opts.h1795 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat()
1799 auto invLimit = ctx->invScale; in exclusive_mirror()