Searched defs:dist2 (Results 1 - 19 of 19) 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/autotest/client/deps/glbench/src/
H A Dwindowmanagertest.cc42 float dist2 = dx*dx + dy*dy; local
43 if (dist2 > 1.f)
44 dist2 = 1.f;
45 *pixel = (1.f - dist2) * 255.f;
47 *pixel = (1.f - dist2) * 255.f;
49 *pixel = (1.f - dist2) * 255.f;
/external/mesa3d/src/mesa/swrast/
H A Ds_points.c328 const GLfloat dist2 = dx * dx + dy * dy; local
331 if (dist2 < rmax2) {
332 if (dist2 >= rmin2) {
334 coverage = 1.0F - (dist2 - rmin2) * cscale;
/external/freetype/src/autofit/
H A Dafcjk.c1057 FT_Pos dist2 = 0; local
1067 dist2 = AF_SEGMENT_DIST( link, link1 );
1068 if ( dist2 >= edge_distance_threshold )
1074 if ( dist2 >= edge_distance_threshold )
2048 FT_Pos dist1, dist2, span; local
2065 dist2 = edge3->opos - edge2->opos;
2067 span = dist1 - dist2;
H A Daflatin.c3301 FT_Pos dist1, dist2, span, delta; local
3318 dist2 = edge3->opos - edge2->opos;
3320 span = dist1 - dist2;
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp780 double dist2 = v2.length() * m; local
782 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
789 bool use1 = fabs(dist1) < fabs(dist2);
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
/external/skqp/tests/
H A DPathOpsAngleIdeas.cpp780 double dist2 = v2.length() * m; local
782 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
789 bool use1 = fabs(dist1) < fabs(dist2);
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
H A Dtree_utils.cc492 double dist2 = getDistanceFromLambda3(v2, mu1, mu2); local
493 return std::min(dist1, dist2);
/external/libjpeg-turbo/
H A Djquant2.c301 JLONG dist0,dist1,dist2; local
385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
386 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
769 register JLONG dist2; /* current distance in inner loop */ local
812 dist2 = dist1;
815 if (dist2 < *bptr) {
816 *bptr = dist2;
819 dist2 += xx2;
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c1350 float dx, dy, dist2, cover; local
1356 dist2 = dx * dx + dy * dy;
1357 if (dist2 <= rmax2) {
1358 cover = 1.0F - (dist2 - rmin2) * cscale;
1365 dist2 = dx * dx + dy * dy;
1366 if (dist2 <= rmax2) {
1367 cover = 1.0F - (dist2 - rmin2) * cscale;
1374 dist2 = dx * dx + dy * dy;
1375 if (dist2 <= rmax2) {
1376 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...]
/external/swiftshader/src/Shader/
H A DShaderCore.cpp871 void ShaderCore::dist2(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp) function in class:sw::ShaderCore
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 522 milliseconds