/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
pitch_f4.c | 171 Word32 corr, exp_corr, norm, exp, scale; local 232 norm = extract_h(L_tmp); 236 L_tmp = vo_L_mult(corr, norm);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.cpp | 267 // and then reprojects to the L0 orthant with the requested norm. 270 // Compute order statistics and the current L0 norm. 310 // Compute order statistics and the current L1 norm. 361 int32 SparseWeightVector<Key, Hash>::Reproject(const double norm, 363 CHECK_GT(norm, 0); 365 ReprojectL0(norm); 367 ReprojectL1(norm); 369 ReprojectL2(norm);
|
/frameworks/base/graphics/java/android/renderscript/ |
Element.java | 772 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { 787 mNormalized = norm; 847 boolean norm = false; 849 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 850 return new Element(id, rs, dt, dk, norm, vecSize); 885 boolean norm = false; 886 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 887 return new Element(id, rs, dt, dk, norm, size); 956 boolean norm = true; 957 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Element.java | 726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { 741 mNormalized = norm; 763 boolean norm = false; 765 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 766 return new Element(id, rs, dt, dk, norm, vecSize); 805 boolean norm = false; 806 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 807 return new Element(id, rs, dt, dk, norm, size); 878 boolean norm = true; 879 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size) [all...] |
/external/libxml2/ |
xmlschemastypes.c | 2131 xmlChar *norm = NULL; local 5937 xmlSchemaValPtr norm; local 5966 xmlSchemaValPtr norm; local 5994 xmlSchemaValPtr norm; local [all...] |
/external/eigen/unsupported/test/ |
BVH.cpp | 65 if((b1.center - b2.center).norm() < b1.radius + b2.radius) 82 double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); } 84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); }
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Ray.java | 212 Vector3f norm = edge1.cross(edge2, tempVd); local 214 float dirDotNorm = direction.dot(norm); 234 float diffDotNorm = -sign * diff.dot(norm);
|
/external/opencv/cvaux/src/ |
cvlevmarprojbandle.cpp | 1350 double norm = cvNorm(vectorX_points4D); local 1355 double norm = cvNorm(vectorX_projMatrs[i]); local 1384 double norm = cvNorm(matrsUk[i]); local 1390 double norm = cvNorm(matrsVi[i]); local 1427 double norm = cvNorm(matrsUk[i]); local 1433 double norm = cvNorm(matrsVi[i]); local [all...] |
/external/ceres-solver/internal/ceres/ |
normal_prior_test.cc | 76 // Compare the norm of the residual 83 double jacobian_diff_norm = (J - A).norm(); 115 // Compare the norm of the residual 121 // Compare the norm of the residual
|
trust_region_minimizer.cc | 130 double x_norm = x.norm(); 193 << "Relative gradient max norm: " 369 iteration_summary.step_norm = (x - x_plus_delta).norm(); 441 x_norm = x.norm(); 463 << "Relative gradient max norm: "
|
/external/eigen/Eigen/src/SparseCore/ |
SparseDot.h | 87 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
|
/external/eigen/test/ |
geo_quaternion.cpp | 39 VERIFY(internal::abs(q.norm() - 1) < largeEps); 89 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps) 113 && (aa.axis() - v1.normalized()).norm() < 1.99 114 && (aa.axis() + v1.normalized()).norm() < 1.99)
|
sparse_solver.h | 96 // Compute the norm of the relative error 98 res_error = (refX - x).norm()/refX.norm(); 101 // Compute the relative residual norm 102 res_error = (b - A * x).norm()/b.norm();
|
umeyama.cpp | 118 const Scalar error = ( cR_t_umeyama*src - dst ).norm() / dst.norm();
|
/external/icu4c/test/intltest/ |
tscoll.cpp | 162 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 200 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 234 if(norm != UCOL_ON && !quick) { 238 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/external/jmonkeyengine/engine/src/bullet-native/ |
jmeBulletUtil.cpp | 224 float norm = w * w + x * x + y * y + z * z; local 225 float s = (norm == 1.0) ? 2.0 : (norm > 0.1) ? 2.0 / norm : 0.0; 242 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
Converter.java | 144 float norm = oldQuaternion.getW() * oldQuaternion.getW() + oldQuaternion.getX() * oldQuaternion.getX() + oldQuaternion.getY() * oldQuaternion.getY() + oldQuaternion.getZ() * oldQuaternion.getZ(); local 145 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0; 162 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
VertexDataManager.cpp | 275 // BYTE-norm FLOAT (Normalize) (can't be exactly represented as SHORT-norm) 277 // UNSIGNED_BYTE-norm UBYTE4N (Identity) or FLOAT (Normalize) 279 // SHORT-norm SHORT-norm (Identity) or FLOAT (Normalize) 281 // UNSIGNED_SHORT-norm USHORT-norm (Identity) or FLOAT (Normalize) 381 // Given a GL type & norm flag and a D3D type, ConversionRule provides the type conversion rule (Cast, Normalize, Identity, FixedToFloat). 420 // Converter ties it all together. Given an OpenGL type/norm/size and choice of preferred/fallback conversion, 442 #define TRANSLATION(type, norm, size, preferred) [all...] |
/external/eigen/demos/opengl/ |
camera.cpp | 168 float dist = (position() - mTarget).norm(); 176 float dist = (position() - mTarget).norm();
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
lpc_masking_model.c | 84 WebRtc_Word16 norm; local 88 norm = WebRtcSpl_NormW32(R[0]); 91 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 182 norm = WebRtcSpl_NormW32(temp3W32); 183 if ((Alpha_exp <= norm)||(temp3W32==0)) { 255 norm = WebRtcSpl_NormW32(temp1W32); 256 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 262 Alpha_exp = Alpha_exp + norm; [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
EigenSolver.h | 169 * eigenvectors are normalized to have (Euclidean) norm equal to one. The 421 Scalar norm(0); 424 norm += m_matT.row(j).segment((std::max)(j-1,Index(0)), size-(std::max)(j-1,Index(0))).cwiseAbs().sum(); 428 if (norm == 0.0) 463 m_matT.coeffRef(i,n) = -r / (eps * norm); 533 vr = eps * norm * (internal::abs(w) + internal::abs(q) + internal::abs(x) + internal::abs(y) + internal::abs(lastw));
|
ComplexEigenSolver.h | 149 * have (Euclidean) norm equal to one. The matrix returned by this 251 doComputeEigenvectors(matrix.norm());
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 72 public Vec norm() { method in class:BouncyDroid.BouncyView.World.Vec 261 springForce = springForce.norm().mul(mag); 290 mBody.v = mBody.v.norm().mul(MAX_SPEED);
|
/external/eigen/bench/spbench/ |
spbenchsolver.h | 159 stat.rel_error = (refX - x).norm()/refX.norm(); 162 // Compute the relative residual norm 165 stat.rel_error = (b-temp).norm()/b.norm();
|
/external/eigen/test/eigen2/ |
eigen2_basicstuff.cpp | 53 VERIFY_IS_MUCH_SMALLER_THAN( vzero, v1.norm());
|