/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp | 52 btVector3 norm = btVector3(); local 53 jmeBulletUtil::convert(env, normal, &norm); 54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant);
|
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/eigen/Eigen/src/SparseCore/ |
SparseDot.h | 87 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
autocorr.cpp | 171 norm = normalized autocorrelation at lag zero of type Word16 207 Word16 i, j, norm; 252 norm = norm_l (sum); 253 sum = L_shl (sum, norm); 267 sum = L_shl (sum, norm); 271 norm = sub (norm, overfl_shft); 273 return norm; 311 register Word16 norm; local 414 norm = norm_l(sum) 416 sum <<= norm; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
autocorr.c | 38 Word32 i, norm, shift; local 66 norm = norm_l(L_sum); 67 shift = 4 - (norm >> 1); 94 norm = norm_l(L_sum); 95 L_sum = (L_sum << norm); 115 L_sum1 = L_sum1<<norm; 116 L_sum = L_sum<<norm;
|
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);
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
EmitterMeshVertexShape.java | 61 Vector3f norm = vertToNormalMap.get(vert); local 62 if (norm == null) { 63 norm = new Vector3f(normalTable[i], normalTable[i + 1], normalTable[i + 2]); 64 vertToNormalMap.put(vert, norm); 66 norm.addLocal(normalTable[i], normalTable[i + 1], normalTable[i + 2]);
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
whitebalancetest.cpp | 111 float norm = color/ 255.0f; local 115 if (norm > 0.04045f) { 116 linearColor = pow(((norm + 0.055f) / 1.055f), 2.4f); 118 linearColor = norm / 12.92f;
|
/external/dropbear/libtommath/ |
bn_mp_div.c | 106 int res, n, t, i, norm, neg; local 152 norm = mp_count_bits(&y) % DIGIT_BIT; 153 if (norm < (int)(DIGIT_BIT-1)) { 154 norm = (DIGIT_BIT-1) - norm; 155 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) { 158 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) { 162 norm = 0; 272 if ((res = mp_div_2d (&x, norm, &x, NULL)) != MP_OKAY) {
|
/external/eigen/Eigen/src/Core/ |
Dot.h | 58 * \sa squaredNorm(), norm() 104 //---------- implementation of L2 norm and related functions ---------- 106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm. 110 * \sa dot(), norm() 118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm. 125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase 130 /** \returns an expression of the quotient of *this by its own norm. 134 * \sa norm(), normalize( [all...] |
/external/eigen/blas/ |
level1_impl.h | 110 RealScalar norm,scale; local 120 norm = scale*internal::sqrt((internal::abs2(a/scale))+ (internal::abs2(b/scale))); 122 *c = internal::abs(a)/norm; 123 *s = alpha*internal::conj(b)/norm; 124 a = alpha*norm;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
StripBox.java | 153 Vector3f norm = new Vector3f(); local 156 norm.set(vert[i]).normalizeLocal(); 158 normals[i * 3 + 0] = norm.x; 159 normals[i * 3 + 1] = norm.x; 160 normals[i * 3 + 2] = norm.x;
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestSSAO.java | 66 Texture norm = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall_normal.jpg"); local 67 norm.setWrap(Texture.WrapMode.Repeat); 69 mat.setTexture("NormalMap", norm);
|
/external/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/external/webrtc/src/common_audio/signal_processing/ |
levinson_durbin.c | 38 WebRtc_Word16 norm; local 42 norm = WebRtcSpl_NormW32(R[0]); 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 142 norm = WebRtcSpl_NormW32(temp3W32); 143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) 224 norm = WebRtcSpl_NormW32(temp1W32); 225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 232 Alpha_exp = Alpha_exp + norm;
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/external/eigen/unsupported/test/ |
FFTW.cpp | 19 float norm(float x) {return x*x;} function 20 double norm(double x) {return x*x;} function 21 long double norm(long double x) {return x*x;} function 43 totalpower += norm(acc); 46 difpower += norm(dif); 47 //cerr << k0 << "\t" << acc << "\t" << x << "\t" << sqrt(norm(dif)) << endl; 60 totalpower += (norm( buf1[k] ) + norm(buf2[k]) )/2.; 61 difpower += norm(buf1[k] - buf2[k]); 208 VERIFY( (src-src2).norm() < test_precision<T>() ) [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 151 public static float norm(float start, float stop, float value) { method in class:MathUtils
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
multiclass_pa.cpp | 90 float norm = 0; local 92 norm += inputs[i] * inputs[i]; 94 return norm; 99 float norm = 0; local 101 norm += inputs[i].second * inputs[i].second; 103 return norm;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
LocationCluster.java | 122 double norm = 0f; local 125 norm += vector[i] * vector[i]; 127 norm = Math.sqrt(norm); 132 (vector[i] / norm) * Math.sin(radian);
|
/external/eigen/Eigen/src/Eigenvalues/ |
RealSchur.h | 195 Index findSmallSubdiagEntry(Index iu, Scalar norm); 225 Scalar norm = computeNormOfT(); local 227 if(norm!=0) 231 Index il = findSmallSubdiagEntry(iu, norm); 271 /** \internal Computes and returns vector L1 norm of T */ 277 // Scalar norm = m_matT.upper().cwiseAbs().sum() 279 Scalar norm(0); 281 norm += m_matT.row(j).segment((std::max)(j-1,Index(0)), size-(std::max)(j-1,Index(0))).cwiseAbs().sum(); 282 return norm; 287 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, Scalar norm) [all...] |