Searched refs:matrix (Results 351 - 375 of 1121) sorted by relevance

<<11121314151617181920>>

/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 Dftrender.h50 const FT_Matrix* matrix,
96 const FT_Matrix* matrix,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dftrender.h50 const FT_Matrix* matrix,
96 const FT_Matrix* matrix,
/external/skia/experimental/PdfViewer/
H A DSkPdfUtils.h65 SkRect bBox, SkMatrix matrix, double textSize);
72 void SkTraceMatrix(const SkMatrix& matrix, const char* sz);
/external/skia/include/utils/
H A DSkLayer.h88 /** Return, in matrix, the matix transfomations that are applied locally
89 when this layer draws (i.e. its position and matrix/anchorPoint).
93 void getLocalTransform(SkMatrix* matrix) const;
95 /** Return, in matrix, the concatenation of transforms that are applied
97 This is the matrix that is applied to the layer during drawing.
99 void localToGlobal(SkMatrix* matrix) const;
/external/skia/src/core/
H A DSkMatrixClipStateMgr.h20 // The SkMatrixClipStateMgr collapses the matrix/clip state of an SkPicture into
21 // a series of save/restore blocks of consistent matrix clip state, e.g.:
48 // and matrix calls sent to SkCanvas in order to track the current matrix/clip
85 void preConcat(const SkMatrix& matrix) { argument
87 fMatrix.preConcat(matrix);
90 void setMatrix(const SkMatrix& matrix) { argument
92 fMatrix = matrix;
308 void concat(const SkMatrix& matrix) { argument
310 fCurMCState->fMatrixInfo->preConcat(matrix);
313 setMatrix(const SkMatrix& matrix) argument
[all...]
/external/skia/src/gpu/gl/
H A DGrGLUniformManager.h65 // matrices are column-major, the first three upload a single matrix, the latter three upload
67 void setMatrix3f(UniformHandle, const GrGLfloat matrix[]) const;
68 void setMatrix4f(UniformHandle, const GrGLfloat matrix[]) const;
72 // convenience method for uploading a SkMatrix to a 3x3 matrix uniform
/external/skia/src/utils/
H A DSkNWayCanvas.cpp89 void SkNWayCanvas::didConcat(const SkMatrix& matrix) { argument
92 iter->concat(matrix);
94 this->INHERITED::didConcat(matrix);
97 void SkNWayCanvas::didSetMatrix(const SkMatrix& matrix) { argument
100 iter->setMatrix(matrix);
102 this->INHERITED::didSetMatrix(matrix);
261 const SkMatrix* matrix, const SkPaint& paint) {
264 iter->drawTextOnPath(text, byteLength, path, matrix, paint);
260 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
/external/eigen/Eigen/src/Geometry/
H A DTransform.h76 * - #Affine: the transformation is stored as a (Dim+1)^2 matrix,
78 * - #AffineCompact: the transformation is stored as a (Dim)x(Dim+1) matrix.
79 * - #Projective: the transformation is stored as a (Dim+1)^2 matrix
82 * These Options are passed directly to the underlying matrix type.
84 * The homography is internally represented and stored by a matrix which
85 * is available through the matrix() method. To understand the behavior of
87 * matrix representation. The chosen convention is right multiply:
91 * Therefore, an affine transformation matrix M is shaped like this:
101 * However, unlike a plain matrix, the Transform class provides many features
107 * to a compatible (Dim+1)^2 matrix an
367 inline const MatrixType& matrix() const { return m_matrix; } function in class:Eigen::Transform
369 inline MatrixType& matrix() { return m_matrix; } function in class:Eigen::Transform
[all...]
/external/chromium_org/cc/output/
H A Dfilter_operation.h80 const SkScalar* matrix() const { function in class:cc::FilterOperation
137 static FilterOperation CreateColorMatrixFilter(SkScalar matrix[20]) { argument
138 return FilterOperation(COLOR_MATRIX, matrix);
200 void set_matrix(const SkScalar matrix[20]) { argument
203 matrix_[i] = matrix[i];
236 FilterOperation(FilterType, SkScalar matrix[20]);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGTransform.cpp47 SVGTransform::SVGTransform(const AffineTransform& matrix) argument
51 , m_matrix(matrix)
55 SVGTransform::SVGTransform(SVGTransformType transformType, float angle, const FloatPoint& center, const AffineTransform& matrix) argument
60 , m_matrix(matrix)
80 void SVGTransform::setMatrix(const AffineTransform& matrix) argument
83 m_matrix = matrix;
160 DEFINE_STATIC_LOCAL(String, matrixString, ("matrix("));
/external/chromium_org/third_party/ots/test/
H A Dside-by-side.cc115 FT_Matrix matrix; local
116 matrix.xx = matrix.yy = 1 << 16;
117 matrix.xy = matrix.yx = 0 << 16;
132 FT_Set_Transform(face, &matrix, 0);
/external/chromium_org/third_party/skia/samplecode/
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);
H A DSampleStrokePath.cpp37 SkMatrix matrix; local
38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit);
39 canvas->concat(matrix);
81 SkMatrix matrix; local
83 matrix.setScale(scale, scale);
84 path->transform(matrix);
/external/chromium_org/third_party/skia/src/effects/
H A DSkLayerRasterizer.cpp54 const SkMatrix& matrix,
74 // apply the matrix and offset
76 SkMatrix m = matrix;
83 &matrix, &mask,
94 bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix, argument
103 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
127 translatedMatrix = matrix;
137 // we set the matrixproc in the loop, as the matrix changes each time (potentially)
53 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
/external/skia/samplecode/
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);
H A DSampleStrokePath.cpp37 SkMatrix matrix; local
38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit);
39 canvas->concat(matrix);
81 SkMatrix matrix; local
83 matrix.setScale(scale, scale);
84 path->transform(matrix);
/external/skia/src/effects/
H A DSkLayerRasterizer.cpp65 const SkMatrix& matrix,
85 // apply the matrix and offset
87 SkMatrix m = matrix;
94 &matrix, &mask,
105 bool SkLayerRasterizer::onRasterize(const SkPath& path, const SkMatrix& matrix, argument
114 if (!compute_bounds(*fLayers, path, matrix, clipBounds, &mask->fBounds))
138 translatedMatrix = matrix;
148 // we set the matrixproc in the loop, as the matrix changes each time (potentially)
64 compute_bounds(const SkDeque& layers, const SkPath& path, const SkMatrix& matrix, const SkIRect* clipBounds, SkIRect* bounds) argument
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_annot.cpp92 CFX_Matrix matrix; local
93 matrix = *pMatrix;
95 annot_rect_f.Transform(&matrix);
103 pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal);
104 } else if (!pAnnot->DrawAppearance(pPage, pDevice, &matrix, CPDF_Annot::Normal, pOptions)) {
105 pAnnot->DrawBorder(pDevice, &matrix, pOptions);
235 static CPDF_Form* FPDFDOC_Annot_GetMatrix(const CPDF_Page* pPage, CPDF_Annot* pAnnot, CPDF_Annot::AppearanceMode mode, const CFX_AffineMatrix* pUser2Device, CFX_Matrix &matrix) argument
246 matrix.MatchRect(arect, form_bbox);
247 matrix.Concat(*pUser2Device);
253 CFX_Matrix matrix; local
265 CFX_Matrix matrix; local
[all...]
/external/opencv/cvaux/src/
H A Dcvscanlines.cpp152 icvMakeScanlines( CvMatrix3 * matrix, argument
159 error = icvGetCoefficient( matrix, imgSize, scanlines_2, scanlines_1, numlines );
170 matrix = matrix;
260 icvGetCoefficient( CvMatrix3 * matrix, argument
270 F = matrix;
277 error = icvGetCoefficientDefault( matrix,
308 error = icvGetCoefficientStereo( matrix,
319 error = icvGetCoefficientOrto( matrix,
327 error = icvGetCoefficientDefault( matrix, imgSiz
335 icvGetCoefficientDefault( CvMatrix3 * matrix, CvSize imgSize, int *scanlines_1, int *scanlines_2, int *numlines ) argument
369 icvGetCoefficientOrto( CvMatrix3 * matrix, CvSize imgSize, int *scanlines_1, int *scanlines_2, int *numlines ) argument
435 icvGetStartEnd1( CvMatrix3 * matrix, CvSize imgSize, float *l_start_end, float *r_start_end ) argument
604 icvGetStartEnd2( CvMatrix3 * matrix, CvSize imgSize, float *l_start_end, float *r_start_end ) argument
777 icvGetStartEnd3( CvMatrix3 * matrix, CvSize imgSize, float *l_start_end, float *r_start_end ) argument
952 icvGetStartEnd4( CvMatrix3 * matrix, CvSize imgSize, float *l_start_end, float *r_start_end ) argument
1122 icvBuildScanlineLeft( CvMatrix3 * matrix, CvSize imgSize, int *scanlines_1, int *scanlines_2, float *l_start_end, int *numlines ) argument
1208 icvBuildScanlineRight( CvMatrix3 * matrix, CvSize imgSize, int *scanlines_1, int *scanlines_2, float *r_start_end, int *numlines ) argument
1390 icvGetCoefficientStereo( CvMatrix3 * matrix, CvSize imgSize, float *l_epipole, float *r_epipole, int *scanlines_1, int *scanlines_2, int *numlines ) argument
1728 icvBuildScanlineLeftStereo( CvSize imgSize, CvMatrix3 * matrix, float *l_epipole, float *l_angle, float l_radius, int *scanlines_1, int *scanlines_2, int *numlines ) argument
1815 icvBuildScanlineRightStereo( CvSize imgSize, CvMatrix3 * matrix, float *r_epipole, float *r_angle, float r_radius, int *scanlines_1, int *scanlines_2, int *numlines ) argument
1999 cvMakeScanlines( const CvMatrix3* matrix, CvSize imgSize, int *scanlines_1, int *scanlines_2, int *lens_1, int *lens_2, int *numlines ) argument
[all...]
/external/skia/tests/
H A DImageFilterTest.cpp112 SkScalar matrix[20] = { s, 0, 0, 0, 0, local
116 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix));
121 SkScalar matrix[20]; local
122 memset(matrix, 0, 20 * sizeof(SkScalar));
123 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
124 matrix[1] = matrix[6] = matrix[1
334 SkMatrix matrix; local
718 SkMatrix matrix; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapDevice.cpp224 const SkMatrix& matrix, const SkPaint& paint) {
225 draw.drawBitmap(bitmap, matrix, paint);
232 SkMatrix matrix; local
238 // Compute matrix from the two rectangles
244 matrix.setRectToRect(tmpSrc, dst, SkMatrix::kFill_ScaleToFit);
257 matrix.mapRect(&tmpDst, tmpSrc);
276 // Since we did an extract, we need to adjust the matrix accordingly
285 matrix.preTranslate(dx, dy);
297 // matrix with the CTM, and try to call drawSprite if it can. If not,
299 this->drawBitmap(draw, *bitmapPtr, matrix, pain
223 drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint& paint) argument
337 drawTextOnPath(const SkDraw& draw, const void* text, size_t len, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkNWayCanvas.cpp89 void SkNWayCanvas::didConcat(const SkMatrix& matrix) { argument
92 iter->concat(matrix);
94 this->INHERITED::didConcat(matrix);
97 void SkNWayCanvas::didSetMatrix(const SkMatrix& matrix) { argument
100 iter->setMatrix(matrix);
102 this->INHERITED::didSetMatrix(matrix);
261 const SkMatrix* matrix, const SkPaint& paint) {
264 iter->drawTextOnPath(text, byteLength, path, matrix, paint);
276 void SkNWayCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, argument
280 iter->drawPicture(picture, matrix, pain
260 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
[all...]
/external/eigen/Eigen/src/Core/
H A DTranspositions.h25 * Each transposition \f$ T_{i} \f$ applied on the left of a matrix (\f$ T_{i} M\f$) interchanges
26 * the rows \c i and \c indices[i] of the matrix \c M.
32 * To apply a sequence of transpositions to a matrix, simply use the operator * as in the following example:
38 * In this example, we detect that the matrix appears on both side, and so the transpositions
115 // might be usefull when the target matrix expression is complex, e.g.:
116 // object.matrix().block(..,..,..,..) = trans * object.matrix().block(..,..,..,..);
201 /** Constructs an uninitialized permutation matrix of given size.
327 /** \returns the \a matrix with the \a transpositions applied to the columns.
331 operator*(const MatrixBase<Derived>& matrix, argument
344 operator *(const TranspositionsBase<TranspositionDerived> &transpositions, const MatrixBase<Derived>& matrix) argument
367 transposition_matrix_product_retval(const TranspositionType& tr, const MatrixType& matrix) argument
416 operator *(const MatrixBase<Derived>& matrix, const Transpose& trt) argument
[all...]
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_pageobj.h162 void Transform(const CFX_AffineMatrix& matrix);
465 virtual void Transform(const CFX_AffineMatrix& matrix) = 0;
475 void TransformClipPath(CFX_AffineMatrix& matrix);
477 void TransformGeneralState(CFX_AffineMatrix& matrix);
575 virtual void Transform(const CFX_AffineMatrix& matrix);
652 virtual void Transform(const CFX_AffineMatrix& matrix);
675 virtual void Transform(const CFX_AffineMatrix& matrix);
692 virtual void Transform(const CFX_AffineMatrix& matrix);
716 void AddMatrix(CFX_AffineMatrix& matrix);
718 virtual void Transform(const CFX_AffineMatrix& matrix) {} argument
[all...]

Completed in 3766 milliseconds

<<11121314151617181920>>