Home
last modified time | relevance | path

Searched refs:dist1 (Results 1 – 23 of 23) sorted by relevance

/external/speex/libspeex/
Dvq_arm4.h42 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()
79 dist1 = MAC16_16(dist1,in[j],*code); in vq_nbest()
89 dist1=SUB32(SHR(*E++,1),dist1); in vq_nbest()
90 if (dist1<*best_dist || i==0) in vq_nbest()
92 *best_dist=dist1; in vq_nbest()
/external/libjpeg-turbo/
Djquant2.c301 JLONG dist0,dist1,dist2; in update_box() local
384 dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; in update_box()
386 boxp->volume = dist0*dist0 + dist1*dist1 + dist2*dist2; in update_box()
768 JLONG dist0, dist1; /* initial distance values */ in find_best_colors() local
809 dist1 = dist0; in find_best_colors()
812 dist2 = dist1; in find_best_colors()
824 dist1 += xx1; in find_best_colors()
/external/skqp/tests/
DPathOpsAngleIdeas.cpp779 double dist1 = v1.length() * m; in mDistance() local
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-', in mDistance()
789 bool use1 = fabs(dist1) < fabs(dist2); in mDistance()
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2, in mDistance()
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
/external/skia/tests/
DPathOpsAngleIdeas.cpp779 double dist1 = v1.length() * m; in mDistance() local
784 endCtrlRatio(q1), endCtrlRatio(q2), m, dist1, dist2, dir > 0 ? '+' : '-', in mDistance()
789 bool use1 = fabs(dist1) < fabs(dist2); in mDistance()
791 SkDebugf("%c dist=%1.9g r=%1.9g\n", agrees ? 'T' : 'F', use1 ? dist1 : dist2, in mDistance()
792 use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
794 return fabs(use1 ? distEndRatio(dist1, q1) : distEndRatio(dist2, q2)); in mDistance()
/external/skia/src/views/
DSkTouchGesture.cpp310 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local
312 double scale = dist1 / dist0; in computePinch()
/external/skqp/src/views/
DSkTouchGesture.cpp310 double dist1 = sqrt(dx*dx + dy*dy); in computePinch() local
312 double scale = dist1 / dist0; in computePinch()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dbeta_test.py383 for dist1 in [d1, d1_sp]:
385 kl = kullback_leibler.kl_divergence(dist1, dist2)
Ddirichlet_multinomial_test.py206 dist1 = ds.DirichletMultinomial(1., alpha)
209 mean1 = dist1.mean().eval()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp352 std::binomial_distribution<> dist1(5, 0.1); in test8() local
356 int r1 = dist1(gen1); in test8()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.cc491 double dist1 = getDistanceFromLambda3(v1, mu1, mu2); in getChebyshevEpsilon() local
493 return std::min(dist1, dist2); in getChebyshevEpsilon()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DXLocaleDistanceTest.java101 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DXLocaleDistanceTest.java104 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming() local
/external/freetype/src/autofit/
Dafcjk.c2048 FT_Pos dist1, dist2, span; in af_cjk_hint_edges() local
2064 dist1 = edge2->opos - edge1->opos; in af_cjk_hint_edges()
2067 span = dist1 - dist2; in af_cjk_hint_edges()
Daflatin2.c2188 FT_Pos dist1, dist2, span, delta; in af_latin2_hint_edges()
2204 dist1 = edge2->opos - edge1->opos; in af_latin2_hint_edges()
2207 span = dist1 - dist2; in af_latin2_hint_edges()
Daflatin.c3301 FT_Pos dist1, dist2, span, delta; in af_latin_hint_edges() local
3317 dist1 = edge2->opos - edge1->opos; in af_latin_hint_edges()
3320 span = dist1 - dist2; in af_latin_hint_edges()
/external/skqp/src/core/
DSkStroke.cpp899 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay() local
901 if (SkTMax(dist1, dist2) <= fInvResScaleSquared) { in intersectRay()
903 "SkTMax(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
/external/skia/src/core/
DSkStroke.cpp900 SkScalar dist1 = pt_to_line(start, end, quadPts->fTangentEnd); in intersectRay() local
902 if (SkTMax(dist1, dist2) <= fInvResScaleSquared) { in intersectRay()
904 "SkTMax(dist1=%g, dist2=%g) <= fInvResScaleSquared", dist1, dist2); in intersectRay()
/external/libopus/celt/
Dbands.c1585 opus_val32 dist0, dist1; in quant_all_bands() local
1631dist1 = MULT16_32_Q15(w[0], celt_inner_prod(X_save, X, N, arch)) + MULT16_32_Q15(w[1], celt_inner_… in quant_all_bands()
1632 if (dist0 >= dist1) { in quant_all_bands()
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_test.py552 dist1 = ds.Mixture(cat, components, name="mixture1",
554 samples1 = dist1.sample(n, seed=123456).eval()
/external/swiftshader/src/Shader/
DShaderCore.hpp257 void dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp = false);
DVertexProgram.cpp270 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in program()
DPixelProgram.cpp220 case Shader::OPCODE_DIST1: dist1(d.x, s0, s1, pp); break; in applyShader()
DShaderCore.cpp866 void ShaderCore::dist1(Float4 &dst, const Vector4f &src0, const Vector4f &src1, bool pp) in dist1() function in sw::ShaderCore