/external/skia/src/core/ |
H A D | SkPictureRecord.cpp | 257 void SkPictureRecord::didConcat(const SkMatrix& matrix) { argument 258 switch (matrix.getType()) { 260 this->recordTranslate(matrix); 263 this->recordScale(matrix); 266 this->recordConcat(matrix); 269 this->INHERITED::didConcat(matrix); 272 void SkPictureRecord::recordConcat(const SkMatrix& matrix) { argument 274 // op + matrix 275 size_t size = kUInt32Size + matrix.writeToMemory(NULL); 277 this->addMatrix(matrix); 281 didSetMatrix(const SkMatrix& matrix) argument 660 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument 690 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument 922 addMatrix(const SkMatrix& matrix) argument [all...] |
H A D | SkMultiPictureDraw.cpp | 29 const SkMatrix* matrix, const SkPaint* paint) { 32 if (matrix) { 33 fMatrix = *matrix; 69 const SkMatrix* matrix, 77 array.append()->init(canvas, picture, matrix, paint); 28 init(SkCanvas* canvas, const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument 67 add(SkCanvas* canvas, const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument
|
H A D | SkScalerContext.cpp | 205 SkMatrix matrix; local 208 fRec.getMatrixFrom2x2(&matrix); 211 if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) { 382 SkMatrix matrix; local 383 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft), 396 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft + 1), 398 matrix.postScale(SkIntToScalar(4), SK_Scalar1); 425 draw.fMatrix = &matrix; 536 SkMatrix matrix; local 555 fRec.getMatrixFrom2x2(&matrix); 621 SkMatrix matrix, inverse; local [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
H A D | RealSchur.h | 23 * \brief Performs a real Schur decomposition of a square matrix 25 * \tparam _MatrixType the type of the matrix of which we are computing the 29 * Given a real square matrix A, this class computes the real Schur 30 * decomposition: \f$ A = U T U^T \f$ where U is a real orthogonal matrix and 31 * T is a real quasi-triangular matrix. An orthogonal matrix is a matrix whose 33 * matrix is a block-triangular matrix whose diagonal consists of 1-by-1 35 * blocks on the diagonal of T are the same as the eigenvalues of the matrix 103 RealSchur(const MatrixType& matrix, bool computeU = true) argument 246 compute(const MatrixType& matrix, bool computeU) argument [all...] |
/external/skia/src/utils/ |
H A D | SkDumpCanvas.cpp | 227 void SkDumpCanvas::didConcat(const SkMatrix& matrix) { argument 230 switch (matrix.getType()) { 233 SkScalarToFloat(matrix.getTranslateX()), 234 SkScalarToFloat(matrix.getTranslateY())); 238 SkScalarToFloat(matrix.getScaleX()), 239 SkScalarToFloat(matrix.getScaleY())); 242 matrix.toString(&str); 247 this->INHERITED::didConcat(matrix); 250 void SkDumpCanvas::didSetMatrix(const SkMatrix& matrix) { argument 252 matrix 434 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument 450 onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) argument [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrTextureDomain.cpp | 222 const SkMatrix& matrix, 230 return GrSimpleTextureEffect::Create(texture, matrix, filterMode); 234 matrix, 243 const SkMatrix& matrix, 248 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) 302 const SkMatrix& matrix = GrTest::TestMatrix(random); local 306 matrix, 221 Create(GrTexture* texture, const SkMatrix& matrix, const SkRect& domain, GrTextureDomain::Mode mode, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument 242 GrTextureDomainEffect(GrTexture* texture, const SkMatrix& matrix, const SkRect& domain, GrTextureDomain::Mode mode, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument
|
/external/skia/src/views/ |
H A D | SkWindow.cpp | 43 void SkWindow::setMatrix(const SkMatrix& matrix) { argument 44 if (fMatrix != matrix) { 45 fMatrix = matrix; 50 void SkWindow::preConcat(const SkMatrix& matrix) { argument 52 m.setConcat(fMatrix, matrix); 56 void SkWindow::postConcat(const SkMatrix& matrix) { argument 58 m.setConcat(matrix, fMatrix);
|
/external/freetype/src/cff/ |
H A D | cffobjs.c | 632 /* Normalize the font matrix so that `matrix->xx' is 1; the */ 635 /* normalization of the matrix). */ 641 FT_Matrix* matrix = &dict->font_matrix; local 644 FT_Fixed temp = FT_ABS( matrix->yy ); 651 matrix->xx = FT_DivFix( matrix->xx, temp ); 652 matrix->yx = FT_DivFix( matrix->yx, temp ); 653 matrix 668 FT_Matrix* matrix; local [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cffobjs.c | 632 /* Normalize the font matrix so that `matrix->xx' is 1; the */ 635 /* normalization of the matrix). */ 641 FT_Matrix* matrix = &dict->font_matrix; local 644 FT_Fixed temp = FT_ABS( matrix->yy ); 651 matrix->xx = FT_DivFix( matrix->xx, temp ); 652 matrix->yx = FT_DivFix( matrix->yx, temp ); 653 matrix 668 FT_Matrix* matrix; local [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 247 void updateMatrix(const SkMatrix& matrix); 507 void GraphicStackState::updateMatrix(const SkMatrix& matrix) { argument 508 if (matrix == currentEntry()->fMatrix) { 520 if (matrix.getType() == SkMatrix::kIdentity_Mask) { 525 SkPDFUtils::AppendTransform(matrix, fContentStream); 526 currentEntry()->fMatrix = matrix; 626 const SkRegion& clipRegion, const SkMatrix& matrix, 632 init(clipStack, clipRegion, matrix, paint, hasText); 690 const SkMatrix& matrix, const SkPaint& paint, bool hasText) { 692 if (matrix 625 ScopedContentEntry(SkPDFDevice* device, const SkClipStack* clipStack, const SkRegion& clipRegion, const SkMatrix& matrix, const SkPaint& paint, bool hasText = false) argument 689 init(const SkClipStack* clipStack, const SkRegion& clipRegion, const SkMatrix& matrix, const SkPaint& paint, bool hasText) argument 947 SkMatrix matrix = *d.fMatrix; local 1010 SkMatrix matrix; local 1062 drawBitmap(const SkDraw& d, const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint& srcPaint) argument 1090 SkMatrix matrix; local 1256 SkMatrix matrix; local 1478 handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, const SkPaint& p) argument 1498 handlePointAnnotation(const SkPoint* points, size_t count, const SkMatrix& matrix, const SkPaint& paint) argument 1523 create_link_annotation(const SkRect& r, const SkMatrix& initialTransform, const SkMatrix& matrix) argument 1552 handleLinkToURL(SkData* urlData, const SkRect& r, const SkMatrix& matrix) argument 1566 handleLinkToNamedDest(SkData* nameData, const SkRect& r, const SkMatrix& matrix) argument 1588 defineNamedDestination(SkData* nameData, const SkPoint& point, const SkMatrix& matrix) argument 1654 setUpContentEntry(const SkClipStack* clipStack, const SkRegion& clipRegion, const SkMatrix& matrix, const SkPaint& paint, bool hasText, SkPDFFormXObject** dst) argument 1915 populateGraphicStateEntryFromPaint( const SkMatrix& matrix, const SkClipStack& clipStack, const SkRegion& clipRegion, const SkPaint& paint, bool hasText, GraphicStateEntry* entry) argument 2065 SkMatrix matrix = origMatrix; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
H A D | SingularValueDecompositionImpl.java | 25 * Calculates the compact Singular Value Decomposition of a matrix. 27 * The Singular Value Decomposition of matrix A is a set of three matrices: U, 29 * a m × n matrix, then U is a m × p orthogonal matrix, Σ is a 30 * p × p diagonal matrix with positive or null elements, V is a p × 31 * n orthogonal matrix (hence V<sup>T</sup> is also orthogonal) where 40 /** Number of rows of the initial matrix. */ 43 /** Number of columns of the initial matrix. */ 46 /** Eigen decomposition of the tridiagonal matrix. */ 68 * Calculates the compact Singular Value Decomposition of the given matrix 76 SingularValueDecompositionImpl(final RealMatrix matrix) argument [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | Translation.h | 40 /** corresponding linear transformation matrix type */ 115 res.matrix().setZero(); 118 res.matrix().row(Dim).setZero(); 183 res.matrix().setZero(); 196 res.matrix().setZero(); 199 res.matrix().row(Dim).setZero();
|
/external/eigen/Eigen/src/SparseLU/ |
H A D | SparseLU.h | 30 * scalar type of your input matrix. 38 * (and eventually the rows) of the matrix to reduce the number of new elements that are created during 57 * \warning The input matrix A should be in a \b compressed and \b column-major form. 58 * Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix. 60 * \note Unlike the initial SuperLU implementation, there is no step to equilibrate the matrix. 65 * \tparam _MatrixType The type of the sparse matrix. It must be a column-major SparseMatrix<> 93 SparseLU(const MatrixType& matrix):m_isInitialized(true),m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1) argument 96 compute(matrix); 104 void analyzePattern (const MatrixType& matrix); 105 void factorize (const MatrixType& matrix); 112 compute(const MatrixType& matrix) argument 453 factorize(const MatrixType& matrix) argument [all...] |
/external/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 20 SkMatrix matrix; member in struct:PictureHeader 27 : matrix(SkMatrix::I()) 91 header.matrix.setTranslate(-l, -t); 92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25)); 153 canvas->concat(header.matrix);
|
/external/skia/samplecode/ |
H A D | ClockFaceView.cpp | 70 Dot2DPathEffect(SkScalar radius, const SkMatrix& matrix, argument 72 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {} 105 SkMatrix matrix; local 106 buffer.readMatrix(&matrix); 107 return SkNEW_ARGS(Dot2DPathEffect, (buffer.readScalar(), matrix, NULL));
|
/external/skia/src/effects/ |
H A D | SkColorMatrix.cpp | 9 // To detect if we need to apply clamping after applying a matrix, we check if 31 bool SkColorMatrix::NeedsClamping(const SkScalar matrix[20]) { argument 32 return component_needs_clamping(matrix) 33 || component_needs_clamping(matrix+5) 34 || component_needs_clamping(matrix+10) 35 || component_needs_clamping(matrix+15);
|
H A D | SkEmbossMaskFilter.cpp | 78 const SkMatrix& matrix, SkIPoint* margin) const { 79 SkScalar sigma = matrix.mapRadius(fBlurSigma); 107 // run the light direction through the matrix... 109 matrix.mapVectors((SkVector*)(void*)light.fDirection, 77 filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) const argument
|
H A D | SkLightingImageFilter.cpp | 51 // Shift matrix components to the left, as we advance pixels to the right. 316 const SkMatrix& matrix, 329 const SkMatrix& matrix, 335 GrFragmentProcessor* fp = this->getFragmentProcessor(src, matrix, bounds, boundaryMode); 379 SkMatrix matrix(ctx.ctm()); 380 matrix.postTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top())); 391 this->drawRect(context, srcTexture, dst, matrix, clip, topLeft, kTopLeft_BoundaryMode, bounds); 392 this->drawRect(context, srcTexture, dst, matrix, clip, top, kTop_BoundaryMode, bounds); 393 this->drawRect(context, srcTexture, dst, matrix, clip, topRight, kTopRight_BoundaryMode, 395 this->drawRect(context, srcTexture, dst, matrix, cli 326 drawRect(GrContext* context, GrTexture* src, GrTexture* dst, const SkMatrix& matrix, const GrClip& clip, const SkRect& dstRect, BoundaryMode boundaryMode, const SkIRect& bounds) const argument 495 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode) argument 534 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode) argument 1217 getFragmentProcessor( GrTexture* texture, const SkMatrix& matrix, const SkIRect&, BoundaryMode boundaryMode ) const argument 1351 getFragmentProcessor( GrTexture* texture, const SkMatrix& matrix, const SkIRect&, BoundaryMode boundaryMode) const argument 1534 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode) argument 1563 GrDiffuseLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode) argument 1597 SkMatrix matrix; local 1767 GrSpecularLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode) argument 1806 SkMatrix matrix; local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | dense_sparse_matrix.cc | 88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols()); 93 matrix().transpose() * ConstVectorRef(x, num_rows()); 147 ConstColMajorMatrixRef DenseSparseMatrix::matrix() const { function in class:ceres::internal::DenseSparseMatrix
|
/external/eigen/bench/ |
H A D | benchGeometry.cpp | 41 return a1.matrix() * a2; 51 return res(a1.matrix() * a2.matrix()); 112 cout << "vec = trans.matrix() * vec" << endl; 128 cout << "trans = trans1.matrix() * trans.matrix()" << endl;
|
/external/eigen/test/ |
H A D | array_for_matrix.cpp | 34 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1); 35 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) ); 38 VERIFY_IS_APPROX(m3, (m1.array() + s2).matrix()); 41 VERIFY_IS_APPROX(m3, (m1.array() - s1).matrix()); 65 const Scalar& ref_m1 = m.matrix().array().coeffRef(0); 66 const Scalar& ref_m2 = m.matrix().array().coeffRef(0,0); 67 const Scalar& ref_a1 = m.array().matrix().coeffRef(0); 68 const Scalar& ref_a2 = m.array().matrix().coeffRef(0,0); 129 VERIFY_IS_APPROX(((m1.array().abs()+1)>RealScalar(0.1)).matrix().colwise().count(), VectorOfIndices::Constant(cols,rows).transpose()); 130 VERIFY_IS_APPROX(((m1.array().abs()+1)>RealScalar(0.1)).matrix() [all...] |
/external/mesa3d/include/VG/ |
H A D | vgu.h | 109 VGfloat * matrix) VGU_API_EXIT; 115 VGfloat * matrix) VGU_API_EXIT; 125 VGfloat * matrix) VGU_API_EXIT;
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | renderer.h | 44 struct matrix; 58 const struct matrix *modelview, 65 const struct matrix *modelview);
|
/external/opencv/cv/src/ |
H A D | _cvimgproc.h | 115 uchar* dst, int dst_step, CvSize win_size, const float *matrix ); 118 float* dst, int dst_step, CvSize win_size, const float *matrix ); 121 float* dst, int dst_step, CvSize win_size, const float *matrix );
|
/external/skia/src/c/ |
H A D | sk_surface.cpp | 99 static void from_c_matrix(const sk_matrix_t* cmatrix, SkMatrix* matrix) { argument 100 matrix->setAll(cmatrix->mat[0], cmatrix->mat[1], cmatrix->mat[2], 340 SkMatrix matrix; local 341 from_c_matrix(cmatrix, &matrix); 342 AsCanvas(ccanvas)->concat(matrix); 383 SkMatrix matrix; local 385 from_c_matrix(cmatrix, &matrix); 386 matrixPtr = &matrix; 503 SkMatrix matrix; local 505 from_c_matrix(cmatrix, &matrix); [all...] |