Searched refs:invScale (Results 1 – 12 of 12) 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/skqp/src/core/ |
D | SkPoint3.cpp | 54 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()
|
D | SkRasterPipeline.h | 127 float invScale; // cache of 1/scale member
|
/external/skia/src/core/ |
D | SkPoint3.cpp | 54 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()
|
D | SkRasterPipeline.h | 127 float invScale; // cache of 1/scale member
|
/external/skqp/tests/ |
D | ApplyGammaTest.cpp | 62 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/ |
D | ApplyGammaTest.cpp | 62 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/ |
D | SkImageShader.cpp | 330 limit_x->invScale = 1.0f / pm.width(); in onAppendStages() 332 limit_y->invScale = 1.0f / pm.height(); in onAppendStages()
|
/external/skqp/src/shaders/ |
D | SkImageShader.cpp | 323 limit_x->invScale = 1.0f / pm.width(); in onAppendStages() 325 limit_y->invScale = 1.0f / pm.height(); in onAppendStages()
|
/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/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 1811 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat() 1815 auto invLimit = ctx->invScale; in exclusive_mirror()
|
/external/skqp/src/opts/ |
D | SkRasterPipeline_opts.h | 1795 return v - floor_(v*ctx->invScale)*ctx->scale; in exclusive_repeat() 1799 auto invLimit = ctx->invScale; in exclusive_mirror()
|