HomeSort by relevance Sort by last modified time
    Searched full:matrix (Results 976 - 1000 of 3296) sorted by null

<<31323334353637383940>>

  /external/skia/src/gpu/effects/
GrTextureDomainEffect.cpp 153 const SkMatrix& matrix,
160 return GrSimpleTextureEffect::Create(texture, matrix, filterMode);
176 matrix,
187 const SkMatrix& matrix,
192 : GrSingleTextureEffect(texture, matrix, filterMode, coordsType)
235 const SkMatrix& matrix = GrEffectUnitTest::TestMatrix(random); local
239 matrix,
  /external/skia/src/views/
SkWindow.cpp 73 void SkWindow::setMatrix(const SkMatrix& matrix) {
74 if (fMatrix != matrix) {
75 fMatrix = matrix;
80 void SkWindow::preConcat(const SkMatrix& matrix) {
82 m.setConcat(fMatrix, matrix);
86 void SkWindow::postConcat(const SkMatrix& matrix) {
88 m.setConcat(matrix, fMatrix);
  /frameworks/base/graphics/java/android/graphics/
ColorMatrix.java 22 * 5x4 matrix for transforming the color+alpha components of a Bitmap.
23 * The matrix is stored in a single array, and its treated as follows:
84 * Assign the src colormatrix into this matrix, copying all of its values.
91 * Assign the array of floats into this matrix, copying all of its values.
201 * Set the matrix to affect the saturation of colors. A value of 0 maps the
219 * Set the matrix to convert RGB to YUV
231 * Set the matrix to convert from YUV to RGB
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLES20Canvas.java 23 import android.opengl.Matrix;
150 // Projection matrix
270 Matrix.setIdentityM(mTempTextureMatrix, 0);
271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1);
356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0);
357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1);
394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z);
398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call
422 float[] matrix = mMatrices; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLES20Canvas.java 23 import android.opengl.Matrix;
150 // Projection matrix
270 Matrix.setIdentityM(mTempTextureMatrix, 0);
271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1);
356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0);
357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1);
394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z);
398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call
422 float[] matrix = mMatrices; local
    [all...]
  /packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/
GLES20Canvas.java 23 import android.opengl.Matrix;
150 // Projection matrix
270 Matrix.setIdentityM(mTempTextureMatrix, 0);
271 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
351 Matrix.setIdentityM(mMatrices, mCurrentMatrixIndex);
352 Matrix.orthoM(mProjectionMatrix, 0, 0, width, 0, height, -1, 1);
356 Matrix.translateM(mMatrices, mCurrentMatrixIndex, 0, height, 0);
357 Matrix.scaleM(mMatrices, mCurrentMatrixIndex, 1, -1, 1);
394 Matrix.translateM(mMatrices, mCurrentMatrixIndex, x, y, z);
398 // (1) we knows z = 0, (2) we inline the Matrix.translateM call
422 float[] matrix = mMatrices; local
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SVG/resources/
HereGear.svg 247 gradientTransform="matrix(-1.093807,-1.343851,-0.536088,0.414414,-74.70740,-56.93361)"
257 gradientTransform="matrix(-1.844135,-2.265702,-0.909565,0.703121,1383.586,224.1969)"
267 gradientTransform="matrix(0.956969,1.860867e-3,-2.617506e-3,1.346081,-53.95926,-119.1654)"
277 gradientTransform="matrix(0.931347,1.811017e-3,-2.689564e-3,1.383113,-140.1857,-119.3331)"
287 gradientTransform="matrix(0.939831,1.827546e-3,-2.665267e-3,1.370630,-140.1857,-119.3331)"
297 gradientTransform="matrix(-1.955129,-2.402071,-0.857928,0.663203,1383.588,224.1969)"
319 gradientTransform="matrix(1.495686,0.000000,0.000000,0.729857,-45.18242,-37.84368)"
329 gradientTransform="matrix(-0.457973,-0.562666,-3.662576,2.831278,1383.588,224.1969)"
340 gradientTransform="matrix(-0.816079,-1.002634,-2.055392,1.588877,1383.589,224.1971)"
350 gradientTransform="matrix(-0.816080,-1.002634,-2.055392,1.588877,1383.589,224.1971)
    [all...]
  /external/ceres-solver/internal/ceres/
