Home
last modified time | relevance | path

Searched refs:pow2 (Results 1 – 7 of 7) sorted by relevance

/external/opencv/cvaux/src/
Dcvvecfacetracking.cpp95 iEnergy = 1 * pow2(r.width - prev.r.width) + in Energy()
96 1 * pow2(r.height - prev.r.height) + in Energy()
97 1 * pow2(iColor - prev_color) / 4 + in Energy()
810 4 * pow2(ppNew[LEYE]->r.width - ppNew[REYE]->r.width) + in GetEnergy()
811 4 * pow2(ppNew[LEYE]->r.height - ppNew[REYE]->r.height) + in GetEnergy()
871 …double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)… in CalculateTransformationLMS3()
872 …double dbYtYt = double(pow2(pTemplPoints[0].y) + pow2(pTemplPoints[1].y) + pow2(pTemplPoints[2].y)… in CalculateTransformationLMS3()
874 …double dbXsXs = double(pow2(pSrcPoints[0].x) + pow2(pSrcPoints[1].x) + pow2(pSrcPoints[2].x)) / 3.… in CalculateTransformationLMS3()
875 …double dbYsYs = double(pow2(pSrcPoints[0].y) + pow2(pSrcPoints[1].y) + pow2(pSrcPoints[2].y)) / 3.… in CalculateTransformationLMS3()
938 …double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)… in CalculateTransformationLMS3_0()
[all …]
D_cvvectrack.h57 inline int pow2(int v) in pow2() function
/external/skia/src/gpu/
DGrPathUtils.cpp56 int pow2 = GrNextPow2(temp); in quadraticPointCount() local
60 if (pow2 < 1) { in quadraticPointCount()
61 pow2 = 1; in quadraticPointCount()
63 return GrMin(pow2, MAX_POINTS_PER_CURVE); in quadraticPointCount()
107 int pow2 = GrNextPow2(temp); in cubicPointCount() local
111 if (pow2 < 1) { in cubicPointCount()
112 pow2 = 1; in cubicPointCount()
114 return GrMin(pow2, MAX_POINTS_PER_CURVE); in cubicPointCount()
/external/llvm/test/Transforms/InstSimplify/
DAndOrXor.ll3 define i64 @pow2(i32 %x) {
4 ; CHECK: @pow2
/external/openssl/crypto/ec/
Decp_smpl.c1185 size_t pow2 = 0; in ec_GFp_simple_points_make_affine() local
1210 pow2 = 1; in ec_GFp_simple_points_make_affine()
1211 while (num > pow2) in ec_GFp_simple_points_make_affine()
1212 pow2 <<= 1; in ec_GFp_simple_points_make_affine()
1215 pow2 <<= 1; in ec_GFp_simple_points_make_affine()
1217 heap = OPENSSL_malloc(pow2 * sizeof heap[0]); in ec_GFp_simple_points_make_affine()
1235 for (i = pow2/2 - 1; i > 0; i--) in ec_GFp_simple_points_make_affine()
1238 heap[pow2/2 + i] = &points[i]->Z; in ec_GFp_simple_points_make_affine()
1239 for (i = pow2/2 + num; i < pow2; i++) in ec_GFp_simple_points_make_affine()
1243 for (i = pow2/2 - 1; i > 0; i--) in ec_GFp_simple_points_make_affine()
[all …]
/external/aac/libSBRdec/src/
Denv_dec.cpp675 static const FIXP_SGL pow2[ENV_EXP_FRACT] = in requantizeEnvelopeData() local
707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1); in requantizeEnvelopeData()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java1137 Method pow2 = getMethod(); in testForLoop() local
1138 assertEquals(1, pow2.invoke(null, 0)); in testForLoop()
1139 assertEquals(2, pow2.invoke(null, 1)); in testForLoop()
1140 assertEquals(4, pow2.invoke(null, 2)); in testForLoop()
1141 assertEquals(8, pow2.invoke(null, 3)); in testForLoop()
1142 assertEquals(16, pow2.invoke(null, 4)); in testForLoop()