Searched refs:norm (Results 1 - 25 of 68) sorted by relevance

123

/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp52 btVector3 norm = btVector3(); local
53 jmeBulletUtil::convert(env, normal, &norm);
54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant);
/external/skia/third_party/glu/libtess/
H A Dnormal.c78 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[
203 GLdouble norm[3]; local
[all...]
H A Drender.c365 static int ComputeNormal( GLUtesselator *tess, GLdouble norm[3], int check ) argument
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[
449 GLdouble norm[3]; local
[all...]
/external/svox/pico/lib/
H A Dpicosig2.c1006 picoos_int32 *norm; local
1009 norm = sig_inObj->norm_window_p;
1011 norm[0] = 80224;
1012 norm[1] = 320832;
1013 norm[2] = 721696;
1014 norm[3] = 1282560;
1015 norm[4] = 2003104;
1016 norm[5] = 2882880;
1017 norm[6] = 3921376;
1018 norm[
[all...]
/external/opencv/cxcore/src/
H A Dcxnorm.cpp57 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, t
971 double norm = 0, norm_diff = 0; local
[all...]
H A D_cxipp.h316 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
319 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
322 ( const srctype* img, int imgstep, CvSize size, double* norm )) \
327 CvSize size, double* norm )) \
332 CvSize size, double* norm )) \
337 CvSize size, double* norm ))
343 CvSize size, double* norm )) \
347 CvSize size, double* norm, CvHintAlgorithm )) \
351 CvSize size, double* norm, CvHintAlgorithm )) \
356 CvSize size, double* norm )) \
[all...]
H A Dcxutils.cpp716 double norm = 0, v; local
728 norm += v*v;
730 norm = sqrt(norm);
736 norm += v;
742 norm = MAX(norm,v);
745 norm = norm > DBL_EPSILON ? 1./norm
[all...]
/external/icu4c/test/intltest/
H A Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC);
27 if(norm.next()!=0xe4) {
32 Normalizer copy(norm);
74 norm.setIndexOnly(3);
75 if(norm.current()!=0x4e3d) {
134 norm.setMode(UNORM_NONE);
135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) {
H A Dtstnorm.cpp165 Normalizer* norm = new Normalizer("", UNORM_NFD); local
170 backAndForth(norm, canonTests[i][0]);
174 norm->setMode(UNORM_NFC);
176 backAndForth(norm, canonTests[i][0]);
179 delete norm;
184 Normalizer* norm = new Normalizer("", UNORM_NFD); local
185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1);
187 delete norm;
192 Normalizer* norm = new Normalizer("", UNORM_NFKD); local
193 iterateTest(norm, compatTest
202 Normalizer* norm = new Normalizer("", UNORM_NFC); local
212 Normalizer* norm = new Normalizer("", UNORM_NFKC); local
232 Normalizer* norm = new Normalizer("", UNORM_NFC); local
254 Normalizer* norm = new Normalizer("", UNORM_NFD); local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DStripBox.java153 Vector3f norm = new Vector3f();
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/
H A DTestSSAO.java66 Texture norm = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall_normal.jpg");
67 norm.setWrap(Texture.WrapMode.Repeat);
69 mat.setTexture("NormalMap", norm);
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DQuaternion.java397 float norm = norm();
398 // we explicitly test norm against one here, saving a division
400 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0;
417 // using s=2/norm (instead of 1/norm) saves 9 multiplications by 2 here
442 float norm = norm();
1079 public float norm() { method in class:Quaternion
[all...]
/external/webrtc/src/common_audio/signal_processing/
H A Dlevinson_durbin.c38 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;
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DImageSkia.cpp311 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
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DBatchNode.java511 Vector3f norm = vars.vect2;
525 norm.x = tmpFloatN[index++];
527 norm.y = tmpFloatN[index++];
529 norm.z = tmpFloatN[index];
532 transform.multNormal(norm, norm);
536 tmpFloatN[index++] = norm.x;
538 tmpFloatN[index++] = norm.y;
540 tmpFloatN[index++] = norm.z;
555 Vector3f norm
[all...]
/external/dropbear/libtommath/
H A Dbn_mp_div.c106 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DTnaf.java75 * Computes the norm of an element <code>&lambda;</code> of
80 * @return The norm of <code>&lambda;</code>.
82 public static BigInteger norm(final byte mu, ZTauElement lambda) method in class:Tnaf
84 BigInteger norm;
97 norm = s1.add(s2).add(s3);
101 norm = s1.subtract(s2).add(s3);
108 return norm;
112 * Computes the norm of an element <code>&lambda;</code> of
121 * @return The norm of <code>&lambda;</code>.
123 public static SimpleBigDecimal norm(fina method in class:Tnaf
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
H A DCollisionResult.java74 public void setContactNormal(Vector3f norm){ argument
75 this.contactNormal = norm;
/external/libvpx/vp8/encoder/
H A Dboolhuff.c65 DECLARE_ALIGNED(16, static const unsigned int, norm[256]) =
106 shift = norm[range];
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
H A Dsimple_water.vert46 vec4 norm = vec4(0.0, 1.0, 0.0, 0.0);
54 viewDir.z = dot(temp, norm);
60 lightDir.z = dot(temp, norm);
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
H A DEmitterMeshVertexShape.java61 Vector3f norm = vertToNormalMap.get(vert);
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]);
/external/icu4c/tools/gennorm2/
H A Dn2builder.h85 UBool combinesWithCCBetween(const Norm &norm, uint8_t lowCC, uint8_t highCC) const;
86 UChar32 combine(const Norm &norm, UChar32 trail) const;
/external/srec/srec/crec/
H A Dget_fram.c438 void convert_adjustment_to_imelda(norm_info *norm, preprocessed *prep) argument
444 ASSERT(norm);
446 fram[ii] = (imeldata) norm->adjust[ii]; /* TODO: review types */
453 norm->imelda_adjust[ii] = fram[ii];
456 for (ii = 0; ii < norm->dim; ii++)
457 log_report("%d ", (int)norm->imelda_adjust[ii]);
460 norm->adj_valid = True;
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DGeometryBatchFactory.java46 Vector3f norm = new Vector3f();
53 norm.x = inBuf.get(i * 3 + 0);
54 norm.y = inBuf.get(i * 3 + 1);
55 norm.z = inBuf.get(i * 3 + 2);
57 transform.multNormal(norm, norm);
59 outBuf.put(offset + i * 3 + 0, norm.x);
60 outBuf.put(offset + i * 3 + 1, norm.y);
61 outBuf.put(offset + i * 3 + 2, norm.z);
/external/stlport/src/
H A Dnum_get_float.cpp232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) { argument
233 norm = 0;
247 norm = 1;
300 int norm; /* number of bits of normalization */ local
308 _Stl_norm_and_round(p, norm, prodhi, prodlo);
309 bexp += _Stl_twoexp[hi] - norm;
315 _Stl_norm_and_round(p, norm, prodhi, prodlo);
316 bexp += _Stl_twoexp[lo] - norm;

Completed in 514 milliseconds

123