schur_eliminator_impl.h 37 // Eigen has an internal threshold switching between different matrix
40 // matrix matrix product algorithm that has a higher setup cost. For
41 // matrix sizes close to this threshold, especially when the matrices
104 // matrix should already have been ordered so that all rows
200 += diag.array().square().matrix();
208 // Gaussian elimination to them. The matrix ete stores the normal
209 // matrix corresponding to the block being eliminated and array
233 typename EigenTypes<kEBlockSize, kEBlockSize>::Matrix
239 ete = diag.array().square().matrix().asDiagonal()
    [all...]
schur_eliminator.h 54 // of the variables is such that, E'E is a block diagonal matrix. Or
56 // of the of the graph implied by the block matrix A'A. Then, this
83 // contiguous block. i.e the matrix A looks like
100 // should be non-null and the diagonal matrix corresponding to it
132 // 1. E'E is a block diagonal matrix.
147 // Where the sum is over chunks and E_k'E_k is dense matrix of size y1
186 // Since the Schur complement is a symmetric matrix, only the upper
208 // input matrix. In many problems, the sizes of one or more of these
243 // problem. Consider the first chunk in the example matrix above.
279 typename EigenTypes<kEBlockSize, kEBlockSize>::Matrix* eet
    [all...]
residual_block_test.cc 123 Matrix jacobian_rx(3, 2);
124 Matrix jacobian_ry(3, 3);
125 Matrix jacobian_rz(3, 4);
262 Matrix jacobian_rx(3, 1); // Since the first element is fixed.
263 Matrix jacobian_ry(3, 3);
264 Matrix jacobian_rz(3, 3); // Since the third element is fixed.
282 Matrix expected_jacobian_rx(3, 1);
285 Matrix expected_jacobian_ry(3, 3);
290 Matrix expected_jacobian_rz(3, 3);
schur_complement_solver.cc 117 // Solve the system Sx = r, assuming that the matrix S is stored in a
174 // Determine the non-zero blocks in the Schur Complement matrix, and
262 // Solve the system Sx = r, assuming that the matrix S is stored in a
269 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix());
282 // complement matrix from scratch and not rely on the
286 // Create a upper triangular symmetric matrix.
299 // Create a upper triangular symmetric matrix.
335 // Solve the system Sx = r, assuming that the matrix S is stored in a
343 down_cast<const BlockRandomAccessSparseMatrix*>(lhs())->matrix());
  /external/chromium_org/cc/base/
math_util.cc 32 if (!transform.matrix().get(2, 2))
35 SkMScalar z = -(transform.matrix().get(2, 0) * p.x() +
36 transform.matrix().get(2, 1) * p.y() +
37 transform.matrix().get(2, 3)) /
38 transform.matrix().get(2, 2);
40 transform.matrix().mapMScalars(result.vec, result.vec);
48 transform.matrix().mapMScalars(result.vec, result.vec);
114 static_cast<float>(transform.matrix().getDouble(0, 3)),
115 static_cast<float>(transform.matrix().getDouble(1, 3)));
130 transform.matrix().map2(quad, 4, result)
    [all...]
  /external/chromium_org/third_party/freetype/src/base/
ftcalc.c 723 FT_Matrix_Invert( FT_Matrix* matrix )
728 if ( !matrix )
732 delta = FT_MulFix( matrix->xx, matrix->yy ) -
733 FT_MulFix( matrix->xy, matrix->yx );
736 return FT_Err_Invalid_Argument; /* matrix can't be inverted */
738 matrix->xy = - FT_DivFix( matrix->xy, delta );
739 matrix->yx = - FT_DivFix( matrix->yx, delta )
    [all...]
  /external/eigen/Eigen/src/Core/
