/external/speex/libspeex/ |
D | vq_arm4.h | 42 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() 81 dist2 = MAC16_16(dist2,in[j],*code); in vq_nbest() 95 dist2=SUB32(SHR(*E++,1),dist2); in vq_nbest() 96 if (dist2<*best_dist) in vq_nbest() 98 *best_dist=dist2; in vq_nbest()
|
/external/opencv3/modules/cudaimgproc/src/ |
D | mssegmentation.cpp | 211 inline int dist2(const cv::Vec4b& lhs, const cv::Vec4b& rhs) in dist2() function 217 inline int dist2(const cv::Vec2s& lhs, const cv::Vec2s& rhs) in dist2() function 276 dr[0] = dist2(r1, r2[0]); in meanShiftSegmentation() 277 dr[1] = dist2(r1, r2[1]); in meanShiftSegmentation() 278 dr[2] = dist2(r1, r2[2]); in meanShiftSegmentation() 279 dsp[0] = dist2(sp1, sp2[0]); in meanShiftSegmentation() 280 dsp[1] = dist2(sp1, sp2[1]); in meanShiftSegmentation() 281 dsp[2] = dist2(sp1, sp2[2]); in meanShiftSegmentation() 286 dr[3] = dist2(r1, r2[3]); in meanShiftSegmentation() 287 dsp[3] = dist2(sp1, sp2[3]); in meanShiftSegmentation() [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | windowmanagertest.cc | 42 float dist2 = dx*dx + dy*dy; in CreateBitmap() local 43 if (dist2 > 1.f) in CreateBitmap() 44 dist2 = 1.f; in CreateBitmap() 45 *pixel = (1.f - dist2) * 255.f; in CreateBitmap() 47 *pixel = (1.f - dist2) * 255.f; in CreateBitmap() 49 *pixel = (1.f - dist2) * 255.f; in CreateBitmap()
|
/external/eigen/Eigen/src/Geometry/ |
D | AlignedBox.h | 317 Scalar dist2(0); in squaredExteriorDistance() 324 dist2 += aux*aux; in squaredExteriorDistance() 329 dist2 += aux*aux; in squaredExteriorDistance() 332 return dist2; in squaredExteriorDistance() 338 Scalar dist2(0); in squaredExteriorDistance() 345 dist2 += aux*aux; in squaredExteriorDistance() 350 dist2 += aux*aux; in squaredExteriorDistance() 353 return dist2; in squaredExteriorDistance()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
D | btSubSimplexConvexCast.cpp | 74 btScalar dist2 = v.length2(); in calcTimeOfImpact() local 83 while ( (dist2 > epsilon) && maxIter--) in calcTimeOfImpact() 123 dist2 = v.length2(); in calcTimeOfImpact() 132 dist2 = btScalar(0.); in calcTimeOfImpact()
|
D | btMprPenetration.h | 667 float s, t, dist, dist2; in btMprVec3PointTriDist2() local 716 dist2 = _btMprVec3PointSegmentDist2(P, x0, C, &witness2); in btMprVec3PointTriDist2() 717 if (dist2 < dist){ in btMprVec3PointTriDist2() 718 dist = dist2; in btMprVec3PointTriDist2() 723 dist2 = _btMprVec3PointSegmentDist2(P, B, C, &witness2); in btMprVec3PointTriDist2() 724 if (dist2 < dist){ in btMprVec3PointTriDist2() 725 dist = dist2; in btMprVec3PointTriDist2()
|
/external/opencv3/modules/calib3d/test/ |
D | test_cornerssubpix.cpp | 190 double dist2 = 0.0; in run() local 191 ret = calcDistance(corners, test_corners, dist2); in run() 200 dist1, dist2); in run() 201 sum_dist += dist2; in run() 205 if(dist1 < dist2*max_reduce_factor) in run()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/ |
D | main.fragment.glsl | 182 float dist2 = dot(lightDir, lightDir); 183 lightDir *= inversesqrt(dist2); 185 float falloff = clamp(u_spotLights[i].intensity / (1.0 + dist2), 0.0, 2.0); 208 float dist2 = dot(lightDir, lightDir); 209 lightDir *= inversesqrt(dist2); 211 float falloff = clamp(u_pointLights[i].intensity / (1.0 + dist2), 0.0, 2.0);
|
D | pass2.fragment.glsl | 158 float dist2 = dot(lightDir, lightDir); 159 lightDir *= inversesqrt(dist2); 161 float falloff = clamp(u_lightIntensity / (1.0 + dist2), 0.0, 2.0);
|
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/ |
D | light_gouraud.glsl | 79 float dist2 = dot(lightDir, lightDir); 80 lightDir *= inversesqrt(dist2); 82 …float falloff = clamp(u_pointLights[i].intensity / (1.0 + dist2), 0.0, 2.0); // FIXME mul intensit… 94 float dist2 = dot(lightDir, lightDir); 95 lightDir *= inversesqrt(dist2); 97 …float falloff = clamp(u_pointLights[i].intensity / (1.0 + dist2), 0.0, 2.0); // FIXME mul intensit…
|
D | mrtscene.frag | 54 float dist2 = dot(lightDir, lightDir); 55 lightDir *= inversesqrt(dist2);
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | AlignedBox.h | 147 Scalar dist2(0); in squaredExteriorDistance() 152 dist2 += aux*aux; in squaredExteriorDistance() 154 dist2 += aux*aux; in squaredExteriorDistance() 156 return dist2; in squaredExteriorDistance()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/ |
D | main.fragment.glsl | 227 float dist2 = dot(lightDir, lightDir); 228 lightDir *= inversesqrt(dist2); 230 float falloff = clamp(u_spotLights[i].intensity / (1.0 + dist2), 0.0, 2.0); 253 float dist2 = dot(lightDir, lightDir); 254 lightDir *= inversesqrt(dist2); 256 float falloff = clamp(u_pointLights[i].intensity / (1.0 + dist2), 0.0, 2.0);
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 1300 float dx, dy, dist2, cover; in sp_setup_point() local 1306 dist2 = dx * dx + dy * dy; in sp_setup_point() 1307 if (dist2 <= rmax2) { in sp_setup_point() 1308 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1315 dist2 = dx * dx + dy * dy; in sp_setup_point() 1316 if (dist2 <= rmax2) { in sp_setup_point() 1317 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() 1324 dist2 = dx * dx + dy * dy; in sp_setup_point() 1325 if (dist2 <= rmax2) { in sp_setup_point() 1326 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point() [all …]
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
D | btSphereBoxCollisionAlgorithm.cpp | 126 btScalar dist2 = normal.length2(); in getSphereDistance() local 127 if (dist2 > contactDist * contactDist) in getSphereDistance() 135 if (dist2 <= SIMD_EPSILON) in getSphereDistance()
|
/external/opencv3/modules/video/src/ |
D | bgfg_KNN.cpp | 350 float dist2; in _cvCheckPixelBackgroundNP() local 357 dist2 = dData[0]*dData[0] + dData[1]*dData[1] + dData[2]*dData[2]; in _cvCheckPixelBackgroundNP() 361 dist2 = 0.f; in _cvCheckPixelBackgroundNP() 365 dist2 += dData[c]*dData[c]; in _cvCheckPixelBackgroundNP() 369 if (dist2<m_fTb) in _cvCheckPixelBackgroundNP()
|
D | bgfg_gaussmix2.cpp | 600 float dist2; in operator ()() local 607 dist2 = dData[0]*dData[0] + dData[1]*dData[1] + dData[2]*dData[2]; in operator ()() 611 dist2 = 0.f; in operator ()() 615 dist2 += dData[c]*dData[c]; in operator ()() 620 if( totalWeight < TB && dist2 < Tb*var ) in operator ()() 624 if( dist2 < Tg*var ) in operator ()() 641 float varnew = var + k*(dist2-var); in operator ()()
|
/external/opencv3/samples/cpp/tutorial_code/features2D/ |
D | AKAZE_match.cpp | 38 float dist2 = nn_matches[i][1].distance; in main() local 40 if(dist1 < nn_match_ratio * dist2) { in main()
|
/external/opencv3/samples/cpp/tutorial_code/xfeatures2D/ |
D | LATCH_match.cpp | 56 float dist2 = nn_matches[i][1].distance; in main() local 58 if (dist1 < nn_match_ratio * dist2) { in main()
|
/external/opencv3/modules/calib3d/src/ |
D | epnp.cpp | 209 double epnp::dist2(const double * p1, const double * p2) in dist2() function in cv::epnp 469 rho[0] = dist2(cws[0], cws[1]); in compute_rho() 470 rho[1] = dist2(cws[0], cws[2]); in compute_rho() 471 rho[2] = dist2(cws[0], cws[3]); in compute_rho() 472 rho[3] = dist2(cws[1], cws[2]); in compute_rho() 473 rho[4] = dist2(cws[1], cws[3]); in compute_rho() 474 rho[5] = dist2(cws[2], cws[3]); in compute_rho()
|
/external/opencv3/modules/video/src/opencl/ |
D | bgfg_mog2.cl | 89 float dist2 = dot(diff, diff); 91 if (totalWeight < c_TB && dist2 < c_Tb * c_var) 94 if (dist2 < c_Tg * c_var) 101 float variance_new = clamp(mad(k, (dist2 - c_var), c_var), c_varMin, c_varMax);
|
/external/libjpeg-turbo/ |
D | jquant2.c | 300 INT32 dist0,dist1,dist2; in update_box() local 384 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box() 385 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box() 768 register INT32 dist2; /* current distance in inner loop */ in find_best_colors() local 811 dist2 = dist1; in find_best_colors() 814 if (dist2 < *bptr) { in find_best_colors() 815 *bptr = dist2; in find_best_colors() 818 dist2 += xx2; in find_best_colors()
|
/external/opencv3/3rdparty/libjpeg/ |
D | jquant2.c | 323 INT32 dist0,dist1,dist2; in update_box() local 407 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; in update_box() 408 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box() 790 register INT32 dist2; /* current distance in inner loop */ in find_best_colors() local 833 dist2 = dist1; in find_best_colors() 836 if (dist2 < *bptr) { in find_best_colors() 837 *bptr = dist2; in find_best_colors() 840 dist2 += xx2; in find_best_colors()
|
/external/opencv/cvaux/src/ |
D | cvlee.cpp | 2650 float radius1,radius2,dist1,dist2; in _cvJoinChains() local 2690 dist1=dist2=-1; in _cvJoinChains() 2723 dist2 = _cvCalcEdgeIntersection(pEdge1, pEdge_right, &Point2, radius2); in _cvJoinChains() 2725 dist2 = _cvCalcEdgeIntersection(pEdge2, pEdge_right, &Point2, radius2); in _cvJoinChains() 2727 if(dist2>=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 …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
D | CameraGroupStrategy.java | 103 float dist2 = camera.position.dst(o2.position); in CameraGroupStrategy() 104 return (int)Math.signum(dist2 - dist1); in CameraGroupStrategy()
|