Searched defs:matrix (Results 176 - 200 of 654) sorted by relevance

1234567891011>>

/external/eigen/Eigen/src/Geometry/
H A DRotationBase.h36 /** corresponding linear transformation matrix type */
44 /** \returns an equivalent rotation matrix */
47 /** \returns an equivalent rotation matrix
50 inline RotationMatrixType matrix() const { return derived().toRotationMatrix(); } function in class:Eigen::RotationBase
65 * - a DimxDim linear transformation matrix
66 * - a DimxDim diagonal matrix (axis aligned scaling)
99 // implementation of the generic product rotation * matrix
136 * \brief Constructs a Dim x Dim rotation matrix from the rotation \a r
149 * \brief Set a Dim x Dim rotation matrix from the rotation \a r
165 * Helper function to return an arbitrary rotation object to a rotation matrix
[all...]
/external/eigen/Eigen/src/SVD/
H A DUpperBidiagonalization.h55 UpperBidiagonalization(const MatrixType& matrix) argument
56 : m_householder(matrix.rows(), matrix.cols()),
57 m_bidiagonal(matrix.cols(), matrix.cols()),
60 compute(matrix);
63 UpperBidiagonalization& compute(const MatrixType& matrix);
89 UpperBidiagonalization<_MatrixType>& UpperBidiagonalization<_MatrixType>::compute(const _MatrixType& matrix) argument
91 Index rows = matrix.rows();
92 Index cols = matrix
[all...]
/external/eigen/Eigen/src/SparseCore/
H A DSparseTriangularView.h49 inline SparseTriangularView(const MatrixType& matrix) : m_matrix(matrix) {} argument
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DScaling.h20 * NOTE It is assumed that the matrix does not have empty row or column,
28 * // Compute the left and right scaling vectors. The matrix is equilibrated at output
38 * \tparam _MatrixType the type of the matrix. It should be a real square sparsematrix
57 IterScaling(const MatrixType& matrix) argument
60 compute(matrix);
66 * Compute the left and right diagonal matrices to scale the input matrix @p mat
76 eigen_assert((m>0 && m == n) && "Please give a non - empty matrix");
113 // Scale the rows and the columns of the matrix
137 * the input matrix is scaled with the computed vectors at output
146 /** Get the vector to scale the rows of the matrix
[all...]
/external/freetype/include/
H A Dftglyph.h275 /* matrix :: A pointer to a 2x2 matrix to apply. */
284 /* The 2x2 transformation matrix is also applied to the glyph's */
289 FT_Matrix* matrix,
572 /* Perform the matrix operation `b = a*b'. */
575 /* a :: A pointer to matrix `a'. */
578 /* b :: A pointer to matrix `b'. */
594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */
597 /* matrix :: A pointer to the target matrix
604 FT_Matrix_Invert( FT_Matrix* matrix ); variable
[all...]
/external/freetype/src/base/
H A Dftglyph.c219 const FT_Matrix* matrix,
225 if ( matrix )
226 FT_Outline_Transform( &glyph->outline, matrix );
424 FT_Matrix* matrix,
440 clazz->glyph_transform( glyph, matrix, delta );
443 if ( matrix )
444 FT_Vector_Transform( &glyph->advance, matrix );
218 ft_outline_glyph_transform( FT_Glyph outline_glyph, const FT_Matrix* matrix, const FT_Vector* delta ) argument
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
H A DTrackMetaData.java33 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:TrackMetaData
84 return matrix;
88 this.matrix = m;
/external/opencv/otherlibs/highgui/
H A Dloadsave.cpp392 CvMat hdr, *matrix = 0; local
442 CV_CALL( matrix = cvCreateMat( size.height, size.width, CV_MAKETYPE(type, cn) ));
452 matrix = cvGetMat( image, &hdr );
455 if( !reader->ReadData( matrix->data.ptr, matrix->step, iscolor ))
458 cvReleaseMat( &matrix );
471 cvReleaseMat( &matrix );
476 return load_as_matrix ? (void*)matrix : (void*)image;
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dftglyph.h275 /* matrix :: A pointer to a 2x2 matrix to apply. */
284 /* The 2x2 transformation matrix is also applied to the glyph's */
289 FT_Matrix* matrix,
572 /* Perform the matrix operation `b = a*b'. */
575 /* a :: A pointer to matrix `a'. */
578 /* b :: A pointer to matrix `b'. */
594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */
597 /* matrix :: A pointer to the target matrix
604 FT_Matrix_Invert( FT_Matrix* matrix ); variable
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_content.cpp12 CFX_ByteTextBuf& operator << (CFX_ByteTextBuf& ar, CFX_AffineMatrix& matrix) argument
14 ar << matrix.a << " " << matrix.b << " " << matrix.c << " " << matrix.d << " " << matrix.e << " " << matrix.f;
103 void CPDF_PageContentGenerate::ProcessForm(CFX_ByteTextBuf& buf, FX_LPCBYTE data, FX_DWORD size, CFX_Matrix& matrix) argument
113 matrix.TransformRect(bbox);
116 buf << "q " << matrix << " c local
120 TransformContent(CFX_Matrix& matrix) argument
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftglyph.h275 /* matrix :: A pointer to a 2x2 matrix to apply. */
284 /* The 2x2 transformation matrix is also applied to the glyph's */
289 FT_Matrix* matrix,
572 /* Perform the matrix operation `b = a*b'. */
575 /* a :: A pointer to matrix `a'. */
578 /* b :: A pointer to matrix `b'. */
594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */
597 /* matrix :: A pointer to the target matrix
604 FT_Matrix_Invert( FT_Matrix* matrix ); variable
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftglyph.c219 const FT_Matrix* matrix,
225 if ( matrix )
226 FT_Outline_Transform( &glyph->outline, matrix );
424 FT_Matrix* matrix,
439 clazz->glyph_transform( glyph, matrix, delta );
442 if ( matrix )
443 FT_Vector_Transform( &glyph->advance, matrix );
218 ft_outline_glyph_transform( FT_Glyph outline_glyph, const FT_Matrix* matrix, const FT_Vector* delta ) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowImageView.java26 private Matrix matrix; field in class:ShadowImageView
140 public void setImageMatrix(Matrix matrix) { argument
141 this.matrix = new Matrix(matrix);
146 if (matrix != null) {
147 canvas.translate(shadowOf(matrix).getTransX(), shadowOf(matrix)
149 canvas.scale(shadowOf(matrix).getScaleX(), shadowOf(matrix)
/external/skia/bench/
H A DColorFilterBench.cpp32 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
36 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
41 SkScalar matrix[20]; local
42 memset(matrix, 0, 20 * sizeof(SkScalar));
43 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
44 matrix[1] = matrix[6] = matrix[1
[all...]
/external/skia/experimental/
H A DSkSetPoly3To3.cpp11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument
59 matrix->reset();
60 matrix->setScaleX(dot(srcOP0, srcOP1, dstOP[0], dstOP[2]));
61 matrix->setSkewX( dot(srcOP2, srcOP3, dstOP[0], dstOP[2]));
62 matrix->setSkewY (dot(srcOP0, srcOP1, dstOP[1], dstOP[3]));
63 matrix->setScaleY(dot(srcOP2, srcOP3, dstOP[1], dstOP[3]));
64 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
65 matrix->getScaleX(), matrix
[all...]
H A DSkSetPoly3To3_A.cpp11 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
50 bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument
74 matrix->reset();
75 matrix->setScaleX(divide(M[0], det));
76 matrix->setSkewX( divide(M[1], det));
77 matrix->setSkewY (divide(M[2], det));
78 matrix->setScaleY(divide(M[3], det));
79 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
80 matrix->getScaleX(), matrix
[all...]
H A DSkSetPoly3To3_D.cpp11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
26 static void computeOuterProduct(SkMatrix* matrix, argument
42 matrix->reset();
43 matrix->setScaleX(SkDScalar_toScalar(tmp[0]));
44 matrix->setSkewY( SkDScalar_toScalar(tmp[1]));
45 matrix->setSkewX( SkDScalar_toScalar(tmp[2]));
46 matrix->setScaleY(SkDScalar_toScalar(tmp[3]));
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) { argument
68 matrix->setConcat(dstOP, srcOP);
69 matrix
[all...]
/external/skia/gm/
H A Dcolormatrix.cpp31 static void setColorMatrix(SkPaint* paint, const SkColorMatrix& matrix) { argument
32 paint->setColorFilter(SkColorMatrixFilter::Create(matrix))->unref();
100 SkColorMatrix matrix; local
107 matrix.setIdentity();
108 setColorMatrix(&paint, matrix);
111 matrix.setRotate(SkColorMatrix::kR_Axis, 90);
112 setColorMatrix(&paint, matrix);
115 matrix.setRotate(SkColorMatrix::kG_Axis, 90);
116 setColorMatrix(&paint, matrix);
119 matrix
[all...]
H A Ddownsamplebitmap.cpp76 SkMatrix matrix; variable
77 matrix.setScale( curScale, curScale );
84 canvas->drawBitmapMatrix( fBM, matrix, &paint );
H A Dimagefilterscropexpand.cpp110 SkScalar matrix[20] = { 1, 0, 0, 0, 0, local
114 SkAutoTUnref<SkColorFilter> cf_alpha_trans(SkColorMatrixFilter::Create(matrix));
H A Dtexteffects.cpp98 static SkPathEffect* MakeDotEffect(SkScalar radius, const SkMatrix& matrix) { argument
101 return SkPath2DPathEffect::Create(matrix, path);
/external/skia/include/core/
H A DSkPicture.h293 virtual const SkMatrix& matrix(int index) const { SkASSERT(false); return SkMatrix::I(); } function in class:SkPicture::OperationList
/external/skia/include/gpu/
H A DGrEffectStage.h74 * @param matrix The transformation from the old coord system in which geometry is specified
77 void localCoordChange(const SkMatrix& matrix) { argument
79 fCoordChangeMatrix.preConcat(matrix);
82 fCoordChangeMatrix = matrix;
175 // ignore the coordinate change matrix since there are
200 * Gets the matrix representing all changes of coordinate system since the GrEffect was
/external/skia/samplecode/
H A DSampleCircle.cpp101 SkMatrix matrix; local
102 matrix.setScale(SkIntToScalar(100), SkIntToScalar(100));
103 matrix.postTranslate(SkIntToScalar(200), SkIntToScalar(200));
104 canvas->concat(matrix);
H A DSampleFuzz.cpp327 SkMatrix matrix; local
328 set2x3(&matrix, make_number(),make_number(),make_number(),make_number(),make_number(),make_number());
329 canvas->concat(matrix);
334 SkMatrix matrix; local
335 set2x3(&matrix, make_number(),make_number(),make_number(),make_number(),make_number(),make_number());
336 canvas->setMatrix(matrix);

Completed in 9067 milliseconds

1234567891011>>