Home
last modified time | relevance | path

Searched full:matrix (Results 1 – 25 of 4719) sorted by relevance

12345678910>>...189

/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DIMath.js31 J3DIMatrix4 - A 4x4 Matrix
37 This class implements a 4x4 matrix. It has functions which duplicate the
38 functionality of the OpenGL matrix stack and glut functions. On browsers
44 … Constructor(in J3DIMatrix4 matrix), // copy passed matrix into new J3DIMatrix4
46 … Constructor() // create new J3DIMatrix4 with identity matrix
49 … void load(in J3DIMatrix4 matrix); // copy the values from the passed matrix
50 void load(in sequence<float> array); // copy 16 floats into the matrix
51 … sequence<float> getAsArray(); // return the matrix as an array of 16 floats
52 …Float32Array getAsFloat32Array(); // return the matrix as a Float32Array with 16 values
53 …void setUniform(in WebGLRenderingContext ctx, // Send the matrix to the passed uniform locat…
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java6 import android.graphics.Matrix;
21 Matrix m = new Matrix(); in preOperationsAreStacked()
35 Matrix m = new Matrix(); in postOperationsAreQueued()
49 Matrix m = new Matrix(); in setOperationsOverride()
63 final Matrix matrix = new Matrix(); in set_shouldAddOpsToMatrix() local
64 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix()
65 matrix.preScale(2, 2, 2, 2); in set_shouldAddOpsToMatrix()
66 matrix.postScale(3, 3, 3, 3); in set_shouldAddOpsToMatrix()
68 final ShadowMatrix shadow = shadowOf(matrix); in set_shouldAddOpsToMatrix()
76 final Matrix matrix = new Matrix(); in setScale_shouldAddOpsToMatrix() local
[all …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeMatrixTest.java7 import android.graphics.Matrix;
24 final Matrix matrix = new Matrix(); in testIsIdentity() local
25 assertThat(matrix.isIdentity()).isTrue(); in testIsIdentity()
27 matrix.postScale(2.0f, 2.0f); in testIsIdentity()
28 assertThat(matrix.isIdentity()).isFalse(); in testIsIdentity()
33 final Matrix matrix = new Matrix(); in testIsAffine() local
34 assertThat(matrix.isAffine()).isTrue(); in testIsAffine()
36 matrix.postScale(2.0f, 2.0f); in testIsAffine()
37 assertThat(matrix.isAffine()).isTrue(); in testIsAffine()
38 matrix.postTranslate(1.0f, 2.0f); in testIsAffine()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowMatrixTest.java6 import android.graphics.Matrix;
21 Matrix m = new Matrix(); in preOperationsAreStacked()
32 Matrix m = new Matrix(); in postOperationsAreQueued()
43 Matrix m = new Matrix(); in setOperationsOverride()
58 final Matrix matrix = new Matrix(); in set_shouldAddOpsToMatrix() local
59 matrix.setScale(1, 1); in set_shouldAddOpsToMatrix()
60 matrix.preScale(2, 2, 2, 2); in set_shouldAddOpsToMatrix()
61 matrix.postScale(3, 3, 3, 3); in set_shouldAddOpsToMatrix()
63 final ShadowMatrix shadow = Shadow.extract(matrix); in set_shouldAddOpsToMatrix()
71 final Matrix matrix = new Matrix(); in setScale_shouldAddOpsToMatrix() local
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.matType.int.frag.out9 0:25 move second child to first child ( temp 1X1 matrix of int)
10 0:25 'r00' ( temp 1X1 matrix of int)
11 0:25 transpose ( temp 1X1 matrix of int)
12 0:25 'i1x1' ( temp 1X1 matrix of int)
14 0:26 move second child to first child ( temp 1X2 matrix of int)
15 0:26 'r01' ( temp 1X2 matrix of int)
16 0:26 transpose ( temp 1X2 matrix of int)
17 0:26 'i2x1' ( temp 2X1 matrix of int)
19 0:27 move second child to first child ( temp 1X3 matrix of int)
20 0:27 'r02' ( temp 1X3 matrix of int)
[all …]
Dhlsl.mul-truncate.frag.out2 WARNING: 0:24: '' : mul() matrix size mismatch
3 WARNING: 0:25: '' : mul() matrix size mismatch
4 WARNING: 0:28: '' : mul() matrix size mismatch
5 WARNING: 0:29: '' : mul() matrix size mismatch
6 WARNING: 0:32: '' : mul() matrix size mismatch
7 WARNING: 0:33: '' : mul() matrix size mismatch
8 WARNING: 0:34: '' : mul() matrix size mismatch
9 WARNING: 0:35: '' : mul() matrix size mismatch
22matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major …
27matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major …
[all …]
Dmatrix2.frag.out12 0:21 move second child to first child ( temp 3X4 matrix of float)
13 0:21 'm34' ( temp 3X4 matrix of float)
14 0:21 outer product ( global 3X4 matrix of float)
17 0:23 add second child into first child ( temp 3X4 matrix of float)
18 0:23 'm34' ( temp 3X4 matrix of float)
41 0:26 vector-times-matrix ( temp 3-component vector of float)
43 0:26 'm34' ( temp 3X4 matrix of float)
46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float)
47 0:28 'm34' ( temp 3X4 matrix of float)
53 0:30 move second child to first child ( temp 4X4 matrix of float)
[all …]
Dhlsl.type.type.conversion.all.frag.out2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o…
3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o…
4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o…
5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o…
6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o…
7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o…
8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o…
9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o…
10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o…
12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o…
[all …]
Dhlsl.matpack-pragma.frag.out17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo…
18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
19matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of …
28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
29matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl…
38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
39matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float)
[all …]
Dhlsl.matType.bool.frag.out9 0:25 move second child to first child ( temp 1X1 matrix of bool)
10 0:25 'r00' ( temp 1X1 matrix of bool)
11 0:25 transpose ( temp 1X1 matrix of bool)
12 0:25 'b1x1' ( temp 1X1 matrix of bool)
14 0:26 move second child to first child ( temp 1X2 matrix of bool)
15 0:26 'r01' ( temp 1X2 matrix of bool)
16 0:26 transpose ( temp 1X2 matrix of bool)
17 0:26 'b2x1' ( temp 2X1 matrix of bool)
19 0:27 move second child to first child ( temp 1X3 matrix of bool)
20 0:27 'r02' ( temp 1X3 matrix of bool)
[all …]
Dhlsl.intrinsics.vert.out680 0:331 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float)
682 0:331 'inF0' ( in 2X2 matrix of float)
683 0:331 'inF1' ( in 2X2 matrix of float)
684 0:331 'inF2' ( in 2X2 matrix of float)
687 0:333 Convert float to bool ( temp 2X2 matrix of bool)
688 0:333 'inF0' ( in 2X2 matrix of float)
689 0:333 Absolute value ( temp 2X2 matrix of float)
690 0:333 'inF0' ( in 2X2 matrix of float)
691 0:333 arc cosine ( temp 2X2 matrix of float)
692 0:333 'inF0' ( in 2X2 matrix of float)
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.matType.int.frag.out9 0:25 move second child to first child ( temp 1X1 matrix of int)
10 0:25 'r00' ( temp 1X1 matrix of int)
11 0:25 transpose ( temp 1X1 matrix of int)
12 0:25 'i1x1' ( temp 1X1 matrix of int)
14 0:26 move second child to first child ( temp 1X2 matrix of int)
15 0:26 'r01' ( temp 1X2 matrix of int)
16 0:26 transpose ( temp 1X2 matrix of int)
17 0:26 'i2x1' ( temp 2X1 matrix of int)
19 0:27 move second child to first child ( temp 1X3 matrix of int)
20 0:27 'r02' ( temp 1X3 matrix of int)
[all …]
Dhlsl.mul-truncate.frag.out2 WARNING: 0:24: '' : mul() matrix size mismatch
3 WARNING: 0:25: '' : mul() matrix size mismatch
4 WARNING: 0:28: '' : mul() matrix size mismatch
5 WARNING: 0:29: '' : mul() matrix size mismatch
6 WARNING: 0:32: '' : mul() matrix size mismatch
7 WARNING: 0:33: '' : mul() matrix size mismatch
8 WARNING: 0:34: '' : mul() matrix size mismatch
9 WARNING: 0:35: '' : mul() matrix size mismatch
22matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major …
27matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major …
[all …]
Dmatrix2.frag.out12 0:21 move second child to first child ( temp 3X4 matrix of float)
13 0:21 'm34' ( temp 3X4 matrix of float)
14 0:21 outer product ( global 3X4 matrix of float)
17 0:23 add second child into first child ( temp 3X4 matrix of float)
18 0:23 'm34' ( temp 3X4 matrix of float)
41 0:26 vector-times-matrix ( temp 3-component vector of float)
43 0:26 'm34' ( temp 3X4 matrix of float)
46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float)
47 0:28 'm34' ( temp 3X4 matrix of float)
53 0:30 move second child to first child ( temp 4X4 matrix of float)
[all …]
Dhlsl.type.type.conversion.all.frag.out2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o…
3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o…
4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o…
5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o…
6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o…
7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o…
8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o…
9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o…
10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o…
12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o…
[all …]
Dhlsl.matpack-pragma.frag.out17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo…
18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
19matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of …
28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
29matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl…
38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay…
39matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t…
47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float)
[all …]
Dhlsl.matType.bool.frag.out9 0:25 move second child to first child ( temp 1X1 matrix of bool)
10 0:25 'r00' ( temp 1X1 matrix of bool)
11 0:25 transpose ( temp 1X1 matrix of bool)
12 0:25 'b1x1' ( temp 1X1 matrix of bool)
14 0:26 move second child to first child ( temp 1X2 matrix of bool)
15 0:26 'r01' ( temp 1X2 matrix of bool)
16 0:26 transpose ( temp 1X2 matrix of bool)
17 0:26 'b2x1' ( temp 2X1 matrix of bool)
19 0:27 move second child to first child ( temp 1X3 matrix of bool)
20 0:27 'r02' ( temp 1X3 matrix of bool)
[all …]
Dhlsl.intrinsics.vert.out680 0:331 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float)
682 0:331 'inF0' ( in 2X2 matrix of float)
683 0:331 'inF1' ( in 2X2 matrix of float)
684 0:331 'inF2' ( in 2X2 matrix of float)
687 0:333 Convert float to bool ( temp 2X2 matrix of bool)
688 0:333 'inF0' ( in 2X2 matrix of float)
689 0:333 Absolute value ( temp 2X2 matrix of float)
690 0:333 'inF0' ( in 2X2 matrix of float)
691 0:333 arc cosine ( temp 2X2 matrix of float)
692 0:333 'inF0' ( in 2X2 matrix of float)
[all …]
Dhlsl.matNx1.frag.out9 0:13 move second child to first child ( temp 1X1 matrix of float)
10 0:13 'r00' ( temp 1X1 matrix of float)
11 0:13 transpose ( temp 1X1 matrix of float)
12 0:13 'f1x1' ( temp 1X1 matrix of float)
14 0:14 move second child to first child ( temp 1X2 matrix of float)
15 0:14 'r01' ( temp 1X2 matrix of float)
16 0:14 transpose ( temp 1X2 matrix of float)
17 0:14 'f2x1' ( temp 2X1 matrix of float)
19 0:15 move second child to first child ( temp 1X3 matrix of float)
20 0:15 'r02' ( temp 1X3 matrix of float)
[all …]
/external/deqp/framework/common/
DtcuMatrix.hpp23 * \brief Templatized matrix class.
33 // Templated matrix class.
35 class Matrix class
48 Matrix (void);
49 explicit Matrix (const T& src);
50 explicit Matrix (const T src[Rows*Cols]);
51 Matrix (const Vector<T, Rows>& src);
52 Matrix (const Matrix<T, Rows, Cols>& src);
53 ~Matrix (void);
55 Matrix<T, Rows, Cols>& operator= (const Matrix<T, Rows, Cols>& src);
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dmatrix_integer.hpp34 /// High-precision signed integer 2x2 matrix.
38 /// High-precision signed integer 3x3 matrix.
42 /// High-precision signed integer 4x4 matrix.
46 /// High-precision signed integer 2x2 matrix.
50 /// High-precision signed integer 2x3 matrix.
54 /// High-precision signed integer 2x4 matrix.
58 /// High-precision signed integer 3x2 matrix.
62 /// High-precision signed integer 3x3 matrix.
66 /// High-precision signed integer 3x4 matrix.
70 /// High-precision signed integer 4x2 matrix.
[all …]
/external/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DMatrix.java13 * 4x4 matrix backed by SkM44
15 public class Matrix { class
19 * Returns identity Matrix
21 public Matrix() { in Matrix() method in Matrix
29 * Returns Matrix populated with values passed in (row-major order).
31 public Matrix(float m0, float m4, float m8, float m12, in Matrix() method in Matrix
41 Matrix(long nativeInstance) { in Matrix() method in Matrix
45 public static Matrix makeLookAt(float eyeX, float eyeY, float eyeZ, in makeLookAt()
48 return new Matrix(nCreateLookAt(eyeX, eyeY, eyeZ, in makeLookAt()
53 public static Matrix makePerspective(float near, float far, float angle) { in makePerspective()
[all …]
/external/webrtc/audio/utility/
Dchannel_mixing_matrix_unittest.cc25 // Also ensure that the channel matrix fulfill certain conditions when remapping
56 std::vector<std::vector<float>> matrix; in TEST() local
57 bool remapping = matrix_builder.CreateTransformationMatrix(&matrix); in TEST()
67 EXPECT_EQ(static_cast<size_t>(input_channels), matrix[i].size()); in TEST()
70 float scale = matrix[i][j]; in TEST()
92 std::vector<std::vector<float>> matrix; in TEST() local
93 bool remapping = matrix_builder.CreateTransformationMatrix(&matrix); in TEST()
100 EXPECT_EQ(1u, matrix.size()); in TEST()
101 EXPECT_EQ(2u, matrix[0].size()); in TEST()
102 EXPECT_EQ(0.5f, matrix[0][0]); in TEST()
[all …]
/external/pigweed/pw_snapshot/images/
Dgeneric_crash_flow.svg1matrix(1,0,0,1,25,185) translate(1.018518518518519 39.65277777777778)"/><use xlink:href="#b" trans…
/external/eigen/Eigen/src/Core/
DMatrix.h18 struct traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
55 /** \class Matrix
58 * \brief The matrix class, also used for vectors and row-vectors
60 …* The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors w…
63 …* The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note…
81 * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix<double, 2, 2>)
82 * \li \c Vector4f is a vector of 4 floats (\c Matrix<float, 4, 1>)
83 * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix<int, 1, 3>)
85 * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix<float, Dynamic, Dynamic>)
86 * \li \c VectorXf is a dynamic-size vector of floats (\c Matrix<float, Dynamic, 1>)
[all …]

12345678910>>...189