Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/Core/
DStableNorm.h17 …ine void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invScale) in stable_norm_kernel() argument
24 invScale = Scalar(1)/scale; in stable_norm_kernel()
28 ssq += (bl*invScale).squaredNorm(); in stable_norm_kernel()
49 RealScalar invScale(1); in stableNorm()
57 internal::stable_norm_kernel(this->head(bi), ssq, scale, invScale); in stableNorm()
59 …ent(bi,(min)(blockSize, n - bi)).template forceAlignedAccessIf<Alignment>(), ssq, scale, invScale); in stableNorm()
/external/opencv/cv/src/
Dcvposit.cpp118 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/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java308 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/core/
DSkMatrix.cpp1709 float invScale = 1 / scale.fY; in Poly2Proc() local
1711 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1712 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc()
1714 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc()
1715 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1726 float invScale = 1 / scale.fX; in Poly3Proc() local
1727 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1728 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1731 invScale = 1 / scale.fY; in Poly3Proc()
1732 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc()
[all …]
DSkBitmapScaler.cpp126 float invScale = 1.0f / scale; in computeFilters() local
147 float srcPixel = (static_cast<float>(destSubsetI) + 0.5f) * invScale; in computeFilters()
/external/chromium_org/third_party/skia/src/core/
DSkMatrix.cpp1709 float invScale = 1 / scale.fY; in Poly2Proc() local
1711 dst->fMat[kMScaleX] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1712 dst->fMat[kMSkewY] = (srcPt[0].fX - srcPt[1].fX) * invScale; in Poly2Proc()
1714 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly2Proc()
1715 dst->fMat[kMScaleY] = (srcPt[1].fY - srcPt[0].fY) * invScale; in Poly2Proc()
1726 float invScale = 1 / scale.fX; in Poly3Proc() local
1727 dst->fMat[kMScaleX] = (srcPt[2].fX - srcPt[0].fX) * invScale; in Poly3Proc()
1728 dst->fMat[kMSkewY] = (srcPt[2].fY - srcPt[0].fY) * invScale; in Poly3Proc()
1731 invScale = 1 / scale.fY; in Poly3Proc()
1732 dst->fMat[kMSkewX] = (srcPt[1].fX - srcPt[0].fX) * invScale; in Poly3Proc()
[all …]
DSkBitmapScaler.cpp126 float invScale = 1.0f / scale; in computeFilters() local
147 float srcPixel = (static_cast<float>(destSubsetI) + 0.5f) * invScale; in computeFilters()
/external/aac/libSBRenc/src/
Dps_encode.cpp690 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()