/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/ |
D | mat2-spec.js | 41 beforeEach(function() { result = mat2.create(); }); 46 beforeEach(function() { result = mat2.clone(matA); }); 51 beforeEach(function() { result = mat2.copy(out, matA); }); 57 beforeEach(function() { result = mat2.identity(out); }); 64 beforeEach(function() { result = mat2.transpose(out, matA); }); 72 beforeEach(function() { result = mat2.transpose(matA, matA); }); 81 beforeEach(function() { result = mat2.invert(out, matA); }); 89 beforeEach(function() { result = mat2.invert(matA, matA); }); 98 beforeEach(function() { result = mat2.adjoint(out, matA); }); 106 beforeEach(function() { result = mat2.adjoint(matA, matA); }); [all …]
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
D | mat2.js | 27 var mat2 = {}; variable 34 mat2.create = function() { 49 mat2.clone = function(a) { 65 mat2.copy = function(out, a) { 79 mat2.identity = function(out) { 94 mat2.transpose = function(out, a) { 117 mat2.invert = function(out, a) { 143 mat2.adjoint = function(out, a) { 160 mat2.determinant = function (a) { 172 mat2.multiply = function (out, a, b) { [all …]
|
/external/eigen/doc/snippets/ |
D | Tutorial_AdvancedInitialization_ThreeWays.cpp | 9 MatrixXd mat2(size, size); 10 mat2.topLeftCorner(size/2, size/2).setZero(); 11 mat2.topRightCorner(size/2, size/2).setIdentity(); 12 mat2.bottomLeftCorner(size/2, size/2).setIdentity(); 13 mat2.bottomRightCorner(size/2, size/2).setZero(); 14 std::cout << mat2 << std::endl << std::endl;
|
/external/eigen/test/ |
D | product_large.cpp | 56 MatrixXf mat2(32,32); mat2.setRandom(); in test_product_large() local 57 MatrixXf r1 = mat1.row(2)*mat2.transpose(); in test_product_large() 58 VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval()); in test_product_large() 60 MatrixXf r2 = mat1.row(2)*mat2; in test_product_large() 61 VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval()); in test_product_large()
|
D | ref.cpp | 106 mat2 = mat1, in ref_vector() local 140 mat2.row(i).array() += 1; in ref_vector() 141 VERIFY_IS_EQUAL(mat1, mat2); in ref_vector() 143 mat2.row(i) = v2.real().transpose() * mat3; in ref_vector() 144 VERIFY_IS_APPROX(mat1, mat2); in ref_vector()
|
/external/opencv/cxcore/src/ |
D | cxnorm.cpp | 980 CvMat stub2, *mat2 = (CvMat*)imgA; in cvNorm() local 987 mat1 = mat2; in cvNorm() 988 mat2 = 0; in cvNorm() 991 is_relative = mat2 && (normType & CV_RELATIVE); in cvNorm() 1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask ) in cvNorm() 1011 if( mat2 ) in cvNorm() 1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 )) in cvNorm() 1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 )) in cvNorm() 1019 mat2_flag = mat2->type; in cvNorm() 1038 if( !mat2 || is_relative ) in cvNorm() [all …]
|
/external/deqp/data/gles2/shaders/ |
D | conversions.test | 3188 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 3200 out0 = mat2(in0); 3254 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 3266 out0 = mat2(in0); 3320 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(0.0, 0.0, 0.0, 0.0) ]; 3332 out0 = mat2(in0); 3390 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.0208333333333) ]; 3402 out0 = mat2(in0); 3456 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.03125) ]; 3468 out0 = mat2(in0); [all …]
|
D | linkage.test | 273 desc "varying of type mat2" 276 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 277 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 281 varying mediump mat2 var; 291 varying mat2 var;
|
/external/eigen/test/eigen2/ |
D | eigen2_product_large.cpp | 40 MatrixXf mat2(32,10); mat2.setRandom(); in test_eigen2_product_large() local 41 MatrixXf result = mat1.row(2)*mat2.transpose(); in test_eigen2_product_large() 42 VERIFY_IS_APPROX(result, (mat1.row(2)*mat2.transpose()).eval()); in test_eigen2_product_large()
|
/external/deqp/data/gles3/shaders/ |
D | conversions.test | 6271 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 6284 out0 = mat2(in0); 6487 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat… 6500 out0 = mat2(in0); 6703 …mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat2(3.0, 0.0, 0.0, 3.0) | mat… 6716 out0 = mat2(in0); 6919 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(0.0, 0.0, 0.0, 0.0) ]; 6932 out0 = mat2(in0); 7139 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.0208333333333) ]; 7152 out0 = mat2(in0); [all …]
|
D | linkage.test | 873 case mat2 875 desc "varying of type mat2" 878 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 879 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 884 out mediump mat2 var; 895 in mat2 var; 1534 case mat2 1536 desc "varying of type mat2 inside struct" 1539 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 1540 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… [all …]
|
/external/deqp/data/gles31/shaders/ |
D | linkage_tessellation_varying_types.test | 219 case mat2 221 desc "varying of type mat2" 225 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 226 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 231 out mediump mat2 vtx_var; 241 in mediump mat2 vtx_var[]; 242 out mediump mat2 tc_out[]; 252 in mediump mat2 tc_out[]; 253 out mediump mat2 te_out; 264 in mat2 te_out;
|
D | linkage_geometry_varying_types.test | 191 case mat2 193 desc "varying of type mat2" 197 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 198 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 203 out mediump mat2 vtx_var; 213 in mediump mat2 vtx_var[]; 214 out mediump mat2 geo_var; 229 in mat2 geo_var;
|
D | linkage_tessellation_geometry_varying_types.test | 283 case mat2 285 desc "varying of type mat2" 290 …mat2 in0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 291 …mat2 out0 = [ mat2(1.0, 1.0, 1.0, 1.0) | mat2(-1.25, 1.25, -9.5, -12.2) | mat2(-25.65, -7.25, 14.2… 296 out mediump mat2 vtx_var; 306 in mediump mat2 vtx_var[]; 307 out mediump mat2 tc_out[]; 317 in mediump mat2 tc_out[]; 318 out mediump mat2 te_out; 328 in mediump mat2 te_out[]; [all …]
|
D | linkage_tessellation_uniform_types.test | 211 case mat2 213 desc "uniform of type mat2" 217 uniform mat2 val0 = [ mat2(-1.25, 1.25, -9.5, -12.2) ]; 218 uniform mat2 val1 = [ mat2(1.0, 1.5, 2.5, -1.0) ]; 219 output mat2 out0 = [ mat2(0.75, 4.25, -4.5, -14.2) ]; 232 out mediump mat2 tc_out[]; 242 in mediump mat2 tc_out[]; 243 out mediump mat2 te_out; 254 in mat2 te_out;
|
D | linkage_geometry_uniform_types.test | 179 case mat2 181 desc "uniform of type mat2" 185 uniform mat2 val = mat2(-1.25, 1.25, -9.5, -12.2); 186 output mat2 out0 = mat2(-1.25, 1.25, -9.5, -12.2); 199 out mediump mat2 geo_var; 214 in mat2 geo_var;
|
/external/chromium_org/third_party/qcms/src/ |
D | transform-sse2.c | 65 const __m128 mat2 = _mm_load_ps(mat[2]); in qcms_transform_data_rgb_out_lut_sse2() local 102 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgb_out_lut_sse2() 134 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgb_out_lut_sse2() 179 const __m128 mat2 = _mm_load_ps(mat[2]); in qcms_transform_data_rgba_out_lut_sse2() local 218 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgba_out_lut_sse2() 254 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgba_out_lut_sse2()
|
D | transform-sse1.c | 65 const __m128 mat2 = _mm_load_ps(mat[2]); in qcms_transform_data_rgb_out_lut_sse1() local 102 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgb_out_lut_sse1() 136 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgb_out_lut_sse1() 185 const __m128 mat2 = _mm_load_ps(mat[2]); in qcms_transform_data_rgba_out_lut_sse1() local 224 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgba_out_lut_sse1() 262 vec_b = _mm_mul_ps(vec_b, mat2); in qcms_transform_data_rgba_out_lut_sse1()
|
/external/eigen/doc/ |
D | QuickReference.dox | 322 mat3 = mat1 + mat2; mat3 += mat1; 323 mat3 = mat1 - mat2; mat3 -= mat1;\endcode 334 mat3 = mat1 * mat2; mat3 *= mat1; \endcode 338 mat1 = mat2.transpose(); mat1.transposeInPlace(); 339 mat1 = mat2.adjoint(); mat1.adjointInPlace(); 371 mat1.cwiseMin(mat2) 372 mat1.cwiseMax(mat2) 376 mat1.cwiseProduct(mat2) 377 mat1.cwiseQuotient(mat2)\endcode 379 mat1.array().min(mat2.array()) [all …]
|
/external/opencv/cv/src/ |
D | cvaccum.cpp | 595 CvMat stub2, *mat2 = (CvMat*)arrB; in cvMultiplyAcc() local 606 CV_CALL( mat2 = cvGetMat( mat2, &stub2, &coi2 )); in cvMultiplyAcc() 612 if( !CV_ARE_CNS_EQ( mat1, mat2 ) || !CV_ARE_CNS_EQ( mat1, sum )) in cvMultiplyAcc() 618 if( !CV_ARE_SIZES_EQ( mat1, sum ) || !CV_ARE_SIZES_EQ( mat2, sum )) in cvMultiplyAcc() 625 mat2_step = mat2->step; in cvMultiplyAcc() 637 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type )) in cvMultiplyAcc() 644 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step, in cvMultiplyAcc() 664 if( CV_IS_MAT_CONT( mat1->type & mat2->type & sum->type & mask->type )) in cvMultiplyAcc() 671 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step, in cvMultiplyAcc()
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
D | matrixCompMult.ir | 2 (signature mat2 4 (declare (in) mat2 x) 5 (declare (in) mat2 y)) 6 ((declare () mat2 z)
|
/external/mesa3d/src/glsl/builtins/ir/ |
D | matrixCompMult.ir | 2 (signature mat2 4 (declare (in) mat2 x) 5 (declare (in) mat2 y)) 6 ((declare () mat2 z)
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/glsl/ |
D | inverse.glsl | 24 mat2 inverse(mat2 m) 26 mat2 adj;
|
/external/mesa3d/src/glsl/builtins/glsl/ |
D | inverse.glsl | 24 mat2 inverse(mat2 m) 26 mat2 adj;
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 593 #define CV_ARE_TYPES_EQ(mat1, mat2) \ argument 594 ((((mat1)->type ^ (mat2)->type) & CV_MAT_TYPE_MASK) == 0) 596 #define CV_ARE_CNS_EQ(mat1, mat2) \ argument 597 ((((mat1)->type ^ (mat2)->type) & CV_MAT_CN_MASK) == 0) 599 #define CV_ARE_DEPTHS_EQ(mat1, mat2) \ argument 600 ((((mat1)->type ^ (mat2)->type) & CV_MAT_DEPTH_MASK) == 0) 602 #define CV_ARE_SIZES_EQ(mat1, mat2) \ argument 603 ((mat1)->rows == (mat2)->rows && (mat1)->cols == (mat2)->cols)
|