Searched refs:dist2 (Results 1 - 22 of 22) 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/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAlignedBox.h147 Scalar dist2(0);
152 dist2 += aux*aux;
154 dist2 += aux*aux;
156 return dist2;
/external/eigen/Eigen/src/Geometry/
H A DAlignedBox.h300 Scalar dist2(0);
307 dist2 += aux*aux;
312 dist2 += aux*aux;
315 return dist2;
321 Scalar dist2(0);
328 dist2 += aux*aux;
333 dist2 += aux*aux;
336 return dist2;
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbytecode.c202 unsigned long dist2, dist1; local
209 dist2 = yasm_bc_next_offset(precbc2);
210 if (dist2 < dist1) {
211 intn = yasm_intnum_create_uint(dist1 - dist2);
215 dist2 -= dist1;
216 return yasm_intnum_create_uint(dist2);
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/libjpeg_turbo/
H A Djquant2.c305 INT32 dist0,dist1,dist2; local
389 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
390 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
773 register INT32 dist2; /* current distance in inner loop */ local
816 dist2 = dist1;
819 if (dist2 < *bptr) {
820 *bptr = dist2;
823 dist2 += xx2;
/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/qemu/distrib/jpeg-6b/
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/opencv/cvaux/src/
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...]
H A Dcvepilines.cpp2007 double dist2; local
2009 icvGetPieceLength(basePoint,point2,&dist2);
2012 double alpha = dist2/dist1;
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/skia/tests/
H A DPathOpsAngleIdeas.cpp760 double dist2 = v2.length() * m;
762 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
764 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
769 bool use1 = fabs(dist1) < fabs(dist2);
771 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
772 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
774 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp760 double dist2 = v2.length() * m;
762 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
764 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
769 bool use1 = fabs(dist1) < fabs(dist2);
771 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
772 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
774 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafcjk.c970 FT_Pos dist2 = 0; local
980 dist2 = AF_SEGMENT_DIST( link, link1 );
981 if ( dist2 >= edge_distance_threshold )
987 if ( dist2 >= edge_distance_threshold )
1910 FT_Pos dist1, dist2, span; local
1927 dist2 = edge3->opos - edge2->opos;
1929 span = dist1 - dist2;
H A Daflatin.c2188 FT_Pos dist1, dist2, span, delta; local
2205 dist2 = edge3->opos - edge2->opos;
2207 span = dist1 - dist2;
H A Daflatin2.c2166 FT_Pos dist1, dist2, span, delta;
2183 dist2 = edge3->opos - edge2->opos;
2185 span = dist1 - dist2;
/external/freetype/src/autofit/
H A Dafcjk.c987 FT_Pos dist2 = 0; local
997 dist2 = AF_SEGMENT_DIST( link, link1 );
998 if ( dist2 >= edge_distance_threshold )
1004 if ( dist2 >= edge_distance_threshold )
1972 FT_Pos dist1, dist2, span; local
1989 dist2 = edge3->opos - edge2->opos;
1991 span = dist1 - dist2;
H A Daflatin2.c2167 FT_Pos dist1, dist2, span, delta;
2184 dist2 = edge3->opos - edge2->opos;
2186 span = dist1 - dist2;
H A Daflatin.c2639 FT_Pos dist1, dist2, span, delta; local
2656 dist2 = edge3->opos - edge2->opos;
2658 span = dist1 - dist2;
/external/opencv/ml/src/
H A Dmltree.cpp1735 double dist2 = 0., beta = c_weights[idx];
1739 dist2 += t*t;
1741 if( min_dist2 > dist2 )
1743 min_dist2 = dist2;

Completed in 884 milliseconds