Home
last modified time | relevance | path

Searched refs:dist1 (Results 1 – 19 of 19) sorted by relevance

/external/speex/libspeex/
Dvq_arm4.h42 spx_word32_t dist1, dist2, dist3, dist4; in vq_nbest() local
65 : "=r" (dist1), "=r" (dist2), "=r" (dist3), "=r" (dist4), in vq_nbest()
71 dist1=dist2=dist3=dist4=0; in vq_nbest()
79 dist1 = MAC16_16(dist1,in[j],*code); in vq_nbest()
89 dist1=SUB32(SHR(*E++,1),dist1); in vq_nbest()
90 if (dist1<*best_dist || i==0) in vq_nbest()
92 *best_dist=dist1; in vq_nbest()
/external/opencv3/modules/calib3d/test/
Dtest_cornerssubpix.cpp176 double dist1 = 0.0; in run() local
177 int ret = calcDistance(corners, test_corners, dist1); in run()
200 dist1, dist2); in run()
205 if(dist1 < dist2*max_reduce_factor) in run()
/external/opencv3/samples/cpp/tutorial_code/features2D/
DAKAZE_match.cpp37 float dist1 = nn_matches[i][0].distance; in main() local
40 if(dist1 < nn_match_ratio * dist2) { in main()
/external/opencv3/samples/cpp/tutorial_code/xfeatures2D/
DLATCH_match.cpp55 float dist1 = nn_matches[i][0].distance; in main() local
58 if (dist1 < nn_match_ratio * dist2) { in main()
/external/opencv/cvaux/src/
Dcvlee.cpp2650 float radius1,radius2,dist1,dist2; in _cvJoinChains() local
2690 dist1=dist2=-1; in _cvJoinChains()
2703 dist1 = _cvCalcEdgeIntersection(pEdge1, pEdge_left, &Point1,radius1); in _cvJoinChains()
2705 dist1 = _cvCalcEdgeIntersection(pEdge2, pEdge_left, &Point1,radius1); in _cvJoinChains()
2707 if(dist1>=0) in _cvJoinChains()
2733 if(dist1<0&&dist2<0) in _cvJoinChains()
2772 if(fabs(dist1 - dist2)<dist_eps) in _cvJoinChains()
2832 if((dist1<dist2&&dist1>=0)||(dist1>=0&&dist2<0)) in _cvJoinChains()
2881 if((dist1>dist2&&dist2>=0)||(dist1<0&&dist2>=0)) in _cvJoinChains()
3085 float radius1, radius2,dist1, dist2; in _cvFindOppositSiteCW() local
[all …]
Dcvhmm.cpp232 double dist1 = 0; in icvSquareDistance() local
239 dist1 += t1*t1; in icvSquareDistance()
244 dist1 += t1*t1; in icvSquareDistance()
253 return (float)(dist0 + dist1); in icvSquareDistance()
Dcvepilines.cpp2006 double dist1; in icvGetMiddleAnglePoint() local
2008 icvGetPieceLength(basePoint,point1,&dist1); in icvGetMiddleAnglePoint()
2012 double alpha = dist2/dist1; in icvGetMiddleAnglePoint()
/external/libjpeg-turbo/
Djquant2.c300 INT32 dist0,dist1,dist2; in update_box() local
383 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
385 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box()
767 INT32 dist0, dist1; /* initial distance values */ in find_best_colors() local
808 dist1 = dist0; in find_best_colors()
811 dist2 = dist1; in find_best_colors()
823 dist1 += xx1; in find_best_colors()
/external/opencv3/3rdparty/libjpeg/
Djquant2.c323 INT32 dist0,dist1,dist2; in update_box() local
406 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
408 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box()
789 INT32 dist0, dist1; /* initial distance values */ in find_best_colors() local
830 dist1 = dist0; in find_best_colors()
833 dist2 = dist1; in find_best_colors()
845 dist1 += xx1; in find_best_colors()
/external/opencv3/doc/tutorials/features2d/akaze_matching/
Dakaze_matching.markdown73 float dist1 = nn_matches[i][0].distance;
76 if(dist1 < nn_match_ratio * dist2) {
/external/skia/tests/
DPathOpsAngleIdeas.cpp762 double dist1 = v1.length() * m; in mDistance() local
767 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-', in mDistance()
772 bool use1 = fabs(dist1) < fabs(dist2); in mDistance()
774 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2, in mDistance()
775 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
777 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
/external/skia/src/views/
DSkTouchGesture.cpp305 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local
307 double scale = dist1 / dist0; in computePinch()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp331 std::binomial_distribution<> dist1(5, 0.1); in main() local
335 assert(dist1(gen1) == dist2(gen2)); in main()
/external/opencv3/modules/calib3d/src/
Dcirclesgrid.cpp342 double dist1 = norm(sortedCorners[0] - sortedCorners[1]); in getSortedCorners() local
345 …if((dist1 > dist2 && patternSize.height > patternSize.width) || (dist1 < dist2 && patternSize.heig… in getSortedCorners()
1187 double dist1 = norm(keypoints[i] - keypoints[k]); in computeRNG() local
1189 if (dist1 < dist && dist2 < dist) in computeRNG()
/external/freetype/src/autofit/
Dafcjk.c1974 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local
1990 dist1 = edge2->opos - edge1->opos; in af_cjk_hint_edges()
1993 span = dist1 - dist2; in af_cjk_hint_edges()
Daflatin2.c2164 FT_Pos dist1, dist2, span, delta; in af_latin2_hint_edges()
2180 dist1 = edge2->opos - edge1->opos; in af_latin2_hint_edges()
2183 span = dist1 - dist2; in af_latin2_hint_edges()
Daflatin.c2642 FT_Pos dist1, dist2, span, delta; in af_latin_hint_edges() local
2658 dist1 = edge2->opos - edge1->opos; in af_latin_hint_edges()
2661 span = dist1 - dist2; in af_latin_hint_edges()
/external/skia/src/core/
DSkStroke.cpp872 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay() local
874 if (SkTMax(dist1, dist2) <= fInvResScaleSquared) { in intersectRay()
876 "SkTMax(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
/external/opencv3/modules/stitching/src/
Dseam_finders.cpp146 Mat dist1, dist2; in findInPair() local
147 distanceTransform(unique1 == 0, dist1, DIST_L1, 3); in findInPair()
150 Mat seam = dist1 < dist2; in findInPair()