HomeSort by relevance Sort by last modified time
    Searched refs:dist2 (Results 1 - 25 of 40) sorted by null

1 2

  /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/tests/java_api/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/tests/java_api/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/tests/java_api/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/tests/java_api/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);
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
Point.java 80 float dist2 = dist(b); local
82 if (dist1 == 0.0f || dist2 == 0.0f) {
88 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / 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/libjpeg-turbo/
jquant2.c 301 JLONG dist0,dist1,dist2; local
385 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
386 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
769 register JLONG dist2; /* current distance in inner loop */ local
812 dist2 = dist1;
815 if (dist2 < *bptr) {
816 *bptr = dist2;
819 dist2 += xx2;
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_setup.c 1350 float dx, dy, dist2, cover; local
    [all...]
  /external/opencv/cvaux/src/
cvlee.cpp 2650 float radius1,radius2,dist1,dist2; local
3085 float radius1, radius2,dist1, dist2; local
3140 double dist1, dist2; local
3211 float radius1,radius2,dist1,dist2; local
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_points.c 328 const GLfloat dist2 = dx * dx + dy * dy; local
331 if (dist2 < rmax2) {
332 if (dist2 >= rmin2) {
334 coverage = 1.0F - (dist2 - rmin2) * cscale;
  /external/tensorflow/tensorflow/python/kernel_tests/distributions/
dirichlet_multinomial_test.py 207 dist2 = ds.DirichletMultinomial(2., alpha)
210 mean2 = dist2.mean().eval()
338 dist2 = ds.DirichletMultinomial(ns2, alpha2)
341 covariance2 = dist2.covariance()
  /external/skia/tests/
PathOpsAngleIdeas.cpp 780 double dist2 = v2.length() * m; local
782 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
789 bool use1 = fabs(dist1) < fabs(dist2);
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
    [all...]
  /external/skqp/tests/
PathOpsAngleIdeas.cpp 780 double dist2 = v2.length() * m; local
782 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
789 bool use1 = fabs(dist1) < fabs(dist2);
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
XLocaleDistanceTest.java 105 int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL); local
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
XLocaleDistanceTest.java 102 int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL); local
  /external/freetype/src/autofit/
afcjk.c 1057 FT_Pos dist2 = 0; local
1067 dist2 = AF_SEGMENT_DIST( link, link1 );
1068 if ( dist2 >= edge_distance_threshold )
1074 if ( dist2 >= edge_distance_threshold )
2048 FT_Pos dist1, dist2, span; local
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
eval.pass.cpp 353 std::binomial_distribution<unsigned> dist2(5, 0.1);
357 unsigned r2 = dist2(gen2);
  /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
tree_utils.cc 492 double dist2 = getDistanceFromLambda3(v2, mu1, mu2); local
493 return std::min(dist1, dist2);

Completed in 1143 milliseconds

1 2