Searched defs:dist2 (Results 1 - 10 of 10) sorted by relevance

/external/speex/libspeex/
H A Dvq_arm4.h42 spx_word32_t dist1, dist2, dist3, dist4; local
65 : "=r" (dist1), "=r" (dist2), "=r" (dist3), "=r" (dist4),
71 dist1=dist2=dist3=dist4=0;
73 spx_word32_t dist2=0;
81 dist2 = MAC16_16(dist2,in[j],*code);
95 dist2=SUB32(SHR(*E++,1),dist2);
96 if (dist2<*best_dist)
98 *best_dist=dist2;
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_points.c329 const GLfloat dist2 = dx * dx + dy * dy; local
332 if (dist2 < rmax2) {
333 if (dist2 >= rmin2) {
335 coverage = 1.0F - (dist2 - rmin2) * cscale;
/external/freetype/src/autofit/
H A Dafcjk.c983 FT_Pos dist2 = 0; local
993 dist2 = AF_SEGMENT_DIST( link, link1 );
994 if ( dist2 >= edge_distance_threshold )
1000 if ( dist2 >= edge_distance_threshold )
1974 FT_Pos dist1, dist2, span; local
1991 dist2 = edge3->opos - edge2->opos;
1993 span = dist1 - dist2;
H A Daflatin.c2642 FT_Pos dist1, dist2, span, delta; local
2659 dist2 = edge3->opos - edge2->opos;
2661 span = dist1 - dist2;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_pickmode.c678 int64_t dist2 = 0; local
709 dist2 += dist;
717 dist = dist2;
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp763 double dist2 = v2.length() * m; local
765 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
767 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
772 bool use1 = fabs(dist1) < fabs(dist2);
774 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
775 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
777 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
/external/jpeg/
H A Djquant2.c322 INT32 dist0,dist1,dist2; local
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
789 register INT32 dist2; /* current distance in inner loop */ local
832 dist2 = dist1;
835 if (dist2 < *bptr) {
836 *bptr = dist2;
839 dist2 += xx2;
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c1300 float dx, dy, dist2, cover; local
1306 dist2 = dx * dx + dy * dy;
1307 if (dist2 <= rmax2) {
1308 cover = 1.0F - (dist2 - rmin2) * cscale;
1315 dist2 = dx * dx + dy * dy;
1316 if (dist2 <= rmax2) {
1317 cover = 1.0F - (dist2 - rmin2) * cscale;
1324 dist2 = dx * dx + dy * dy;
1325 if (dist2 <= rmax2) {
1326 cover = 1.0F - (dist2
[all...]
/external/opencv/cvaux/src/
H A Dcvepilines.cpp2007 double dist2; local
2009 icvGetPieceLength(basePoint,point2,&dist2);
2012 double alpha = dist2/dist1;
H A Dcvlee.cpp2650 float radius1,radius2,dist1,dist2; local
2690 dist1=dist2=-1;
2723 dist2 = _cvCalcEdgeIntersection(pEdge1, pEdge_right, &Point2, radius2);
2725 dist2 = _cvCalcEdgeIntersection(pEdge2, pEdge_right, &Point2, radius2);
2727 if(dist2>=0)
2733 if(dist1<0&&dist2<0)
2772 if(fabs(dist1 - dist2)<dist_eps)
2832 if((dist1<dist2&&dist1>=0)||(dist1>=0&&dist2<0))
2881 if((dist1>dist2
3085 float radius1, radius2,dist1, dist2; local
3140 double dist1, dist2; local
3211 float radius1,radius2,dist1,dist2; local
[all...]

Completed in 519 milliseconds