dist2             323 3rdparty/libjpeg/jquant2.c   INT32 dist0,dist1,dist2;
dist2             407 3rdparty/libjpeg/jquant2.c   dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
dist2             408 3rdparty/libjpeg/jquant2.c   boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
dist2             790 3rdparty/libjpeg/jquant2.c   register INT32 dist2;		/* current distance in inner loop */
dist2             833 3rdparty/libjpeg/jquant2.c         dist2 = dist1;
dist2             836 3rdparty/libjpeg/jquant2.c           if (dist2 < *bptr) {
dist2             837 3rdparty/libjpeg/jquant2.c             *bptr = dist2;
dist2             840 3rdparty/libjpeg/jquant2.c           dist2 += xx2;
dist2            2167 apps/traincascade/old_ml_tree.cpp                 double dist2 = 0., beta = c_weights[idx];
dist2            2171 apps/traincascade/old_ml_tree.cpp                     dist2 += t*t;
dist2            2173 apps/traincascade/old_ml_tree.cpp                 if( min_dist2 > dist2 )
dist2            2175 apps/traincascade/old_ml_tree.cpp                     min_dist2 = dist2;
dist2             343 modules/calib3d/src/circlesgrid.cpp     double dist2 = norm(sortedCorners[1] - sortedCorners[2]);
dist2             345 modules/calib3d/src/circlesgrid.cpp     if((dist1 > dist2 && patternSize.height > patternSize.width) || (dist1 < dist2 && patternSize.height < patternSize.width))
dist2            1188 modules/calib3d/src/circlesgrid.cpp         double dist2 = norm(keypoints[j] - keypoints[k]);
dist2            1189 modules/calib3d/src/circlesgrid.cpp         if (dist1 < dist && dist2 < dist)
dist2             469 modules/calib3d/src/epnp.cpp   rho[0] = dist2(cws[0], cws[1]);
dist2             470 modules/calib3d/src/epnp.cpp   rho[1] = dist2(cws[0], cws[2]);
dist2             471 modules/calib3d/src/epnp.cpp   rho[2] = dist2(cws[0], cws[3]);
dist2             472 modules/calib3d/src/epnp.cpp   rho[3] = dist2(cws[1], cws[2]);
dist2             473 modules/calib3d/src/epnp.cpp   rho[4] = dist2(cws[1], cws[3]);
dist2             474 modules/calib3d/src/epnp.cpp   rho[5] = dist2(cws[2], cws[3]);
dist2              56 modules/calib3d/src/epnp.h   double dist2(const double * p1, const double * p2);
dist2             673 modules/calib3d/src/upnp.cpp   rho[0] = dist2(cws[0], cws[1]);
dist2             674 modules/calib3d/src/upnp.cpp   rho[1] = dist2(cws[0], cws[2]);
dist2             675 modules/calib3d/src/upnp.cpp   rho[2] = dist2(cws[0], cws[3]);
dist2             676 modules/calib3d/src/upnp.cpp   rho[3] = dist2(cws[1], cws[2]);
dist2             677 modules/calib3d/src/upnp.cpp   rho[4] = dist2(cws[1], cws[3]);
dist2             678 modules/calib3d/src/upnp.cpp   rho[5] = dist2(cws[2], cws[3]);
dist2             106 modules/calib3d/src/upnp.h       double dist2(const double * p1, const double * p2);
dist2             190 modules/calib3d/test/test_cornerssubpix.cpp         double dist2 = 0.0;
dist2             191 modules/calib3d/test/test_cornerssubpix.cpp         ret = calcDistance(corners, test_corners, dist2);
dist2             200 modules/calib3d/test/test_cornerssubpix.cpp                    dist1, dist2);
dist2             201 modules/calib3d/test/test_cornerssubpix.cpp         sum_dist += dist2;
dist2             205 modules/calib3d/test/test_cornerssubpix.cpp         if(dist1 < dist2*max_reduce_factor)
dist2             276 modules/cudaimgproc/src/mssegmentation.cpp             dr[0] = dist2(r1, r2[0]);
dist2             277 modules/cudaimgproc/src/mssegmentation.cpp             dr[1] = dist2(r1, r2[1]);
dist2             278 modules/cudaimgproc/src/mssegmentation.cpp             dr[2] = dist2(r1, r2[2]);
dist2             279 modules/cudaimgproc/src/mssegmentation.cpp             dsp[0] = dist2(sp1, sp2[0]);
dist2             280 modules/cudaimgproc/src/mssegmentation.cpp             dsp[1] = dist2(sp1, sp2[1]);
dist2             281 modules/cudaimgproc/src/mssegmentation.cpp             dsp[2] = dist2(sp1, sp2[2]);
dist2             286 modules/cudaimgproc/src/mssegmentation.cpp             dr[3] = dist2(r1, r2[3]);
dist2             287 modules/cudaimgproc/src/mssegmentation.cpp             dsp[3] = dist2(sp1, sp2[3]);
dist2             301 modules/cudaimgproc/src/mssegmentation.cpp         dr[0] = dist2(r1, r2[0]);
dist2             302 modules/cudaimgproc/src/mssegmentation.cpp         dsp[0] = dist2(sp1, sp2[0]);
dist2             311 modules/cudaimgproc/src/mssegmentation.cpp         dr[0] = dist2(r1, r2[0]);
dist2             312 modules/cudaimgproc/src/mssegmentation.cpp         dsp[0] = dist2(sp1, sp2[0]);
dist2             787 modules/ml/src/tree.cpp                 double dist2 = 0., beta = c_weights[idx];
dist2             791 modules/ml/src/tree.cpp                     dist2 += t*t;
dist2             793 modules/ml/src/tree.cpp                 if( min_dist2 > dist2 )
dist2             795 modules/ml/src/tree.cpp                     min_dist2 = dist2;
dist2             170 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp             int dist2 = (p1.x-p2.x) * (p1.x-p2.x) + (p1.y-p2.y) * (p1.y-p2.y);
dist2             171 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp             return dist2 < minDist_ * minDist_;
dist2             146 modules/stitching/src/seam_finders.cpp     Mat dist1, dist2;
dist2             148 modules/stitching/src/seam_finders.cpp     distanceTransform(unique2 == 0, dist2, DIST_L1, 3);
dist2             150 modules/stitching/src/seam_finders.cpp     Mat seam = dist1 < dist2;
dist2             350 modules/video/src/bgfg_KNN.cpp         float dist2;
dist2             357 modules/video/src/bgfg_KNN.cpp             dist2 = dData[0]*dData[0] + dData[1]*dData[1] + dData[2]*dData[2];
dist2             361 modules/video/src/bgfg_KNN.cpp             dist2 = 0.f;
dist2             365 modules/video/src/bgfg_KNN.cpp                 dist2 += dData[c]*dData[c];
dist2             369 modules/video/src/bgfg_KNN.cpp         if (dist2<m_fTb)
dist2             600 modules/video/src/bgfg_gaussmix2.cpp                         float dist2;
dist2             607 modules/video/src/bgfg_gaussmix2.cpp                             dist2 = dData[0]*dData[0] + dData[1]*dData[1] + dData[2]*dData[2];
dist2             611 modules/video/src/bgfg_gaussmix2.cpp                             dist2 = 0.f;
dist2             615 modules/video/src/bgfg_gaussmix2.cpp                                 dist2 += dData[c]*dData[c];
dist2             620 modules/video/src/bgfg_gaussmix2.cpp                         if( totalWeight < TB && dist2 < Tb*var )
dist2             624 modules/video/src/bgfg_gaussmix2.cpp                         if( dist2 < Tg*var )
dist2             641 modules/video/src/bgfg_gaussmix2.cpp                             float varnew = var + k*(dist2-var);
dist2              89 modules/video/src/opencl/bgfg_mog2.cl             float dist2 = dot(diff, diff);
dist2              91 modules/video/src/opencl/bgfg_mog2.cl             if (totalWeight < c_TB && dist2 < c_Tb * c_var)
dist2              94 modules/video/src/opencl/bgfg_mog2.cl             if (dist2 < c_Tg * c_var)
dist2             101 modules/video/src/opencl/bgfg_mog2.cl                 float variance_new  = clamp(mad(k, (dist2 - c_var), c_var), c_varMin, c_varMax);
dist2              38 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp         float dist2 = nn_matches[i][1].distance;
dist2              40 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp         if(dist1 < nn_match_ratio * dist2) {
dist2              56 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp         float dist2 = nn_matches[i][1].distance;
dist2              58 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp         if (dist1 < nn_match_ratio * dist2) {