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

1 2 3

  /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));
  /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/tests/gdx-tests-android/assets/data/g3d/shaders/
mrtscene.frag 54 float dist2 = dot(lightDir, lightDir);
55 lightDir *= inversesqrt(dist2);
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 intensity on cpu
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 intensity on cpu
  /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;
  /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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
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);
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/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/
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/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/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/eigen/Eigen/src/Eigen2Support/Geometry/
AlignedBox.h 147 Scalar dist2(0);
152 dist2 += aux*aux;
154 dist2 += aux*aux;
156 return dist2;
  /external/opencv3/modules/video/src/opencl/
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/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/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;
  /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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
default.vertex.glsl 324 float dist2 = dot(lightDir, lightDir);
325 lightDir *= inversesqrt(dist2);
327 vec3 value = u_pointLights[i].color * (NdotL / (1.0 + dist2));

Completed in 905 milliseconds

1 2 3