/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/ |
H A D | mat2.js | 25 * @name mat2 27 var mat2 = {}; 30 * Creates a new identity mat2 32 * @returns {mat2} a new 2x2 matrix 34 mat2.create = function() { 44 * Creates a new mat2 initialized with values from an existing matrix 46 * @param {mat2} a matrix to clone 47 * @returns {mat2} a new 2x2 matrix 49 mat2.clone = function(a) { 59 * Copy the values from one mat2 t [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
H A D | TestCcd.java | 62 private Material mat2;
field in class:TestCcd 93 mat2 = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
94 mat2.getAdditionalRenderState().setWireframe(true);
95 mat2.setColor("Color", ColorRGBA.Red);
142 bulletg.setMaterial(mat2);
|
H A D | TestCollisionShapeFactory.java | 58 private Material mat2; field in class:TestCollisionShapeFactory 78 attachRandomGeometry(node2, mat2); 128 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 129 mat2.setColor("Color", ColorRGBA.Red);
|
H A D | TestBrickWall.java | 69 Material mat2;
field in class:TestBrickWall 122 bulletg.setMaterial(mat2);
173 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
177 mat2.setTexture("ColorMap", tex2);
|
H A D | TestBrickTower.java | 79 Material mat2; field in class:TestBrickTower 133 bulletg.setMaterial(mat2); 200 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 204 mat2.setTexture("ColorMap", tex2);
|
/external/vixl/examples/ |
H A D | neon-matrix-multiply.cc | 62 // mat2 -> x2 117 float mat1[kLength], mat2[kLength], output[kLength]; local 132 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; 133 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[1 [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
H A D | TestOctree.java | 67 private Material mat, mat2; field in class:TestOctree 83 // mat2 = new Material(assetManager, "Common/MatDefs/Misc/ShowNormals.j3md"); 147 // geom.setMaterial(mat2);
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
H A D | TestBatchNodeTower.java | 83 Material mat2; field in class:TestBatchNodeTower 147 bulletg.setMaterial(mat2); 214 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 218 mat2.setTexture("ColorMap", tex2);
|
H A D | TestBatchNodeCluster.java | 63 Material mat2; field in class:TestBatchNodeCluster 85 mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 86 mat2.setColor("Color", ColorRGBA.White); 87 mat2.setColor("GlowColor", ColorRGBA.Red.mult(10)); 151 box.setMaterial(mat2);
|
/external/eigen/test/ |
H A D | ref.cpp | 106 mat2 = mat1, local 140 mat2.row(i).array() += 1; 141 VERIFY_IS_EQUAL(mat1, mat2); 143 mat2.row(i) = v2.real().transpose() * mat3; 144 VERIFY_IS_APPROX(mat1, mat2);
|
/external/opencv/cv/src/ |
H A D | cvaccum.cpp | 595 CvMat stub2, *mat2 = (CvMat*)arrB; local 606 CV_CALL( mat2 = cvGetMat( mat2, &stub2, &coi2 )); 612 if( !CV_ARE_CNS_EQ( mat1, mat2 ) || !CV_ARE_CNS_EQ( mat1, sum )) 618 if( !CV_ARE_SIZES_EQ( mat1, sum ) || !CV_ARE_SIZES_EQ( mat2, sum )) 625 mat2_step = mat2->step; 637 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type )) 644 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step, 664 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type & mask->type )) 671 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2 [all...] |
H A D | cvhistogram.cpp | 514 CvSparseMat* mat2 = (CvSparseMat*)(hist2->bins); local 518 if( mat1->heap->active_count > mat2->heap->active_count ) 521 CV_SWAP( mat1, mat2, t ); 531 uchar* node2_data = cvPtrND( mat2, CV_NODE_IDX(mat1,node1), 0, 0, &node1->hashval ); 544 for( node2 = cvInitSparseMatIterator( mat2, &iterator ); 547 double v2 = *(float*)CV_NODE_VAL(mat2,node2); 548 if( !cvPtrND( mat1, CV_NODE_IDX(mat2,node2), 0, 0, &node2->hashval )) 563 uchar* node2_data = cvPtrND( mat2, CV_NODE_IDX(mat1,node1), 574 for( node2 = cvInitSparseMatIterator( mat2, &iterator ); 577 double v2 = *(float*)CV_NODE_VAL(mat2,node [all...] |
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
H A D | IncompleteLUT.h | 227 SparseMatrix<Scalar,ColMajor, Index> mat2 = amat.transpose(); local 229 // FIXME for a matrix with nearly symmetric pattern, mat2+mat1 is the appropriate choice. 230 // on the other hand for a really non-symmetric pattern, mat2*mat1 should be prefered... 231 SparseMatrix<Scalar,ColMajor, Index> AtA = mat2 + mat1;
|
/external/opencv/cxcore/src/ |
H A D | cxnorm.cpp | 980 CvMat stub2, *mat2 = (CvMat*)imgA; local 987 mat1 = mat2; 988 mat2 = 0; 991 is_relative = mat2 && (normType & CV_RELATIVE); 1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask ) 1011 if( mat2 ) 1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 )) 1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 )) 1019 mat2_flag = mat2 [all...] |
/external/vixl/test/examples/ |
H A D | test-examples.cc | 259 float mat1[kLength], mat2[kLength], expected[kLength], output[kLength]; local 268 mat2[0] = 1.0f; mat2[4] = 11.24f; mat2[ 8] = 21.00f; mat2[12] = 21.31f; 269 mat2[1] = 2.0f; mat2[5] = 2.24f; mat2[ 9] = 8.56f; mat2[13] = 52.03f; 270 mat2[ [all...] |
/external/clang/test/Sema/ |
H A D | array-init.c | 263 const Matrix mat2 = { local
|
/external/skia/tests/ |
H A D | MatrixTest.cpp | 901 SkMatrix mat2; local 902 mat2.reset(); 906 REPORTER_ASSERT(reporter, are_equal(reporter, mat, mat2)); 908 mat2.reset(); 911 mat2.set(SkMatrix::kMSkewX, SK_ScalarNaN); 912 REPORTER_ASSERT(reporter, !are_equal(reporter, mat, mat2));
|
/external/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 166 static const MAT2 mat2 = {{0, 1}, {0, 0}, {0, 0}, {0, 1}}; local 173 NULL, &mat2) == GDI_ERROR) { 1721 static const MAT2 mat2 = {SkScalarToFIXED(1), SkScalarToFIXED(0), local 1725 if (GDI_ERROR == GetGlyphOutline(hdc, gId, flags, &gm, 0, NULL, &mat2)) {
|
/external/deqp/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 2683 ExprP<Matrix<T, Rows, 2> > mat2 (const ExprP<Vector<T, Rows> >& arg0, function in namespace:deqp::gls::BuiltinPrecisionTests::Functions 3644 return mat2(vec2(mat[1][1] / det, -mat[0][1] / det), 3663 inverse(mat2(vec2(mat[0][0], mat[0][1]), 3703 inverse(mat2(vec2(mat[0][0], mat[0][1]), 3706 mat2(vec2(mat[2][0], mat[2][1]), 3709 mat2(vec2(mat[0][2], mat[0][3]), 3712 mat2(vec2(mat[2][2], mat[2][3]), 4703 const Matrix<T, Rows, Cols>& mat2) const 4707 if (inputLess(mat1[col], mat2[col])) 4709 if (inputLess(mat2[co [all...] |