/external/speex/libspeex/ |
vq_arm4.h | 42 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Point.java | 68 float dist2 = dist(b); local 70 if (dist1 == 0.0f || dist2 == 0.0f) { 76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2));
|
/external/autotest/client/deps/glbench/src/ |
windowmanagertest.cc | 42 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;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
fisheye.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
fisheye_approx.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = half_rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
fisheye.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
fisheye_approx.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = half_rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
fisheye.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
fisheye_approx.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = half_rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
fisheye_approx_f.rsh | 52 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 53 const float inv_dist = half_rsqrt(dist2); 54 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
btSubSimplexConvexCast.cpp | 74 btScalar dist2 = v.length2(); local 83 while ( (dist2 > epsilon) && maxIter--) 123 dist2 = v.length2(); 128 //printf("DIST2=%f\n",dist2); 132 dist2 = btScalar(0.);
|
/external/opencv3/modules/cudaimgproc/src/ |
mssegmentation.cpp | 211 inline int dist2(const cv::Vec4b& lhs, const cv::Vec4b& rhs) function in namespace:__anon20870 217 inline int dist2(const cv::Vec2s& lhs, const cv::Vec2s& rhs) function in namespace:__anon20870 276 dr[0] = dist2(r1, r2[0]); 277 dr[1] = dist2(r1, r2[1]); 278 dr[2] = dist2(r1, r2[2]); 279 dsp[0] = dist2(sp1, sp2[0]); 280 dsp[1] = dist2(sp1, sp2[1]); 281 dsp[2] = dist2(sp1, sp2[2]); 286 dr[3] = dist2(r1, r2[3]); 287 dsp[3] = dist2(sp1, sp2[3]) [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
AlignedBox.h | 147 Scalar dist2(0); 152 dist2 += aux*aux; 154 dist2 += aux*aux; 156 return dist2;
|
/external/eigen/Eigen/src/Geometry/ |
AlignedBox.h | 317 Scalar dist2(0); 324 dist2 += aux*aux; 329 dist2 += aux*aux; 332 return dist2; 338 Scalar dist2(0); 345 dist2 += aux*aux; 350 dist2 += aux*aux; 353 return dist2;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
q_plsf_5.cpp | 389 Word32 dist2; local 426 dist2 = ((Word32)temp2 * temp2); 434 dist2 += ((Word32)temp2 * temp2); 436 if ((dist1 >= dist_min) && (dist2 >= dist_min)) 448 dist2 += ((Word32)temp2 * temp2); 456 dist2 += ((Word32)temp2 * temp2); 467 if (dist2 < dist_min) 469 dist_min = dist2;
|
/external/opencv3/modules/calib3d/test/ |
test_cornerssubpix.cpp | 190 double dist2 = 0.0; local 191 ret = calcDistance(corners, test_corners, dist2); 200 dist1, dist2); 201 sum_dist += dist2; 205 if(dist1 < dist2*max_reduce_factor)
|
/external/opencv3/samples/cpp/tutorial_code/features2D/ |
AKAZE_match.cpp | 38 float dist2 = nn_matches[i][1].distance; local 40 if(dist1 < nn_match_ratio * dist2) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
CameraGroupStrategy.java | 103 float dist2 = camera.position.dst(o2.position);
104 return (int)Math.signum(dist2 - dist1);
|
/external/opencv3/samples/cpp/tutorial_code/xfeatures2D/ |
LATCH_match.cpp | 56 float dist2 = nn_matches[i][1].distance; local 58 if (dist1 < nn_match_ratio * dist2) {
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btSphereBoxCollisionAlgorithm.cpp | 126 btScalar dist2 = normal.length2(); local 127 if (dist2 > contactDist * contactDist) 135 if (dist2 <= SIMD_EPSILON)
|
/external/opencv3/modules/video/src/ |
bgfg_KNN.cpp | 350 float dist2; local 357 dist2 = dData[0]*dData[0] + dData[1]*dData[1] + dData[2]*dData[2]; 361 dist2 = 0.f; 365 dist2 += dData[c]*dData[c]; 369 if (dist2<m_fTb)
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 1300 float dx, dy, dist2, cover; local [all...] |
/external/libjpeg-turbo/ |
jquant2.c | 300 INT32 dist0,dist1,dist2; local 384 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; 385 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; 768 register INT32 dist2; /* current distance in inner loop */ local 811 dist2 = dist1; 814 if (dist2 < *bptr) { 815 *bptr = dist2; 818 dist2 += xx2; [all...] |
/external/opencv3/3rdparty/libjpeg/ |
jquant2.c | 323 INT32 dist0,dist1,dist2; local 407 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; 408 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; 790 register INT32 dist2; /* current distance in inner loop */ local 833 dist2 = dist1; 836 if (dist2 < *bptr) { 837 *bptr = dist2; 840 dist2 += xx2; [all...] |
/external/opencv3/modules/calib3d/src/ |
epnp.h | 56 double dist2(const double * p1, const double * p2);
|