/external/skia/src/effects/ |
H A D | Sk1DPathEffect.cpp | 94 SkMatrix matrix; local 98 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 99 matrix.preTranslate(-sx, 0); 100 matrix.postTranslate(pos.fX, pos.fY); 101 matrix.mapPoints(&dst[i], &pt, 1); 188 SkMatrix matrix; local 189 if (meas.getMatrix(distance, &matrix)) { 190 dst->addPath(fPath, matrix);
|
H A D | SkColorFilterImageFilter.cpp | 29 // To detect if we need to apply clamping after applying a matrix, we check if 51 bool matrix_needs_clamping(SkScalar matrix[20]) { argument 52 return component_needs_clamping(matrix) 53 || component_needs_clamping(matrix+5) 54 || component_needs_clamping(matrix+10) 55 || component_needs_clamping(matrix+15);
|
/external/skia/src/gpu/ |
H A D | GrSWMaskHelper.h | 51 bool init(const SkIRect& resultBounds, const SkMatrix* matrix); 80 SkMatrix* matrix);
|
/external/skia/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.cpp | 78 const SkMatrix& matrix = GrEffectUnitTest::TestMatrix(random); local 79 return GrSimpleTextureEffect::Create(textures[texIdx], matrix, coordSet);
|
/external/skia/src/pdf/ |
H A D | SkPDFUtils.h | 39 static SkPDFArray* MatrixToArray(const SkMatrix& matrix); 40 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
|
/external/skia/src/utils/ |
H A D | SkProxyCanvas.cpp | 42 void SkProxyCanvas::didConcat(const SkMatrix& matrix) { argument 43 fProxy->concat(matrix); 44 this->INHERITED::didConcat(matrix); 47 void SkProxyCanvas::didSetMatrix(const SkMatrix& matrix) { argument 48 fProxy->setMatrix(matrix); 49 this->INHERITED::didSetMatrix(matrix); 135 const SkMatrix* matrix, const SkPaint& paint) { 136 fProxy->drawTextOnPath(text, byteLength, path, matrix, paint); 134 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
|
H A D | SkLuaCanvas.cpp | 109 void SkLuaCanvas::didConcat(const SkMatrix& matrix) { argument 110 switch (matrix.getType()) { 113 lua.pushScalar(matrix.getTranslateX(), "dx"); 114 lua.pushScalar(matrix.getTranslateY(), "dy"); 119 lua.pushScalar(matrix.getScaleX(), "sx"); 120 lua.pushScalar(matrix.getScaleY(), "sy"); 127 // lua.pushMatrix(matrix); 132 this->INHERITED::didConcat(matrix); 135 void SkLuaCanvas::didSetMatrix(const SkMatrix& matrix) { argument 136 this->INHERITED::didSetMatrix(matrix); 263 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument [all...] |
/external/eigen/Eigen/src/LU/ |
H A D | PartialPivLU.h | 20 * \brief LU decomposition of a matrix with partial pivoting, and related features 22 * \param MatrixType the type of the matrix of which we are computing the LU decomposition 24 * This class represents a LU decomposition of a \b square \b invertible matrix, with partial pivoting: the matrix A 26 * is a permutation matrix. 29 * matrices. Thus LAPACK's dgesv and dgesvx require the matrix to be square and invertible. The present class 30 * does the same. It will assert that the matrix is square, but it won't (actually it can't) check that the 31 * matrix is invertible: it is your task to check that you only use this decomposition on invertible matrices. 41 * On the other hand, it is \b not suitable to determine whether a given matrix is invertible. 85 * \param matrix th 202 PartialPivLU(const MatrixType& matrix) argument 387 compute(const MatrixType& matrix) argument [all...] |
H A D | FullPivLU.h | 19 * \brief LU decomposition of a matrix with complete pivoting, and related features 21 * \param MatrixType the type of the matrix of which we are computing the LU decomposition 23 * This class represents a LU decomposition of any matrix, with complete pivoting: the matrix A is 33 * decomposition is inherently more stable and/or flexible. For example, when computing the kernel of a matrix, 34 * working with the SVD allows to select the smallest singular values of the matrix, something that 40 * As an exemple, here is how the original matrix can be retrieved: 84 * \param matrix the matrix of which to compute the LU decomposition. 87 FullPivLU(const MatrixType& matrix); 406 FullPivLU(const MatrixType& matrix) argument 419 compute(const MatrixType& matrix) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkGlyphCache.h | 29 matrix, etc., and holds the glyphs for that strike. Calling any of the 253 const SkMatrix* matrix) { 278 const SkMatrix* matrix) { 279 fCache = paint.detachCache(deviceProperties, matrix, false); 294 const SkMatrix* matrix) { 295 fCache = paint.detachCache(deviceProperties, matrix, true); 251 SkAutoGlyphCacheBase(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument 276 SkAutoGlyphCache(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument 292 SkAutoGlyphCacheNoGamma(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument
|
H A D | SkBitmapProcShader.cpp | 87 static bool only_scale_and_translate(const SkMatrix& matrix) { argument 89 return (matrix.getType() & ~mask) == 0; 119 // Do this first, so we know the matrix can be inverted. 332 // communicates between its matrix-proc and its sampler-proc. Until we can 401 SkMatrix matrix; local 402 matrix.setIDiv(fRawBitmap.width(), fRawBitmap.height()); 415 matrix.preConcat(lmInverse); 423 // we check the matrix scale factors to determine how to interpret the filter quality setting. 436 SkMatrix matrix; local 437 matrix 447 SkMatrix matrix; local [all...] |
H A D | SkDraw.cpp | 47 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, argument 49 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator, 56 void choose(const SkBitmap& device, const SkMatrix& matrix, argument 59 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator, 306 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 411 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 449 const SkMatrix* matrix, const SkRasterClip* rc) { 463 matrix->isScaleTranslate() && SkCanvas::kPoints_PointMode == mode) { 464 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 465 SkScalar sy = matrix 448 init(SkCanvas::PointMode mode, const SkPaint& paint, const SkMatrix* matrix, const SkRasterClip* rc) argument 565 const SkMatrix* matrix = fMatrix; local 738 easy_rect_join(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument 753 ComputeRectType(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument 808 const SkMatrix& matrix = *fMatrix; local 931 SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix& matrix, SkScalar* coverage) argument 1013 const SkMatrix* matrix = fMatrix; local 1124 just_translate(const SkMatrix& matrix, const SkBitmap& bitmap) argument 1219 clipped_out(const SkMatrix& matrix, const SkRasterClip& clip, int width, int height) argument 1246 SkMatrix matrix; local 1330 SkMatrix matrix; local 1398 SkMatrix matrix; local 1665 SkMatrix matrix; local 1858 morphpoints(SkPoint dst[], const SkPoint src[], int count, SkPathMeasure& meas, const SkMatrix& matrix) argument 1896 morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, const SkMatrix& matrix) argument 1933 drawTextOnPath(const char text[], size_t byteLength, const SkPath& follow, const SkMatrix* matrix, const SkPaint& paint) const argument 1991 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], SkMatrix* matrix) argument 2342 SkMatrix matrix; local [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkColorFilterImageFilter.cpp | 29 // To detect if we need to apply clamping after applying a matrix, we check if 51 bool matrix_needs_clamping(SkScalar matrix[20]) { argument 52 return component_needs_clamping(matrix) 53 || component_needs_clamping(matrix+5) 54 || component_needs_clamping(matrix+10) 55 || component_needs_clamping(matrix+15);
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
H A D | Translation.h | 39 /** corresponding linear transformation matrix type */ 94 res.matrix().setZero(); 97 res.matrix().row(Dim).setZero(); 155 res.matrix().setZero(); 167 res.matrix().setZero(); 170 res.matrix().row(Dim).setZero();
|
/external/eigen/Eigen/src/SparseCholesky/ |
H A D | SimplicialCholesky.h | 28 * such that the factorized matrix is P A P^-1. 30 * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> 55 SimplicialCholeskyBase(const MatrixType& matrix) argument 58 derived().compute(matrix); 74 * \c NumericalIssue if the matrix.appears to be negative. 92 && "SimplicialCholeskyBase::solve(): invalid number of rows of the right hand side matrix b"); 106 && "SimplicialCholesky::solve(): invalid number of rows of the right hand side matrix b"); 183 /** Computes the sparse Cholesky decomposition of \a matrix */ 185 void compute(const MatrixType& matrix) argument 187 eigen_assert(matrix 324 SimplicialLLT(const MatrixType& matrix) argument 340 compute(const MatrixType& matrix) argument 414 SimplicialLDLT(const MatrixType& matrix) argument 435 compute(const MatrixType& matrix) argument 494 SimplicialCholesky(const MatrixType& matrix) argument 527 compute(const MatrixType& matrix) argument [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftcalc.c | 738 FT_Matrix_Invert( FT_Matrix* matrix ) 743 if ( !matrix ) 747 delta = FT_MulFix( matrix->xx, matrix->yy ) - 748 FT_MulFix( matrix->xy, matrix->yx ); 751 return FT_THROW( Invalid_Argument ); /* matrix can't be inverted */ 753 matrix->xy = - FT_DivFix( matrix->xy, delta ); 754 matrix 794 FT_Vector_Transform_Scaled( FT_Vector* vector, const FT_Matrix* matrix, FT_Long scaling ) argument [all...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.h | 29 matrix, etc., and holds the glyphs for that strike. Calling any of the 267 const SkMatrix* matrix) { 292 const SkMatrix* matrix) { 293 fCache = paint.detachCache(deviceProperties, matrix, false); 308 const SkMatrix* matrix) { 309 fCache = paint.detachCache(deviceProperties, matrix, true); 265 SkAutoGlyphCacheBase(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument 290 SkAutoGlyphCache(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument 306 SkAutoGlyphCacheNoGamma(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument
|
H A D | SkRecorder.cpp | 136 const SkMatrix& matrix, 138 APPEND(DrawBitmapMatrix, this->copy(paint), delay_copy(bitmap), matrix); 180 const SkMatrix* matrix, const SkPaint& paint) { 186 this->copy(matrix)); 235 void SkRecorder::didConcat(const SkMatrix& matrix) { argument 236 APPEND(Concat, matrix); 237 INHERITED(didConcat, matrix); 240 void SkRecorder::didSetMatrix(const SkMatrix& matrix) { argument 241 APPEND(SetMatrix, matrix); 242 INHERITED(didSetMatrix, matrix); 135 drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) argument 179 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument [all...] |
H A D | SkBitmapProcShader.cpp | 74 static bool only_scale_and_translate(const SkMatrix& matrix) { argument 76 return (matrix.getType() & ~mask) == 0; 106 // Do this first, so we know the matrix can be inverted. 319 // communicates between its matrix-proc and its sampler-proc. Until we can 388 SkMatrix matrix; local 389 matrix.setIDiv(fRawBitmap.width(), fRawBitmap.height()); 402 matrix.preConcat(lmInverse); 410 // we check the matrix scale factors to determine how to interpret the filter quality setting. 423 SkMatrix matrix; local 424 matrix 434 SkMatrix matrix; local [all...] |
H A D | SkDraw.cpp | 47 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, argument 49 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator, 56 void choose(const SkBitmap& device, const SkMatrix& matrix, argument 59 fBlitter = SkBlitter::Choose(device, matrix, paint, &fAllocator); 305 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix, 410 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy) 448 const SkMatrix* matrix, const SkRasterClip* rc) { 462 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) { 463 SkScalar sx = matrix->get(SkMatrix::kMScaleX); 464 SkScalar sy = matrix 447 init(SkCanvas::PointMode mode, const SkPaint& paint, const SkMatrix* matrix, const SkRasterClip* rc) argument 564 const SkMatrix* matrix = fMatrix; local 737 easy_rect_join(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument 752 ComputeRectType(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument 807 const SkMatrix& matrix = *fMatrix; local 925 SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix& matrix, SkScalar* coverage) argument 1007 const SkMatrix* matrix = fMatrix; local 1111 just_translate(const SkMatrix& matrix, const SkBitmap& bitmap) argument 1206 clipped_out(const SkMatrix& matrix, const SkRasterClip& clip, int width, int height) argument 1233 SkMatrix matrix; local 1317 SkMatrix matrix; local 1385 SkMatrix matrix; local 1652 SkMatrix matrix; local 1845 morphpoints(SkPoint dst[], const SkPoint src[], int count, SkPathMeasure& meas, const SkMatrix& matrix) argument 1883 morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, const SkMatrix& matrix) argument 1920 drawTextOnPath(const char text[], size_t byteLength, const SkPath& follow, const SkMatrix* matrix, const SkPaint& paint) const argument 1978 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], SkMatrix* matrix) argument 2331 SkMatrix matrix; local [all...] |
/external/pdfium/core/src/fxge/apple/ |
H A D | fx_quartz_device.cpp | 65 void CQuartz2D::setGraphicsTextMatrix(void* graphics, CFX_AffineMatrix* matrix)
argument 67 if (!graphics || !matrix) {
71 CGFloat ty = CGBitmapContextGetHeight(context) - matrix->f;
72 CGContextSetTextMatrix(context, CGAffineTransformMake(matrix->a,
73 matrix->b,
74 matrix->c,
75 matrix->d,
76 matrix->e,
86 CFX_AffineMatrix* matrix )
94 if (matrix) {
263 SetClip_PathFill(const CFX_PathData* pathData, const CFX_AffineMatrix* matrix, int fillMode ) argument 297 SetClip_PathStroke(const CFX_PathData* pathData, const CFX_AffineMatrix* matrix, const CFX_GraphStateData* graphState ) argument 374 DrawPath(const CFX_PathData* pathData, const CFX_AffineMatrix* matrix, const CFX_GraphStateData* graphState, FX_DWORD fillArgb, FX_DWORD strokeArgb, int fillMode, int alpha_flag, void* pIccTransform, int blend_type ) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 431 static INLINE boolean matrix_from_pict_transform(PictTransform *trans, float *matrix) argument 436 matrix[0] = XFixedToDouble(trans->matrix[0][0]); 437 matrix[3] = XFixedToDouble(trans->matrix[0][1]); 438 matrix[6] = XFixedToDouble(trans->matrix[0][2]); 440 matrix[1] = XFixedToDouble(trans->matrix[1][0]); 441 matrix[ [all...] |
/external/eigen/Eigen/src/PardisoSupport/ |
H A D | PardisoSupport.h | 135 * \c NumericalIssue if the matrix appears to be negative. 151 /** Performs a symbolic decomposition on the sparcity of \a matrix. 157 Derived& analyzePattern(const MatrixType& matrix); 159 /** Performs a numeric decomposition of \a matrix 161 * The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed. 165 Derived& factorize(const MatrixType& matrix); 167 Derived& compute(const MatrixType& matrix); 179 && "PardisoImpl::solve(): invalid number of rows of the right hand side matrix b"); 193 && "PardisoImpl::solve(): invalid number of rows of the right hand side matrix [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_composite.c | 431 static INLINE boolean matrix_from_pict_transform(PictTransform *trans, float *matrix) argument 436 matrix[0] = XFixedToDouble(trans->matrix[0][0]); 437 matrix[3] = XFixedToDouble(trans->matrix[0][1]); 438 matrix[6] = XFixedToDouble(trans->matrix[0][2]); 440 matrix[1] = XFixedToDouble(trans->matrix[1][0]); 441 matrix[ [all...] |
/external/eigen/Eigen/src/CholmodSupport/ |
H A D | CholmodSupport.h | 48 /** Wraps the Eigen sparse matrix \a mat into a Cholmod sparse matrix object. 105 /** Returns a view of the Eigen sparse matrix \a mat as Cholmod sparse matrix. 110 cholmod_sparse res = viewAsCholmod(mat.matrix().const_cast_derived()); 118 /** Returns a view of the Eigen \b dense matrix \a mat as Cholmod dense matrix. 139 /** Returns a view of the Cholmod sparse matrix \a cm as an Eigen sparse matrix. 179 CholmodBase(const MatrixType& matrix) argument 212 compute(const MatrixType& matrix) argument 253 analyzePattern(const MatrixType& matrix) argument 275 factorize(const MatrixType& matrix) argument 395 CholmodSimplicialLLT(const MatrixType& matrix) argument 442 CholmodSimplicialLDLT(const MatrixType& matrix) argument 487 CholmodSupernodalLLT(const MatrixType& matrix) argument 534 CholmodDecomposition(const MatrixType& matrix) argument [all...] |