/external/svox/pico/lib/ |
D | picosig2.c | 1005 picoos_int32 *norm; in gen_hann2() local 1008 norm = sig_inObj->norm_window_p; in gen_hann2() 1010 norm[0] = 80224; in gen_hann2() 1011 norm[1] = 320832; in gen_hann2() 1012 norm[2] = 721696; in gen_hann2() 1013 norm[3] = 1282560; in gen_hann2() 1014 norm[4] = 2003104; in gen_hann2() 1015 norm[5] = 2882880; in gen_hann2() 1016 norm[6] = 3921376; in gen_hann2() 1017 norm[7] = 5117984; in gen_hann2() [all …]
|
/external/skia/third_party/glu/libtess/ |
D | normal.c | 78 static void ComputeNormal( GLUtesselator *tess, GLdouble norm[3] ) in ComputeNormal() 106 norm[0] = 0; norm[1] = 0; norm[2] = 1; in ComputeNormal() 129 norm[0] = tNorm[0]; in ComputeNormal() 130 norm[1] = tNorm[1]; in ComputeNormal() 131 norm[2] = tNorm[2]; in ComputeNormal() 137 norm[0] = norm[1] = norm[2] = 0; in ComputeNormal() 138 norm[LongAxis(d1)] = 1; in ComputeNormal() 203 GLdouble norm[3]; in __gl_projectPolygon() local 207 norm[0] = tess->normal[0]; in __gl_projectPolygon() 208 norm[1] = tess->normal[1]; in __gl_projectPolygon() [all …]
|
D | render.c | 365 static int ComputeNormal( GLUtesselator *tess, GLdouble norm[3], int check ) in ComputeNormal() 395 norm[0] = norm[1] = norm[2] = 0.0; in ComputeNormal() 413 dot = n[0]*norm[0] + n[1]*norm[1] + n[2]*norm[2]; in ComputeNormal() 419 norm[0] += n[0]; norm[1] += n[1]; norm[2] += n[2]; in ComputeNormal() 421 norm[0] -= n[0]; norm[1] -= n[1]; norm[2] -= n[2]; in ComputeNormal() 449 GLdouble norm[3]; in __gl_renderCache() local 457 norm[0] = tess->normal[0]; in __gl_renderCache() 458 norm[1] = tess->normal[1]; in __gl_renderCache() 459 norm[2] = tess->normal[2]; in __gl_renderCache() 460 if( norm[0] == 0 && norm[1] == 0 && norm[2] == 0 ) { in __gl_renderCache() [all …]
|
/external/opencv/cxcore/src/ |
D | 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 ); \ 83 norm = _update_op_( norm, t0 ); \ 98 norm = _update_op_( norm, t0 ); \ 99 norm = _update_op_( norm, t1 ); \ 107 norm = _update_op_( norm, t0 ); \ 108 norm = _update_op_( norm, t1 ); \ [all …]
|
D | _cxipp.h | 316 ( 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 …]
|
D | cxutils.cpp | 716 double norm = 0, v; in cvNormalize() local 728 norm += v*v; in cvNormalize() 730 norm = sqrt(norm); in cvNormalize() 736 norm += v; in cvNormalize() 742 norm = MAX(norm,v); in cvNormalize() 745 norm = norm > DBL_EPSILON ? 1./norm : 0.; in cvNormalize() 747 dptr[i] = (float)(sptr[i]*norm); in cvNormalize() 761 norm += v*v; in cvNormalize() 763 norm = sqrt(norm); in cvNormalize() 769 norm += v; in cvNormalize() [all …]
|
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
D | Common.glsllib | 1 vec3 Common_UnpackNormal(in vec3 norm){ 2 return (norm * vec3(2.0)) - vec3(1.0); 5 vec3 Common_UnpackNormalLA(in vec4 norm){ 6 vec3 newNorm = norm.agb; 11 vec3 Common_PackNormal(in vec3 norm){ 12 return (norm * vec3(0.5)) + vec3(0.5);
|
D | Lighting.glsllib | 10 float Lighting_Diffuse(vec3 norm, vec3 lightdir){ 11 return max(0.0, dot(norm, lightdir)); 14 float Lighting_Specular(vec3 norm, vec3 viewdir, vec3 lightdir, float shiny){ 15 vec3 refdir = reflect(-lightdir, norm);
|
/external/icu4c/test/intltest/ |
D | tstnrapi.cpp | 26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI() local 27 if(norm.next()!=0xe4) { in TestNormalizerAPI() 32 Normalizer copy(norm); in TestNormalizerAPI() 74 norm.setIndexOnly(3); in TestNormalizerAPI() 75 if(norm.current()!=0x4e3d) { in TestNormalizerAPI() 134 norm.setMode(UNORM_NONE); in TestNormalizerAPI() 135 if(norm.first()!=0x61 || norm.next()!=0x308 || norm.last()!=0x2f800) { in TestNormalizerAPI()
|
D | tstnorm.cpp | 165 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestPrevious() local 170 backAndForth(norm, canonTests[i][0]); in TestPrevious() 174 norm->setMode(UNORM_NFC); in TestPrevious() 176 backAndForth(norm, canonTests[i][0]); in TestPrevious() 179 delete norm; in TestPrevious() 184 Normalizer* norm = new Normalizer("", UNORM_NFD); in TestDecomp() local 185 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); in TestDecomp() 187 delete norm; in TestDecomp() 192 Normalizer* norm = new Normalizer("", UNORM_NFKD); in TestCompatDecomp() local 193 iterateTest(norm, compatTests, ARRAY_LENGTH(compatTests), 1); in TestCompatDecomp() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Quaternion.java | 397 float norm = norm(); in toRotationMatrix() local 400 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0; in toRotationMatrix() 442 float norm = norm(); in toRotationMatrix() local 445 float s = (norm == 1f) ? 2f : (norm > 0f) ? 2f / norm : 0; in toRotationMatrix() 506 float norm = norm(); in getRotationColumn() local 507 if (norm != 1.0f) { in getRotationColumn() 508 norm = FastMath.invSqrt(norm); in getRotationColumn() 511 float xx = x * x * norm; in getRotationColumn() 512 float xy = x * y * norm; in getRotationColumn() 513 float xz = x * z * norm; in getRotationColumn() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | BatchNode.java | 511 Vector3f norm = vars.vect2; in doTransforms() local 525 norm.x = tmpFloatN[index++]; in doTransforms() 527 norm.y = tmpFloatN[index++]; in doTransforms() 529 norm.z = tmpFloatN[index]; in doTransforms() 532 transform.multNormal(norm, norm); in doTransforms() 536 tmpFloatN[index++] = norm.x; in doTransforms() 538 tmpFloatN[index++] = norm.y; in doTransforms() 540 tmpFloatN[index++] = norm.z; in doTransforms() 555 Vector3f norm = vars.vect2; in doTransformsTangents() local 577 norm.x = tmpFloatN[index++]; in doTransformsTangents() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | ImageSkia.cpp | 311 FloatRect norm = rect; in normalizeRect() local 312 if (norm.width() < 0) { in normalizeRect() 313 norm.setX(norm.x() + norm.width()); in normalizeRect() 314 norm.setWidth(-norm.width()); in normalizeRect() 316 if (norm.height() < 0) { in normalizeRect() 317 norm.setY(norm.y() + norm.height()); in normalizeRect() 318 norm.setHeight(-norm.height()); in normalizeRect() 320 return norm; in normalizeRect()
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | Deferred.frag | 24 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir, in vec3 viewdir){ 26 float NdotL = max(0.0, dot(norm, lightdir)); 27 float NdotV = max(0.0, dot(norm, viewdir)); 30 return max(0.0, dot(norm, lightdir)); 34 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){ 39 return pow(max(dot(H, norm), 0.0), shiny); 44 float NdotH = max(0.001, tangDot(norm, halfVec)); 45 float NdotV = max(0.001, tangDot(norm, viewdir)); 46 float NdotL = max(0.001, tangDot(norm, lightdir)); 52 vec3 R = reflect(-lightdir, norm);
|
D | Lighting.frag | 85 float lightComputeDiffuse(in vec3 norm, in vec3 lightdir, in vec3 viewdir){ 87 float NdotL = max(0.0, dot(norm, lightdir)); 88 float NdotV = max(0.0, dot(norm, viewdir)); 91 return max(0.0, dot(norm, lightdir)); 95 float lightComputeSpecular(in vec3 norm, in vec3 viewdir, in vec3 lightdir, in float shiny){ 102 return pow(max(tangDot(H, norm), 0.0), shiny); 106 float NdotH = max(0.001, tangDot(norm, halfVec)); 107 float NdotV = max(0.001, tangDot(norm, viewdir)); 108 float NdotL = max(0.001, tangDot(norm, lightdir)); 114 vec3 R = reflect(-lightdir, norm);
|
/external/webrtc/src/common_audio/signal_processing/ |
D | levinson_durbin.c | 38 WebRtc_Word16 norm; in WebRtcSpl_LevinsonDurbin() local 42 norm = WebRtcSpl_NormW32(R[0]); in WebRtcSpl_LevinsonDurbin() 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); in WebRtcSpl_LevinsonDurbin() 142 norm = WebRtcSpl_NormW32(temp3W32); in WebRtcSpl_LevinsonDurbin() 143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) in WebRtcSpl_LevinsonDurbin() 224 norm = WebRtcSpl_NormW32(temp1W32); in WebRtcSpl_LevinsonDurbin() 225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); in WebRtcSpl_LevinsonDurbin() 232 Alpha_exp = Alpha_exp + norm; in WebRtcSpl_LevinsonDurbin()
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
D | Tnaf.java | 82 public static BigInteger norm(final byte mu, ZTauElement lambda) in norm() method in Tnaf 84 BigInteger norm; in norm() local 97 norm = s1.add(s2).add(s3); in norm() 101 norm = s1.subtract(s2).add(s3); in norm() 108 return norm; in norm() 123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u, in norm() method in Tnaf 126 SimpleBigDecimal norm; in norm() local 139 norm = s1.add(s2).add(s3); in norm() 143 norm = s1.subtract(s2).add(s3); in norm() 150 return norm; in norm() [all …]
|
/external/dropbear/libtommath/ |
D | bn_mp_div.c | 106 int res, n, t, i, norm, neg; in mp_div() local 152 norm = mp_count_bits(&y) % DIGIT_BIT; in mp_div() 153 if (norm < (int)(DIGIT_BIT-1)) { in mp_div() 154 norm = (DIGIT_BIT-1) - norm; in mp_div() 155 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) { in mp_div() 158 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) { in mp_div() 162 norm = 0; in mp_div() 272 if ((res = mp_div_2d (&x, norm, &x, NULL)) != MP_OKAY) { in mp_div()
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | StripBox.java | 153 Vector3f norm = new Vector3f(); in duUpdateGeometryNormals() local 156 norm.set(vert[i]).normalizeLocal(); in duUpdateGeometryNormals() 158 normals[i * 3 + 0] = norm.x; in duUpdateGeometryNormals() 159 normals[i * 3 + 1] = norm.x; in duUpdateGeometryNormals() 160 normals[i * 3 + 2] = norm.x; in duUpdateGeometryNormals()
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp | 52 btVector3 norm = btVector3(); in Java_com_jme3_bullet_collision_shapes_PlaneCollisionShape_createShape() local 53 jmeBulletUtil::convert(env, normal, &norm); in Java_com_jme3_bullet_collision_shapes_PlaneCollisionShape_createShape() 54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant); in Java_com_jme3_bullet_collision_shapes_PlaneCollisionShape_createShape()
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
D | EmitterMeshVertexShape.java | 61 Vector3f norm = vertToNormalMap.get(vert); in setMeshes() local 62 if (norm == null) { in setMeshes() 63 norm = new Vector3f(normalTable[i], normalTable[i + 1], normalTable[i + 2]); in setMeshes() 64 vertToNormalMap.put(vert, norm); in setMeshes() 66 norm.addLocal(normalTable[i], normalTable[i + 1], normalTable[i + 2]); in setMeshes()
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestSSAO.java | 66 Texture norm = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall_normal.jpg"); in simpleInitApp() local 67 norm.setWrap(Texture.WrapMode.Repeat); in simpleInitApp() 69 mat.setTexture("NormalMap", norm); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | GeometryBatchFactory.java | 46 Vector3f norm = new Vector3f(); in doTransformNorms() local 53 norm.x = inBuf.get(i * 3 + 0); in doTransformNorms() 54 norm.y = inBuf.get(i * 3 + 1); in doTransformNorms() 55 norm.z = inBuf.get(i * 3 + 2); in doTransformNorms() 57 transform.multNormal(norm, norm); in doTransformNorms() 59 outBuf.put(offset + i * 3 + 0, norm.x); in doTransformNorms() 60 outBuf.put(offset + i * 3 + 1, norm.y); in doTransformNorms() 61 outBuf.put(offset + i * 3 + 2, norm.z); in doTransformNorms()
|
/external/srec/srec/crec/ |
D | get_fram.c | 438 void convert_adjustment_to_imelda(norm_info *norm, preprocessed *prep) in convert_adjustment_to_imelda() argument 444 ASSERT(norm); in convert_adjustment_to_imelda() 446 fram[ii] = (imeldata) norm->adjust[ii]; /* TODO: review types */ in convert_adjustment_to_imelda() 453 norm->imelda_adjust[ii] = fram[ii]; in convert_adjustment_to_imelda() 456 for (ii = 0; ii < norm->dim; ii++) in convert_adjustment_to_imelda() 457 log_report("%d ", (int)norm->imelda_adjust[ii]); in convert_adjustment_to_imelda() 460 norm->adj_valid = True; in convert_adjustment_to_imelda()
|
/external/libxml2/ |
D | xmlschemastypes.c | 2131 xmlChar *norm = NULL; in xmlSchemaValAtomicType() local 2154 norm = xmlSchemaWhiteSpaceReplace(value); in xmlSchemaValAtomicType() 2156 norm = xmlSchemaCollapseString(value); in xmlSchemaValAtomicType() 2157 if (norm != NULL) in xmlSchemaValAtomicType() 2158 value = norm; in xmlSchemaValAtomicType() 2206 norm = xmlSchemaCollapseString(value); in xmlSchemaValAtomicType() 2208 norm = xmlSchemaWhiteSpaceReplace(value); in xmlSchemaValAtomicType() 2209 if (norm != NULL) in xmlSchemaValAtomicType() 2210 value = norm; in xmlSchemaValAtomicType() 2225 norm = xmlSchemaCollapseString(value); in xmlSchemaValAtomicType() [all …]
|