HomeSort by relevance Sort by last modified time
    Searched refs:dist2 (Results 1 - 25 of 32) 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/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);
  /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 300 Scalar dist2(0);
307 dist2 += aux*aux;
312 dist2 += aux*aux;
315 return dist2;
321 Scalar dist2(0);
328 dist2 += aux*aux;
333 dist2 += aux*aux;
336 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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
bytecode.c 202 unsigned long dist2, dist1; local
209 dist2 = yasm_bc_next_offset(precbc2);
210 if (dist2 < dist1) {
211 intn = yasm_intnum_create_uint(dist1 - dist2);
215 dist2 -= dist1;
216 return yasm_intnum_create_uint(dist2);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
sp_setup.c 1300 float dx, dy, dist2, cover; local
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_setup.c 1300 float dx, dy, dist2, cover; local
    [all...]
  /external/jpeg/
jquant2.c 322 INT32 dist0,dist1,dist2; local
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
789 register INT32 dist2; /* current distance in inner loop */ local
832 dist2 = dist1;
835 if (dist2 < *bptr) {
836 *bptr = dist2;
839 dist2 += xx2;
    [all...]
  /external/qemu/distrib/jpeg-6b/
jquant2.c 322 INT32 dist0,dist1,dist2; local
406 dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE;
407 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2;
789 register INT32 dist2; /* current distance in inner loop */ local
832 dist2 = dist1;
835 if (dist2 < *bptr) {
836 *bptr = dist2;
839 dist2 += xx2;
    [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/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_points.c 329 const GLfloat dist2 = dx * dx + dy * dy; local
332 if (dist2 < rmax2) {
333 if (dist2 >= rmin2) {
335 coverage = 1.0F - (dist2 - rmin2) * cscale;
  /external/mesa3d/src/mesa/swrast/
s_points.c 329 const GLfloat dist2 = dx * dx + dy * dy; local
332 if (dist2 < rmax2) {
333 if (dist2 >= rmin2) {
335 coverage = 1.0F - (dist2 - rmin2) * cscale;
  /external/chromium_org/third_party/skia/tests/
PathOpsAngleIdeas.cpp 760 double dist2 = v2.length() * m;
762 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
764 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
769 bool use1 = fabs(dist1) < fabs(dist2);
771 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
772 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
774 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
    [all...]
  /external/skia/tests/
PathOpsAngleIdeas.cpp 760 double dist2 = v2.length() * m;
762 SkDebugf("%c r1=%1.9g r2=%1.9g m=%1.9g dist1=%1.9g dist2=%1.9g "
764 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-',
769 bool use1 = fabs(dist1) < fabs(dist2);
771 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2,
772 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
774 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2));
    [all...]
  /external/chromium_org/third_party/freetype/src/autofit/
afcjk.c 970 FT_Pos dist2 = 0; local
980 dist2 = AF_SEGMENT_DIST( link, link1 );
981 if ( dist2 >= edge_distance_threshold )
987 if ( dist2 >= edge_distance_threshold )
1910 FT_Pos dist1, dist2, span; local
    [all...]
  /external/freetype/src/autofit/
afcjk.c 987 FT_Pos dist2 = 0; local
997 dist2 = AF_SEGMENT_DIST( link, link1 );
998 if ( dist2 >= edge_distance_threshold )
1004 if ( dist2 >= edge_distance_threshold )
1972 FT_Pos dist1, dist2, span; local
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/multiwaveview/
GlowPadView.java 866 float touchRadius = (float) Math.sqrt(dist2(tx, ty));
1222 private float dist2(float dx, float dy) { method in class:GlowPadView
    [all...]
  /packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
GlowPadView.java 1191 private float dist2(float dx, float dy) { method in class:GlowPadView
    [all...]
  /frameworks/av/media/libstagefright/
AVIExtractor.cpp 1271 size_t dist2 = nextSyncSampleIndex - closestSampleIndex; local
    [all...]

Completed in 1271 milliseconds

1 2