Home
last modified time | relevance | path

Searched refs:lambda (Results 1 – 25 of 124) sorted by relevance

12345

/external/libgsm/src/
Dlong_term.c59 register int k, lambda; variable
97 for (lambda = 40; lambda <= 120; lambda++) {
98 L_result = (longword)wt_k * dp[best_k - lambda];
100 Nc = lambda;
163 register int k, lambda; variable
203 for (lambda = 40; lambda <= 120; lambda++) {
206 # define STEP(k) (longword)wt[k] * dp[k - lambda]
233 Nc = lambda;
301 register int k, lambda; variable
355 for (lambda = 40; lambda <= 120; lambda += 9) {
[all …]
/external/libopus/silk/float/
Dnoise_shape_analysis_FLP.c41 silk_float lambda, in warped_gain() argument
47 lambda = -lambda; in warped_gain()
50 gain = lambda * gain + coefs[ i ]; in warped_gain()
52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); in warped_gain()
60 silk_float lambda, in warped_true2monic_coefs() argument
69 coefs_syn[ i - 1 ] -= lambda * coefs_syn[ i ]; in warped_true2monic_coefs()
70 coefs_ana[ i - 1 ] -= lambda * coefs_ana[ i ]; in warped_true2monic_coefs()
72 gain_syn = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_syn[ 0 ] ); in warped_true2monic_coefs()
73 gain_ana = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_ana[ 0 ] ); in warped_true2monic_coefs()
97 coefs_syn[ i - 1 ] += lambda * coefs_syn[ i ]; in warped_true2monic_coefs()
[all …]
Dprefilter_FLP.c55 …const silk_float lambda, /* I Warping factor … in silk_warped_LPC_analysis_filter_FLP() argument
68 tmp2 = state[ 0 ] + lambda * state[ 1 ]; in silk_warped_LPC_analysis_filter_FLP()
71 tmp1 = state[ 1 ] + lambda * ( state[ 2 ] - tmp2 ); in silk_warped_LPC_analysis_filter_FLP()
77 tmp2 = state[ i ] + lambda * ( state[ i + 1 ] - tmp1 ); in silk_warped_LPC_analysis_filter_FLP()
81 tmp1 = state[ i + 1 ] + lambda * ( state[ i + 2 ] - tmp2 ); in silk_warped_LPC_analysis_filter_FLP()
/external/chromium_org/third_party/opus/src/silk/float/
Dnoise_shape_analysis_FLP.c41 silk_float lambda, in warped_gain() argument
47 lambda = -lambda; in warped_gain()
50 gain = lambda * gain + coefs[ i ]; in warped_gain()
52 return (silk_float)( 1.0f / ( 1.0f - lambda * gain ) ); in warped_gain()
60 silk_float lambda, in warped_true2monic_coefs() argument
69 coefs_syn[ i - 1 ] -= lambda * coefs_syn[ i ]; in warped_true2monic_coefs()
70 coefs_ana[ i - 1 ] -= lambda * coefs_ana[ i ]; in warped_true2monic_coefs()
72 gain_syn = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_syn[ 0 ] ); in warped_true2monic_coefs()
73 gain_ana = ( 1.0f - lambda * lambda ) / ( 1.0f + lambda * coefs_ana[ 0 ] ); in warped_true2monic_coefs()
97 coefs_syn[ i - 1 ] += lambda * coefs_syn[ i ]; in warped_true2monic_coefs()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c610 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in linear_mipmap_level() argument
612 if (lambda < 0.0F) in linear_mipmap_level()
614 else if (lambda > tObj->_MaxLambda) in linear_mipmap_level()
617 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level()
625 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in nearest_mipmap_level() argument
629 if (lambda <= 0.5F) in nearest_mipmap_level()
631 else if (lambda > tObj->_MaxLambda + 0.4999F) in nearest_mipmap_level()
634 l = lambda; in nearest_mipmap_level()
662 GLuint n, const GLfloat lambda[], in compute_min_mag_ranges() argument
688 printf("lambda delta = %g\n", lambda[0] - lambda[n-1]); in compute_min_mag_ranges()
[all …]
Ds_fragprog.c79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, in fetch_texel_lod() argument
89 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_lod()
93 &lambda, &rgba); in fetch_texel_lod()
126 GLfloat lambda; in fetch_texel_deriv() local
129 lambda = _swrast_compute_lambda(texdx[0], texdy[0], /* ds/dx, ds/dy */ in fetch_texel_deriv()
136 lambda += lodBias + texUnit->LodBias + samp->LodBias; in fetch_texel_deriv()
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_deriv()
142 &lambda, &rgba); in fetch_texel_deriv()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_texfilter.c610 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in linear_mipmap_level() argument
612 if (lambda < 0.0F) in linear_mipmap_level()
614 else if (lambda > tObj->_MaxLambda) in linear_mipmap_level()
617 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level()
625 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in nearest_mipmap_level() argument
629 if (lambda <= 0.5F) in nearest_mipmap_level()
631 else if (lambda > tObj->_MaxLambda + 0.4999F) in nearest_mipmap_level()
634 l = lambda; in nearest_mipmap_level()
662 GLuint n, const GLfloat lambda[], in compute_min_mag_ranges() argument
688 printf("lambda delta = %g\n", lambda[0] - lambda[n-1]); in compute_min_mag_ranges()
[all …]
Ds_fragprog.c79 fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, in fetch_texel_lod() argument
89 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_lod()
93 &lambda, &rgba); in fetch_texel_lod()
126 GLfloat lambda; in fetch_texel_deriv() local
129 lambda = _swrast_compute_lambda(texdx[0], texdy[0], /* ds/dx, ds/dy */ in fetch_texel_deriv()
136 lambda += lodBias + texUnit->LodBias + samp->LodBias; in fetch_texel_deriv()
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod); in fetch_texel_deriv()
142 &lambda, &rgba); in fetch_texel_deriv()
/external/clang/test/PCH/
Dcxx11-lambdas.mm14 auto lambda = [&](int z) { return x + z; };
15 return i + lambda(y);
20 auto lambda = [=](int N) -> int {
27 return lambda(n);
31 auto lambda = [=](int m) { return n + m; };
32 int (^block)(int) = lambda;
52 // CHECK-PRINT: lambda = [&] (int z)
Dcxx1y-lambdas.mm14 auto lambda = [](auto z) { return z + z; };
15 return i + lambda(y);
19 auto lambda = [](auto N) -> int {
28 return lambda(n);
32 auto lambda = [=](int m) { return n + m; };
33 int (^block)(int) = lambda;
53 // CHECK-PRINT: lambda = [] ($auto-0-0 z
/external/clang/test/Parser/
Dobjcxx0x-lambda-expressions.mm9 // fail to parse as a lambda introducer, so we get objc message parsing errors instead
12 []; // expected-error {{expected body of lambda expression}}
13 [=,foo+] {}; // expected-error {{expected ',' or ']' in lambda capture list}}
33 [get(bar), baz]; // expected-error {{expected body of lambda}}
36 [foo = bar + baz]; // expected-error {{expected body of lambda}}
37 … { bar, baz }]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}}
39 …{ bar }, baz ]; // expected-error {{<initializer_list>}} expected-error {{expected body of lambda}}
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java82 public static BigInteger norm(final byte mu, ZTauElement lambda) in norm() argument
87 BigInteger s1 = lambda.u.multiply(lambda.u); in norm()
90 BigInteger s2 = lambda.u.multiply(lambda.v); in norm()
93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); in norm()
314 public static byte[] tauAdicNaf(byte mu, ZTauElement lambda) in tauAdicNaf() argument
321 BigInteger norm = norm(mu, lambda); in tauAdicNaf()
336 BigInteger r0 = lambda.u; in tauAdicNaf()
337 BigInteger r1 = lambda.v; in tauAdicNaf()
656 public static ECPoint.F2m multiplyTnaf(ECPoint.F2m p, ZTauElement lambda) in multiplyTnaf() argument
660 byte[] u = tauAdicNaf(mu, lambda); in multiplyTnaf()
[all …]
/external/eigen/doc/snippets/
DComplexEigenSolver_compute.cpp9 complex<float> lambda = ces.eigenvalues()[0]; variable
10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl;
12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl;
DEigenSolver_EigenSolver_MatrixType.cpp8 complex<double> lambda = es.eigenvalues()[0]; variable
9 cout << "Consider the first eigenvalue, lambda = " << lambda << endl;
11 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl;
DSelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp12 double lambda = es.eigenvalues()[0]; variable
13 cout << "Consider the first eigenvalue, lambda = " << lambda << endl;
16 cout << "... and lambda * B * v = " << endl << lambda * B * v << endl << endl;
DSelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp9 double lambda = es.eigenvalues()[0]; variable
10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl;
12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl;
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Deval.pass.cpp63 double x_mean = 1/d.lambda(); in main()
64 double x_var = 1/sqr(d.lambda()); in main()
103 double x_mean = 1/d.lambda(); in main()
104 double x_var = 1/sqr(d.lambda()); in main()
143 double x_mean = 1/d.lambda(); in main()
144 double x_var = 1/sqr(d.lambda()); in main()
Dctor_double.pass.cpp25 assert(d.lambda() == 1); in main()
30 assert(d.lambda() == 3.5); in main()
Dparam_ctor.pass.cpp27 assert(p.lambda() == 1); in main()
33 assert(p.lambda() == 10); in main()
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dtemplates.cpp20 auto lambda = [=, &y] () -> T { in captures() local
25 return lambda(); in captures()
40 auto lambda = [=](bool b) { return x + y; }; in infer_result() local
41 return lambda(true); // expected-error{{no viable conversion from 'X' to 'int'}} in infer_result()
Dp3.cpp4 auto lambda = [i]() -> void {}; // expected-note 3{{candidate constructor}} in test_nonaggregate() local
5 decltype(lambda) foo = { 1 }; // expected-error{{no matching constructor}} in test_nonaggregate()
Dp20.cpp11 auto lambda = []{}; in destructor() local
12 destroy(&lambda); in destructor()
Dp6.cpp7 const auto lambda = [](int x) { }; in test_conversion() local
8 void (*fp3)(int) = lambda; in test_conversion()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DConstrainedConjGrad.h114 Scalar rho = 1.0, rho_1, lambda, gamma; in constrained_cg() local
170 lambda = rho / q.dot(p); in constrained_cg()
177 lambda = (std::min)(lambda, (f.coeff(i)-C.row(i).dot(x)) / bb); in constrained_cg()
180 x += lambda * p; in constrained_cg()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java281 double lambda = L; // initial guess in computeDistanceAndBearing() local
283 double lambdaOrig = lambda; in computeDistanceAndBearing()
284 cosLambda = Math.cos(lambda); in computeDistanceAndBearing()
285 sinLambda = Math.sin(lambda); in computeDistanceAndBearing()
316 lambda = L + in computeDistanceAndBearing()
322 double delta = (lambda - lambdaOrig) / lambda; in computeDistanceAndBearing()

12345