/external/skia/src/effects/ |
SkColorMatrixFilter.cpp | 284 // expand to 8bit components (since our matrix translate is 8bit biased 315 bool SkColorMatrixFilter::asColorMatrix(SkScalar matrix[20]) const { 316 if (matrix) { 317 memcpy(matrix, fMatrix.fMat, 20 * sizeof(SkScalar)); 329 static GrEffectRef* Create(const SkColorMatrix& matrix) { 330 AutoEffectUnref effect(SkNEW_ARGS(ColorMatrixEffect, (matrix))); 334 static const char* Name() { return "Color Matrix"; } 345 // The matrix is defined such the 4th row determines the output alpha. The first four 364 // If any relevant component of the color to be passed through the matrix is non-const 381 // result if the matrix could over/underflow for any component [all...] |
/frameworks/base/libs/hwui/ |
DisplayListRenderer.cpp | 212 void DisplayListRenderer::setMatrix(SkMatrix* matrix) { 213 matrix = refMatrix(matrix); 214 addStateOp(new (alloc()) SetMatrixOp(matrix)); 215 OpenGLRenderer::setMatrix(matrix); 218 void DisplayListRenderer::concatMatrix(SkMatrix* matrix) { 219 matrix = refMatrix(matrix); 220 addStateOp(new (alloc()) ConcatMatrixOp(matrix)); 221 OpenGLRenderer::concatMatrix(matrix); [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
ImageLoader.java | 26 import android.graphics.Matrix; 180 Matrix matrix = new Matrix(); local 193 matrix.setRotate(90, w / 2f, h / 2f); 196 matrix.setRotate(180, w / 2f, h / 2f); 199 matrix.setRotate(270, w / 2f, h / 2f); 202 matrix.preScale(-1, 1); 205 matrix.preScale(1, -1); 208 matrix.setRotate(90, w / 2f, h / 2f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
ImageLoader.java | 28 import android.graphics.Matrix; 206 Matrix matrix = new Matrix(); local 219 matrix.setRotate(90, w / 2f, h / 2f); 222 matrix.setRotate(180, w / 2f, h / 2f); 225 matrix.setRotate(270, w / 2f, h / 2f); 228 matrix.preScale(-1, 1); 231 matrix.preScale(1, -1); 234 matrix.setRotate(90, w / 2f, h / 2f) [all...] |
/external/skia/src/pdf/ |
SkPDFDevice.cpp | 257 void updateMatrix(const SkMatrix& matrix); 520 void GraphicStackState::updateMatrix(const SkMatrix& matrix) { 521 if (matrix == currentEntry()->fMatrix) { 533 if (matrix.getType() == SkMatrix::kIdentity_Mask) { 538 SkPDFUtils::AppendTransform(matrix, fContentStream); 539 currentEntry()->fMatrix = matrix; 629 const SkRegion& clipRegion, const SkMatrix& matrix, 635 init(clipStack, clipRegion, matrix, paint, hasText); 693 const SkMatrix& matrix, const SkPaint& paint, bool hasText) { 695 if (matrix.hasPerspective()) 977 SkMatrix matrix = *d.fMatrix; local 1037 SkMatrix matrix; local 1107 SkMatrix matrix; local 1349 SkMatrix matrix; local 2149 SkMatrix matrix = origMatrix; local [all...] |
/external/chromium_org/cc/output/ |
gl_renderer_unittest.cc | 1156 SkScalar matrix[20]; local [all...] |
/external/chromium_org/skia/ext/ |
platform_device_win.cc | 131 void PlatformDevice::LoadTransformToDC(HDC dc, const SkMatrix& matrix) { 133 xf.eM11 = matrix[SkMatrix::kMScaleX]; 134 xf.eM21 = matrix[SkMatrix::kMSkewX]; 135 xf.eDx = matrix[SkMatrix::kMTransX]; 136 xf.eM12 = matrix[SkMatrix::kMSkewY]; 137 xf.eM22 = matrix[SkMatrix::kMScaleY]; 138 xf.eDy = matrix[SkMatrix::kMTransY];
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
sse_normal.S | 30 * data (trans-matrix, src_vert, dst_vert) needs to be 16byte aligned ! 58 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 59 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 120 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 121 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 213 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 214 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */
|
/external/chromium_org/third_party/skia/src/core/ |
SkPicture.cpp | 99 static void validateMatrix(const SkMatrix* matrix) { 100 SkScalar scaleX = matrix->getScaleX(); 101 SkScalar scaleY = matrix->getScaleY(); 102 SkScalar skewX = matrix->getSkewX(); 103 SkScalar skewY = matrix->getSkewY(); 104 SkScalar perspX = matrix->getPerspX(); 105 SkScalar perspY = matrix->getPerspY();
|
/external/chromium_org/third_party/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/chromium_org/third_party/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);
|
/external/eigen/Eigen/src/Geometry/ |
AngleAxis.h | 35 * but rather to make easier the creation of other rotation (Quaternion, rotation Matrix) 60 typedef Matrix<Scalar,3,3> Matrix3; 61 typedef Matrix<Scalar,3,1> Vector3; 82 /** Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. */ 178 /** Set \c *this from a 3x3 rotation matrix \a mat. 190 * \brief Sets \c *this from a 3x3 rotation matrix. 199 /** Constructs and \returns an equivalent 3x3 rotation matrix.
|
Umeyama.h | 42 typedef Matrix<typename traits<MatrixType>::Scalar, 70 * The algorithm is based on the analysis of the covariance matrix 76 * matrix computation which has an asymptotic lower bound of \f$O(dm)\f$ when 91 * Eigen::Matrix. 108 typedef Matrix<Scalar, Dimension, 1> VectorType; 109 typedef Matrix<Scalar, Dimension, Dimension> MatrixType; 134 // Initialize the resulting transformation with an identity matrix...
|
/external/eigen/blas/ |
chpr.f | 19 * n by n hermitian matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 60 * contain the upper triangular part of the hermitian matrix 65 * updated matrix. 67 * contain the lower triangular part of the hermitian matrix 72 * updated matrix.
|
dspr.f | 19 * n by n symmetric matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 60 * contain the upper triangular part of the symmetric matrix 65 * updated matrix. 67 * contain the lower triangular part of the symmetric matrix 72 * updated matrix.
|
dspr2.f | 19 * n by n symmetric matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 71 * contain the upper triangular part of the symmetric matrix 76 * updated matrix. 78 * contain the lower triangular part of the symmetric matrix 83 * updated matrix.
|
sspr.f | 19 * n by n symmetric matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 60 * contain the upper triangular part of the symmetric matrix 65 * updated matrix. 67 * contain the lower triangular part of the symmetric matrix 72 * updated matrix.
|
sspr2.f | 19 * n by n symmetric matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 71 * contain the upper triangular part of the symmetric matrix 76 * updated matrix. 78 * contain the lower triangular part of the symmetric matrix 83 * updated matrix.
|
zhpr.f | 19 * n by n hermitian matrix, supplied in packed form. 26 * triangular part of the matrix A is supplied in the packed 38 * On entry, N specifies the order of the matrix A. 60 * contain the upper triangular part of the hermitian matrix 65 * updated matrix. 67 * contain the lower triangular part of the hermitian matrix 72 * updated matrix.
|
/external/eigen/test/ |
product_extra.cpp | 17 typedef Matrix<Scalar, 1, Dynamic> RowVectorType; 18 typedef Matrix<Scalar, Dynamic, 1> ColVectorType; 19 typedef Matrix<Scalar, Dynamic, Dynamic, 55 // test all possible conjugate combinations for the four matrix-vector product cases: 88 // test the vector-matrix product with non aligned starts 133 Matrix<float,1,Dynamic,RowMajor,1,5> a(1,4); 134 Matrix<float,Dynamic,Dynamic,ColMajor,5,1> b(4,0);
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineMatrixBase.h | 87 /** type of the equivalent square matrix */ 88 typedef Matrix<Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), 127 * i.e., the number of columns for a columns major matrix, and the number of rows otherwise */ 133 * i.e., the number of rows for a columns major matrix, and the number of cols otherwise */ 193 Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> toDense() const { 197 /** \returns the matrix or vector obtained by evaluating this expression. 199 * Notice that in the case of a plain matrix or vector (not an expression) this function just returns
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
BoneContext.java | 32 /** The bone's armature matrix. */
42 /** The bone's rest matrix. */
46 /** Bone's parent inverse matrix. */
55 * object-to-armature transformation matrix
76 * object-to-armature transformation matrix
105 * This method computes the rest matrix for the bone.
108 * object-to-armature transformation matrix
|
/external/mesa3d/src/mesa/x86/ |
sse_normal.S | 30 * data (trans-matrix, src_vert, dst_vert) needs to be 16byte aligned ! 58 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 59 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 120 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 121 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */ 213 MOV_L ( ARG_MAT, EDX ) /* ptr to matrix */ 214 MOV_L ( REGOFF(MATRIX_INV, EDX), EDX) /* matrix->inv */
|
/external/neven/Embedded/common/src/b_TensorEm/ |
CompactMat.h | 35 /** Compact Matrix 36 * This object represents a general nxm Matrix that stores its values in 38 * maximum accuracy for the given number of bits. The matrix takes sparseness 50 /* width (columns) of matrix */ 53 /* height (rows) of matrix */ 99 /* copies matrix */ 108 /** allocates matrix */
|
/external/skia/src/core/ |
SkPicture.cpp | 99 static void validateMatrix(const SkMatrix* matrix) { 100 SkScalar scaleX = matrix->getScaleX(); 101 SkScalar scaleY = matrix->getScaleY(); 102 SkScalar skewX = matrix->getSkewX(); 103 SkScalar skewY = matrix->getSkewY(); 104 SkScalar perspX = matrix->getPerspX(); 105 SkScalar perspY = matrix->getPerspY();
|