MatrixBase.h 21 * This class is the base that is inherited by all matrix, vector, and related expression
23 * classes for the Eigen API are Matrix, and VectorwiseOp.
26 * for all functions related to matrix inversions.
28 * \tparam Derived is the derived type, e.g. a matrix type, or an expression, etc.
31 * to take as argument any matrix, vector, or expression, just let it take a
33 * a matrix, vector, or expression \a x, prints the first row of \a x.
94 /** type of the equivalent square matrix */
95 typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime),
103 /** \brief The plain matrix type corresponding to this expression.
106 * the return type of eval() is a const reference to a matrix, not a matrix! It is however guarantee
314 MatrixBase<Derived>& matrix() { return *this; } function in class:Eigen::MatrixBase
315 const MatrixBase<Derived>& matrix() const { return *this; } function in class:Eigen::MatrixBase
    [all...]
TriangularMatrix.h 27 * \brief Base class for triangular part in a matrix
122 * \brief Base class for triangular part in a matrix
125 * \param Mode the kind of triangular matrix expression to construct. Can be #Upper,
130 * This class represents a triangular part of a matrix, not necessarily square. Strictly speaking, for rectangular
192 inline TriangularView(const MatrixType& matrix) : m_matrix(matrix)
240 /** Assigns a triangular matrix to a triangular part of a dense matrix */
279 /** Efficient triangular matrix times vector/matrix product *
    [all...]
  /external/freetype/src/base/
ftcalc.c 740 FT_Matrix_Invert( FT_Matrix* matrix )
745 if ( !matrix )
749 delta = FT_MulFix( matrix->xx, matrix->yy ) -
750 FT_MulFix( matrix->xy, matrix->yx );
753 return FT_THROW( Invalid_Argument ); /* matrix can't be inverted */
755 matrix->xy = - FT_DivFix( matrix->xy, delta );
756 matrix->yx = - FT_DivFix( matrix->yx, delta )
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 28 import android.graphics.Matrix;
122 private Matrix mShaderMatrix = new Matrix();
218 * This function calculates a Image to Screen Transformation matrix
221 * @return Image to Screen transformation matrix
223 protected Matrix getImageToScreenMatrix(boolean reflectRotation) {
226 return new Matrix();
228 Matrix m = GeometryMathUtils.getImageToScreenMatrix(master.getPreset().getGeometryFilters(),
238 * This function calculates a to Screen Image Transformation matrix
241 * @return Screen to Image transformation matrix
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/
TransformationMatrix.cpp 53 // inversion and decomposition of a 4x4 matrix. They are used throughout the code
57 // Adapted from Matrix Inversion by Richard Carling, Graphics Gems <http://tog.acm.org/GraphicsGems/index.html>.
66 // A clarification about the storage of matrix elements
68 // This class uses a 2 dimensional array internally to store the elements of the matrix. The first index into
71 // In other words, this is the layout of the matrix:
85 // calculate the inverse of a 4x4 matrix
93 // calculate the determinant of a 2x2 matrix.
102 // Calculate the determinant of a 3x3 matrix
116 // double = determinant4x4(matrix)
118 // calculate the determinant of a 4x4 matrix
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
prog_statevars.c 46 * but matrix queries may return as many as 16 values.
286 /* state[1] = which texture matrix or program matrix */
290 const GLmatrix *matrix; local
303 matrix = ctx->ModelviewMatrixStack.Top;
306 matrix = ctx->ProjectionMatrixStack.Top;
309 matrix = &ctx->_ModelProjectMatrix;
313 matrix = ctx->TextureMatrixStack[index].Top;
317 matrix = ctx->ProgramMatrixStack[index].Top;
320 _mesa_problem(ctx, "Bad matrix name in _mesa_fetch_state()")
    [all...]
  /external/mesa3d/src/mesa/program/
prog_statevars.c 46 * but matrix queries may return as many as 16 values.
286 /* state[1] = which texture matrix or program matrix */
290 const GLmatrix *matrix; local
303 matrix = ctx->ModelviewMatrixStack.Top;
306 matrix = ctx->ProjectionMatrixStack.Top;
309 matrix = &ctx->_ModelProjectMatrix;
313 matrix = ctx->TextureMatrixStack[index].Top;
317 matrix = ctx->ProgramMatrixStack[index].Top;
320 _mesa_problem(ctx, "Bad matrix name in _mesa_fetch_state()")
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkBlurMaskFilter.cpp 56 bool filterRectMask(SkMask* dstM, const SkRect& r, const SkMatrix& matrix,
133 const SkMatrix& matrix,
139 radius = matrix.mapRadius(fRadius);
152 const SkMatrix& matrix,
158 radius = matrix.mapRadius(fRadius);
219 const SkMatrix& matrix,
249 filterResult = this->filterRectMask(&dstM, rects[0], matrix, &margin,
252 filterResult = this->filterMask(&dstM, srcM, matrix, &margin);
320 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) {
324 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin
442 SkMatrix matrix; local
    [all...]
  /external/opencv/cvaux/src/
cvlevmartrif.cpp 103 /* Fill Jacobian matrix */
147 /* fill derivate by projection matrix */
176 /* projected points store as (projection by matrix P1),(projection by matrix P2),(projection by matrix P3) */
290 CV_ERROR( CV_StsUnsupportedFormat, "resultPoints4D must be a matrix" );
323 /* ----------- test for matrix ------------- */
326 CV_ERROR( CV_StsUnsupportedFormat, "Each of projMatrs must be a matrix" );
331 CV_ERROR( CV_StsUnsupportedFormat, "Each of projPoints must be a matrix" );
336 CV_ERROR( CV_StsUnsupportedFormat, "Each of resultProjMatrs must be a matrix" );
    [all...]
  /external/chromium_org/third_party/angle_dx11/src/compiler/
intermOut.cpp 46 if (matrix)
47 stream << size << "X" << size << " matrix of ";
98 case EOpVectorTimesMatrixAssign: out << "matrix mult second child into first child"; break;
100 case EOpMatrixTimesScalarAssign: out << "matrix scale second child into first child"; break;
101 case EOpMatrixTimesMatrixAssign: out << "matrix mult second child into first child"; break;
120 case EOpVectorTimesMatrix: out << "vector-times-matrix"; break;
121 case EOpMatrixTimesVector: out << "matrix-times-vector"; break;
122 case EOpMatrixTimesScalar: out << "matrix-scale"; break;
123 case EOpMatrixTimesMatrix: out << "matrix-multiply"; break;
  /external/eigen/blas/
ctpmv.f 13 * CTPMV performs one of the matrix-vector operations
18 * upper or lower triangular matrix, supplied in packed form.
24 * On entry, UPLO specifies whether the matrix is an upper or
25 * lower triangular matrix as follows:
27 * UPLO = 'U' or 'u' A is an upper triangular matrix.
29 * UPLO = 'L' or 'l' A is a lower triangular matrix.
57 * On entry, N specifies the order of the matrix A.
64 * contain the upper triangular matrix packed sequentially,
69 * contain the lower triangular matrix packed sequentially,
dtpmv.f 13 * DTPMV performs one of the matrix-vector operations
18 * upper or lower triangular matrix, supplied in packed form.
24 * On entry, UPLO specifies whether the matrix is an upper or
25 * lower triangular matrix as follows:
27 * UPLO = 'U' or 'u' A is an upper triangular matrix.
29 * UPLO = 'L' or 'l' A is a lower triangular matrix.
57 * On entry, N specifies the order of the matrix A.
64 * contain the upper triangular matrix packed sequentially,
69 * contain the lower triangular matrix packed sequentially,

Completed in 875 milliseconds

<<31323334353637383940>>