HomeSort by relevance Sort by last modified time
    Searched defs:Matrix (Results 1 - 25 of 162) sorted by null

1 2 3 4 5 6 7

  /cts/tests/openglperf2/jni/graphics/
Matrix.h 17 class Matrix {
21 Matrix();
22 Matrix(const Matrix& src);
24 bool equals(const Matrix& src);
25 // Loads this matrix with the identity matrix.
27 // Loads this matrix with the data from src.
28 void loadWith(const Matrix& src);
29 // Translates this matrix by the given amounts
    [all...]
  /external/skia/experimental/sksg/effects/
SkSGTransform.cpp 13 // Matrix nodes don't generate damage on their own, but via aggregation ancestor Transform nodes.
14 Matrix::Matrix(const SkMatrix& m, sk_sp<Matrix> parent)
23 Matrix::~Matrix() {
29 SkRect Matrix::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) {
40 Transform::Transform(sk_sp<RenderNode> child, sk_sp<Matrix> matrix)
42 , fMatrix(std::move(matrix)) {
    [all...]
SkSGTransform.h 18 * Concrete node, wrapping an SkMatrix, with an optional parent Matrix (to allow chaining):
22 class Matrix : public Node {
24 static sk_sp<Matrix> Make(const SkMatrix& m, sk_sp<Matrix> parent = nullptr) {
25 return sk_sp<Matrix>(new Matrix(m, std::move(parent)));
28 ~Matrix() override;
30 SG_ATTRIBUTE(Matrix, SkMatrix, fLocalMatrix)
35 Matrix(const SkMatrix&, sk_sp<Matrix>);
    [all...]
  /external/skqp/experimental/sksg/effects/
SkSGTransform.cpp 13 // Matrix nodes don't generate damage on their own, but via aggregation ancestor Transform nodes.
14 Matrix::Matrix(const SkMatrix& m, sk_sp<Matrix> parent)
23 Matrix::~Matrix() {
29 SkRect Matrix::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) {
40 Transform::Transform(sk_sp<RenderNode> child, sk_sp<Matrix> matrix)
42 , fMatrix(std::move(matrix)) {
    [all...]
SkSGTransform.h 18 * Concrete node, wrapping an SkMatrix, with an optional parent Matrix (to allow chaining):
22 class Matrix : public Node {
24 static sk_sp<Matrix> Make(const SkMatrix& m, sk_sp<Matrix> parent = nullptr) {
25 return sk_sp<Matrix>(new Matrix(m, std::move(parent)));
28 ~Matrix() override;
30 SG_ATTRIBUTE(Matrix, SkMatrix, fLocalMatrix)
35 Matrix(const SkMatrix&, sk_sp<Matrix>);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
MatrixStack.java 19 import android.opengl.Matrix;
25 * A matrix stack, similar to OpenGL ES's internal matrix stack.
44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far);
55 Matrix.setIdentityM(mMatrix, mTop);
80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset);
104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far);
127 Matrix.setRotateM(mTemp, 0, angle, x, y, z);
129 Matrix.multiplyMM(mMatrix, mTop, mTemp, MATRIX_SIZE, mTemp, 0);
137 Matrix.scaleM(mMatrix, mTop, x, y, z)
    [all...]
Projector.java 19 import android.opengl.Matrix;
43 Matrix.multiplyMM(mMVP, 0, mGrabber.mProjection, 0, mGrabber.mModelView, 0);
47 Matrix.multiplyMV(mV, 0, mMVP, 0, obj, objOffset);
57 * Get the current projection matrix. Has the side-effect of
58 * setting current matrix mode to GL_PROJECTION
67 * Get the current model view matrix. Has the side-effect of
68 * setting current matrix mode to GL_MODELVIEW
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowOpenGLMatrixTest.java 8 import android.opengl.Matrix;
18 Matrix.multiplyMM(null, 0, new float[16], 0, new float[16], 0);
23 Matrix.multiplyMM(new float[16], 0, null, 0, new float[16], 0);
28 Matrix.multiplyMM(new float[16], 0, new float[16], 0, null, 0);
33 Matrix.multiplyMM(new float[15], 0, new float[16], 0, new float[16], 0);
38 Matrix.multiplyMM(new float[16], 0, new float[15], 0, new float[16], 0);
43 Matrix.multiplyMM(new float[16], 0, new float[16], 0, new float[15], 0);
48 Matrix.multiplyMM(new float[32], 30, new float[16], 0, new float[16], 0);
53 Matrix.multiplyMM(new float[16], 0, new float[32], 30, new float[16], 0);
58 Matrix.multiplyMM(new float[16], 0, new float[16], 0, new float[32], 30)
316 float[] matrix = new float[]{ local
408 float[] matrix = new float[]{ local
424 float[] matrix = new float[]{ local
442 float[] matrix = new float[]{ local
461 float[] matrix = new float[]{ local
479 float[] matrix = new float[]{ local
498 float[] matrix = new float[]{ local
516 float[] matrix = new float[]{ local
535 float[] matrix = new float[]{ local
553 float[] matrix = new float[]{ local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
ConeModelMatrixCalculator.java 25 import android.opengl.Matrix;
28 * Manages the model matrix of the direction cone.
40 // Calculate the extrinsics based model matrix with current pose data.
43 // Extract the information we need from calculated model matrix. (Just the translation).
45 Matrix.setIdentityM(translationMatrix, 0);
46 Matrix.translateM(translationMatrix, 0, newModelMatrix[MATRIX_4X4_TRANSLATION_X],
56 Matrix.setIdentityM(rotationTransformation, 0);
67 // Apply translation to the look at matrix.
68 Matrix.multiplyMM(mModelMatrix, 0, translationMatrix, 0, rotationTransformation, 0);
ModelMatrixCalculator.java 23 import android.opengl.Matrix;
29 * Utility class to manage the calculation of a Model Matrix from the translation and quaternion
45 // Set these to identity matrix.
59 Matrix.setIdentityM(mModelMatrix, 0);
64 * Calculates a new model matrix, taking into account extrinsics and the latest pose
70 * @return the new model matrix.
76 // Calculate an initial matrix with extrinsics taken into account.
78 Matrix.setIdentityM(imu2OpenGlMatrix, 0);
79 Matrix.multiplyMM(imu2OpenGlMatrix, 0, mColorCamera2IMUMatrix, 0,
82 Matrix.setIdentityM(invertedDevice2ImuMatrix, 0)
    [all...]
  /development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
MyGLRenderer.java 23 import android.opengl.Matrix;
41 // mMVPMatrix is an abbreviation for "Model View Projection Matrix"
66 // Set the camera position (View matrix)
67 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
70 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0);
82 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f);
84 // Combine the rotation matrix with the projection and camera view
86 // for the matrix multiplication product to be correct.
87 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0);
101 // this projection matrix is applied to object coordinate
    [all...]
  /external/clang/test/SemaCXX/
cxx11-call-to-deleted-constructor.cpp 11 class Matrix {
18 template <class VT, unsigned int SIZE> using Vector = Matrix<VT, SIZE, 1>;
24 template <class VT> class Matrix<VT, 0, 0> { // expected-note {{passing argument to parameter here}}
27 Matrix(const unsigned int nRows, const unsigned int nColumns, const value_type* data = nullptr);
29 Matrix(const std::initializer_list<value_type>& list) = delete; // expected-note {{'Matrix' has been explicitly marked deleted here}}
35 Matrix<double> winI(0, 3);
37 winI = { inputPreL->at() }; // expected-error {{call to deleted constructor of 'cva::Matrix<double, 0, 0> &&'}}
  /external/swiftshader/src/Renderer/
Matrix.hpp 24 struct Matrix
26 Matrix();
27 Matrix(const int i);
28 Matrix(const float m[16]);
29 Matrix(const float m[4][4]);
30 Matrix(float m11, float m12, float m13,
33 Matrix(float m11, float m12, float m13, float m14,
37 Matrix(const Vector &v1, const Vector &v2, const Vector &v3); // Column vectors
39 Matrix &operator=(const Matrix &N)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeView.java 20 import android.opengl.Matrix;
35 // Each edge effect has a transform matrix, and each matrix has 16 elements.
37 // starting index of each matrix.
71 Matrix.setIdentityM(mMatrix, TOP_M);
72 Matrix.setIdentityM(mMatrix, LEFT_M);
73 Matrix.setIdentityM(mMatrix, BOTTOM_M);
74 Matrix.setIdentityM(mMatrix, RIGHT_M);
76 Matrix.rotateM(mMatrix, LEFT_M, 90, 0, 0, 1);
77 Matrix.scaleM(mMatrix, LEFT_M, 1, -1, 1)
    [all...]
  /platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
SimpleGLRenderer.java 24 import android.opengl.Matrix;
43 // mMVPMatrix is an abbreviation for "Model View Projection Matrix"
68 // Set the camera position (View matrix)
69 Matrix.setLookAtM(mViewMatrix, 0, 0, 0, -3, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
72 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0);
84 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f);
86 // Combine the rotation matrix with the projection and camera view
88 // for the matrix multiplication product to be correct.
89 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0);
103 // this projection matrix is applied to object coordinate
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLU.java 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ,
84 * Set up a 2D orthographic projection matrix
98 * Set up a perspective projection matrix
131 * @param model the current modelview matrix
134 * @param project the current projection matrix
136 * matrix data starts.
155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset,
163 Matrix.multiplyMV(scratch, V2_OFFSET,
197 * @param model the current modelview matrix
200 * @param project the current projection matrix
    [all...]
  /external/llvm/lib/CodeGen/
RegAllocBase.h 65 LiveRegMatrix *Matrix;
75 : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {}
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
RendererCommon.java 32 import android.opengl.Matrix;
140 // Matrix with transform y' = 1 - y.
149 // Matrix with transform x' = 1 - x.
159 * Returns texture matrix that will have the effect of rotating the frame |rotationDegree|
164 Matrix.setRotateM(rotationMatrix, 0, rotationDegree, 0, 0, 1);
170 * Returns new matrix with the result of a * b.
174 Matrix.multiplyMM(resultMatrix, 0, a, 0, b, 0);
179 * Returns layout transformation matrix that applies an optional mirror effect and compensates
196 final float matrix[] = new float[16]; local
197 Matrix.setIdentityM(matrix, 0)
    [all...]
  /frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
BasicGLRenderer.java 9 import android.opengl.Matrix;
50 Matrix.setLookAtM(mViewMatrix, 0,
54 Matrix.multiplyMM(mMVPMatrix, 0, mProjectionMatrix, 0, mViewMatrix, 0);
58 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f);
59 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0);
67 Matrix.frustumM(mProjectionMatrix, 0, -ratio / 10, ratio / 10, -.1f, .1f, .1f, 200);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
Renderable.java 25 import android.opengl.Matrix;
57 // matrix
58 Matrix.setIdentityM(mMvMatrix, 0);
59 Matrix.setIdentityM(mMvpMatrix, 0);
60 Matrix.multiplyMM(mMvMatrix, 0, viewMatrix, 0, getModelMatrix(), 0);
61 Matrix.multiplyMM(mMvpMatrix, 0, projectionMatrix, 0, mMvMatrix, 0);
85 Matrix.setIdentityM(getModelMatrix(), 0);
86 Matrix.rotateM(getModelMatrix(), 0, newAngle, 0.0f, 0.0f, 1.0f);
87 Matrix.translateM(getModelMatrix(), 0,
  /external/webrtc/webrtc/modules/audio_processing/beamformer/
matrix.h 41 // Matrix is a class for doing standard matrix operations on 2 dimensional
42 // matrices of any size. Results of matrix operations are stored in the
49 // 'In-place' operations that inherently change the size of the matrix (eg.
57 // Memory for storage is allocated when a matrix is resized only if the new
62 // matrix. TODO(claguna): albeit tricky, allow for data to be referenced
65 class Matrix {
67 Matrix() : num_rows_(0), num_columns_(0) {}
70 Matrix(size_t num_rows, size_t num_columns)
77 // Copies |data| into the new Matrix
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusmatrix.h 4 * GDI+ Matrix class
36 class Matrix: public GdiplusBase
47 Matrix(): nativeMatrix(NULL), lastStatus(Ok)
51 Matrix(REAL m11, REAL m12, REAL m21, REAL m22, REAL dx, REAL dy):
58 Matrix(const RectF& rect, const PointF *dstplg):
64 Matrix(const Rect& rect, const Point *dstplg):
70 ~Matrix()
74 Matrix* Clone() const
80 Matrix *result = new Matrix(cloneMatrix, lastStatus)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
ComplexMovementRenderer.java 34 import android.opengl.Matrix;
122 // Update the MV matrix with new pose data.
135 // Set up projection matrix to match camera intrinsics.
137 // Set up view matrix to match current device positioning.
221 * Update the view matrix of the Renderer to follow the position of the device in the current
226 Matrix.setIdentityM(invertModelMat, 0);
229 Matrix.setIdentityM(temporaryMatrix, 0);
231 Matrix.setIdentityM(mPoseViewMatrix, 0);
232 Matrix.invertM(invertModelMat, 0,
234 Matrix.multiplyMM(temporaryMatrix, 0, mPoseViewMatrix, 0
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
GLES20TriangleRenderer.java 34 import android.opengl.Matrix;
75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f);
76 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0);
77 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0);
89 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
154 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
  /development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
GLES20TriangleRenderer.java 34 import android.opengl.Matrix;
73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f);
74 Matrix.multiplyMM(mMVPMatrix, 0, mVMatrix, 0, mMMatrix, 0);
75 Matrix.multiplyMM(mMVPMatrix, 0, mProjMatrix, 0, mMVPMatrix, 0);
87 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
152 Matrix.setLookAtM(mVMatrix, 0, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);

Completed in 526 milliseconds

1 2 3 4 5 6 7