Searched refs:pow2 (Results 1 - 4 of 4) sorted by relevance

/external/opencv/cvaux/src/
H A Dcvvecfacetracking.cpp95 iEnergy = 1 * pow2(r.width - prev.r.width) +
96 1 * pow2(r.height - prev.r.height) +
97 1 * pow2(iColor - prev_color) / 4 +
810 4 * pow2(ppNew[LEYE]->r.width - ppNew[REYE]->r.width) +
811 4 * pow2(ppNew[LEYE]->r.height - ppNew[REYE]->r.height) +
871 double dbXtXt = double(pow2(pTemplPoints[0].x) + pow2(pTemplPoints[1].x) + pow2(pTemplPoints[2].x)) / 3.0;
872 double dbYtYt = double(pow2(pTemplPoints[0].y) + pow2(pTemplPoint
[all...]
H A D_cvvectrack.h57 inline int pow2(int v) function
/external/openssl/crypto/ec/
H A Decp_smpl.c1544 size_t pow2 = 0; local
1569 pow2 = 1;
1570 while (num > pow2)
1571 pow2 <<= 1;
1572 /* Now pow2 is the smallest power of 2 satifsying pow2 >= num.
1574 pow2 <<= 1;
1576 heap = OPENSSL_malloc(pow2 * sizeof heap[0]);
1594 for (i = pow2/2 - 1; i > 0; i--)
1597 heap[pow2/
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp1772 // fold (sdiv X, pow2) -> simple ops after legalize
1781 int64_t pow2 = N1C->getSExtValue();
1782 int64_t abs2 = pow2 > 0 ? pow2 : -pow2;
1797 AddToWorkList(ADD.getNode()); // Divide by pow2
1803 if (pow2 > 0)
1933 // fold (urem x, pow2) -> (and x, pow2-1)
1937 // fold (urem x, (shl pow2,
[all...]

Completed in 1510 milliseconds