Home
last modified time | relevance | path

Searched refs:invScale (Results 1 – 7 of 7) 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()
54 …rm_impl_inner_step(const VectorType &vec, RealScalar& ssq, RealScalar& scale, RealScalar& invScale) in stable_norm_impl_inner_step() argument
75 internal::stable_norm_kernel(copy.head(bi), ssq, scale, invScale); in stable_norm_impl_inner_step()
77 …orm_kernel(SegmentWrapper(copy.segment(bi,numext::mini(blockSize, n - bi))), ssq, scale, invScale); in stable_norm_impl_inner_step()
94 RealScalar invScale(1);
[all …]
/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()
DSkRasterPipelineOpContexts.h51 float invScale; // cache of 1/scale member
/external/skia/tests/
DApplyGammaTest.cpp71 float invScale = 0; in check_gamma() local
74 invScale = 255.0f / alpha; in check_gamma()
78 float srcComponent = ((src & (0xff << (c * 8))) >> (c * 8)) * invScale; in check_gamma()
/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/shaders/
DSkImageShader.cpp497 limitX->invScale = 1.0f / pm.width(); in allocAndInit()
499 limitY->invScale = 1.0f / pm.height(); in allocAndInit()
/external/skia/src/opts/
DSkRasterPipeline_opts.h2764 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat()
2768 auto invLimit = ctx->invScale; in exclusive_mirror()