/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
|
/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/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;
|
/libcore/luni/src/main/java/java/util/ |
Random.java | 156 double norm = Math.sqrt(-2 * Math.log(s) / s); local 157 nextNextGaussian = v2 * norm; // should that not be norm instead 160 return v1 * norm; // should that not be norm instead of multiplier
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/ |
_complex.h | 741 inline _Tp _STLP_CALL norm(const complex<_Tp>& __z) function
|
/external/skia/third_party/glu/libtess/ |
normal.c | 78 static void ComputeNormal( GLUtesselator *tess, GLdouble norm[3] ) 106 norm[0] = 0; norm[1] = 0; norm[2] = 1; 129 norm[0] = tNorm[0]; 130 norm[1] = tNorm[1]; 131 norm[2] = tNorm[2]; 137 norm[0] = norm[1] = norm[2] = 0 203 GLdouble norm[3]; local [all...] |
render.c | 365 static int ComputeNormal( GLUtesselator *tess, GLdouble norm[3], int check ) 367 * If check==FALSE, we compute the polygon normal and place it in norm[]. 369 * consistent orientation with respect to norm[]. If triangles are 395 norm[0] = norm[1] = norm[2] = 0.0; 413 dot = n[0]*norm[0] + n[1]*norm[1] + n[2]*norm[2]; 419 norm[0] += n[0]; norm[1] += n[1]; norm[2] += n[2] 449 GLdouble norm[3]; local [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;
|
/external/icu4c/test/intltest/ |
tscoll.cpp | 160 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 198 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 232 if(norm != UCOL_ON && !quick) { 236 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/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/opencv/cxcore/src/ |
cxnorm.cpp | 57 norm = _update_op_( norm, t0 ); \ 58 norm = _update_op_( norm, t1 ); \ 64 norm = _update_op_( norm, t0 ); \ 65 norm = _update_op_( norm, t1 ); \ 72 norm = _update_op_( norm, t0 ); 971 double norm = 0, norm_diff = 0; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
ImageSkia.cpp | 311 FloatRect norm = rect; local 312 if (norm.width() < 0) { 313 norm.setX(norm.x() + norm.width()); 314 norm.setWidth(-norm.width()); 316 if (norm.height() < 0) { 317 norm.setY(norm.y() + norm.height()) [all...] |