Searched refs:invScale (Results 1 – 8 of 8) 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 29 invScale = NumTraits<Scalar>::highest(); in stable_norm_kernel() 30 scale = Scalar(1)/invScale; in stable_norm_kernel() 35 invScale = tmp; in stable_norm_kernel() 42 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel() 159 RealScalar invScale(1); in stableNorm() 167 internal::stable_norm_kernel(this->head(bi), ssq, scale, invScale); in stableNorm() 169 …ent(bi,(min)(blockSize, n - bi)).template forceAlignedAccessIf<Alignment>(), ssq, scale, invScale); in stableNorm()
|
/external/opencv/cv/src/ |
D | cvposit.cpp | 118 float inorm, jnorm, invInorm, invJnorm, invScale, scale = 0, inv_Z = 0; in icvPOSIT() local 236 invScale = 1 / scale; in icvPOSIT() 237 translation[0] = imagePoints[0].x * invScale; in icvPOSIT() 238 translation[1] = imagePoints[0].y * invScale; in icvPOSIT()
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 1307 float invScale = 1 / scale.fY; in Poly2Proc() local 1309 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1310 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc() 1312 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc() 1313 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc() 1324 float invScale = 1 / scale.fX; in Poly3Proc() local 1325 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc() 1326 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc() 1329 invScale = 1 / scale.fY; in Poly3Proc() 1330 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc() [all …]
|
D | SkBitmapScaler.cpp | 131 float invScale = 1.0f / scale; in computeFilters() local 152 float srcPixel = (static_cast<float>(destSubsetI) + 0.5f) * invScale; in computeFilters()
|
D | SkBitmapProcState.cpp | 189 SkScalar invScale = SkScalarSqrt(invScaleSize.width() * invScaleSize.height()); in processMediumRequest() local 191 if (invScale > SK_Scalar1) { in processMediumRequest() 204 SkScalar levelScale = SkScalarInvert(invScale); in processMediumRequest()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
D | FloatToFixed.java | 308 Vector3f invScale = new Vector3f(); in convertPositions() local 309 invScale.set(size).divideLocal(dataTypeSize); in convertPositions() 344 transform.setTranslation(offset.negate().multLocal(invScale)); in convertPositions() 345 transform.setScale(invScale); in convertPositions()
|
/external/skia/src/gpu/ |
D | GrAADistanceFieldPathRenderer.cpp | 469 SkScalar invScale = 1.0f / pathData->fScale; in writePathVertices() local 470 dx *= invScale; in writePathVertices() 471 dy *= invScale; in writePathVertices() 472 width *= invScale; in writePathVertices() 473 height *= invScale; in writePathVertices()
|
/external/aac/libSBRenc/src/ |
D | ps_encode.cpp | 690 INT scale, invScale = CountLeadingBits(invNrg); in calculateICC() local 692 scale = (DFRACT_BITS-1) - invScale; in calculateICC() 693 ICC = fMult(pwrCr[env][i], invNrg<<invScale) ; in calculateICC()
|