Searched refs:matrix (Results 1 - 25 of 545) sorted by relevance

1234567891011>>

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowColorMatrixColorFilter.java11 private ColorMatrix matrix; field in class:ShadowColorMatrixColorFilter
14 public void __constructor__(ColorMatrix matrix) { argument
15 this.matrix = matrix;
20 this.matrix = new ColorMatrix(array);
25 return "ColorMatrixColorFilter<" + matrix + ">";
/external/webkit/Source/WebCore/platform/graphics/android/layers/
H A DDumpLayer.cpp46 void LayerDumper::writeMatrix(const char* label, const TransformationMatrix& matrix) argument
50 matrix.m11(), matrix.m12(), matrix.m13(), matrix.m14(),
51 matrix.m21(), matrix.m22(), matrix.m23(), matrix.m24(),
52 matrix
[all...]
/external/srec/srec/clib/
H A Dmatx_ops.c41 covdata **matrix; local
43 matrix = (covdata **) CALLOC(dimen, sizeof(covdata *),
46 matrix[ii] = (covdata *) CALLOC(dimen, sizeof(covdata),
48 return (matrix);
51 void delete_matrix(covdata **matrix, int dimen) argument
55 ASSERT(matrix);
57 FREE((char *)matrix[ii]);
58 FREE((char *)matrix);
62 void diagonal_elements(covdata *vector, covdata **matrix, int dim) argument
67 ASSERT(matrix);
73 scale_matrix_for_fixedpoint(imeldata **fixmat, covdata **matrix, int dimen) argument
127 imeldata **matrix; local
137 delete_fixed_matrix(imeldata **matrix, int dimen) argument
[all...]
H A Dmatx_ops.h22 static PINLINE void matrix_fixed_multiply_frame(imeldata *outvec, imeldata **matrix,
25 static PINLINE void matrix_fixed_multiply_frame(imeldata *outvec, imeldata **matrix, argument
31 ASSERT(matrix);
39 sum += matrix[ii][jj] * vector[jj];
/external/webkit/Source/WebKit/android/plugins/
H A DANPMatrixInterface.cpp48 static void anp_deleteMatrix(ANPMatrix* matrix) { argument
49 delete matrix;
52 static ANPMatrixFlag anp_getFlags(const ANPMatrix* matrix) { argument
53 return matrix->getType();
60 static void anp_get3x3(const ANPMatrix* matrix, float dst[9]) { argument
62 dst[i] = SkScalarToFloat(matrix->get(i));
66 static void anp_set3x3(ANPMatrix* matrix, const float src[9]) { argument
68 matrix->set(i, SkFloatToScalar(src[i]));
72 static void anp_setIdentity(ANPMatrix* matrix) { argument
73 matrix
76 anp_preTranslate(ANPMatrix* matrix, float tx, float ty) argument
80 anp_postTranslate(ANPMatrix* matrix, float tx, float ty) argument
84 anp_preScale(ANPMatrix* matrix, float sx, float sy) argument
88 anp_postScale(ANPMatrix* matrix, float sx, float sy) argument
92 anp_preSkew(ANPMatrix* matrix, float kx, float ky) argument
96 anp_postSkew(ANPMatrix* matrix, float kx, float ky) argument
100 anp_preRotate(ANPMatrix* matrix, float degrees) argument
104 anp_postRotate(ANPMatrix* matrix, float degrees) argument
108 anp_preConcat(ANPMatrix* matrix, const ANPMatrix* other) argument
112 anp_postConcat(ANPMatrix* matrix, const ANPMatrix* other) argument
120 anp_mapPoints(ANPMatrix* matrix, float dst[], const float src[], int32_t count) argument
[all...]
/external/skia/src/core/
H A DSkMatrixUtils.h20 * Given a matrix and width/height, return true if the computed dst-rect would
38 static inline bool SkTreatAsSpriteFilter(const SkMatrix& matrix, argument
40 return SkTreatAsSprite(matrix, width, height, kSkSubPixelBitsForBilerp);
/external/skia/src/gpu/effects/
H A DGrSimpleTextureEffect.h17 * The coord to sample the texture is determine by a matrix. It allows explicit specification of
23 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix) { argument
24 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix)));
29 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, bool bilerp) { argument
30 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, bilerp)));
34 static GrEffectRef* Create(GrTexture* tex, const SkMatrix& matrix, const GrTextureParams& p) { argument
35 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, p)));
50 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix) argument
51 : GrSingleTextureEffect(texture, matrix) {}
52 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, boo argument
54 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DPatternCairo.cpp45 cairo_matrix_t matrix = m_patternSpaceTransformation; local
46 cairo_matrix_invert(&matrix);
47 cairo_pattern_set_matrix(pattern, &matrix);
H A DGradientCairo.cpp73 cairo_matrix_t matrix = m_gradientSpaceTransformation; local
74 cairo_matrix_invert(&matrix);
75 cairo_pattern_set_matrix(m_gradient, &matrix);
83 cairo_matrix_t matrix = gradientSpaceTransformation; local
84 cairo_matrix_invert(&matrix);
85 cairo_pattern_set_matrix(m_gradient, &matrix);
/external/eigen/Eigen/src/LU/
H A DInverse.h24 static inline void run(const MatrixType& matrix, ResultType& result) argument
26 result = matrix.partialPivLu().inverse();
40 static inline void run(const MatrixType& matrix, ResultType& result) argument
43 result.coeffRef(0,0) = Scalar(1) / matrix.coeff(0,0);
51 const MatrixType& matrix,
58 determinant = matrix.coeff(0,0);
70 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
73 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
74 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
75 result.coeffRef(0,1) = -matrix
50 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& result, typename ResultType::Scalar& determinant, bool& invertible ) argument
69 compute_inverse_size2_helper( const MatrixType& matrix, const typename ResultType::Scalar& invdet, ResultType& result) argument
82 run(const MatrixType& matrix, ResultType& result) argument
93 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
128 compute_inverse_size3_helper( const MatrixType& matrix, const typename ResultType::Scalar& invdet, const Matrix<typename ResultType::Scalar,3,1>& cofactors_col0, ResultType& result) argument
146 run(const MatrixType& matrix, ResultType& result) argument
162 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
188 general_det3_helper(const MatrixBase<Derived>& matrix, int i1, int i2, int i3, int j1, int j2, int j3) argument
196 cofactor_4x4(const MatrixType& matrix) argument
214 run(const MatrixType& matrix, ResultType& result) argument
246 run( const MatrixType& matrix, const typename MatrixType::RealScalar& absDeterminantThreshold, ResultType& inverse, typename ResultType::Scalar& determinant, bool& invertible ) argument
278 inverse_impl(const MatrixType& matrix) argument
[all...]
H A DDeterminant.h19 (const MatrixBase<Derived>& matrix, int a, int b, int c)
21 return matrix.coeff(0,a)
22 * (matrix.coeff(1,b) * matrix.coeff(2,c) - matrix.coeff(1,c) * matrix.coeff(2,b));
27 (const MatrixBase<Derived>& matrix, int j, int k, int m, int n)
29 return (matrix.coeff(j,0) * matrix.coeff(k,1) - matrix
18 bruteforce_det3_helper(const MatrixBase<Derived>& matrix, int a, int b, int c) argument
26 bruteforce_det4_helper(const MatrixBase<Derived>& matrix, int j, int k, int m, int n) argument
[all...]
/external/webkit/Source/WebCore/svg/
H A DSVGTransformList.cpp35 SVGTransform SVGTransformList::createSVGTransformFromMatrix(const SVGMatrix& matrix) const
37 return SVGSVGElement::createSVGTransformFromMatrix(matrix);
42 AffineTransform matrix; local
43 if (!concatenate(matrix))
46 SVGTransform transform(matrix);
59 result *= at(i).matrix();
H A DSVGPoint.idl29 [StrictTypeChecking, RequiresAllArguments=Raise] SVGPoint matrixTransform(in SVGMatrix matrix);
/external/opencv/cxcore/include/
H A Dcxcore.hpp213 CvMatrix() : matrix(0) {}
215 { matrix = cvCreateMat( rows, cols, type ); }
219 { matrix = cvInitMatHeader( hdr, rows, cols, type, data, step ); }
224 { matrix = cvCreateMatHeader( rows, cols, type );
225 cvSetData( matrix, data, step ); }
228 { matrix = m; }
232 matrix = m.matrix;
236 CvMatrix( const char* filename, const char* matname=0, int color=-1 ) : matrix(0)
239 CvMatrix( CvFileStorage* fs, const char* mapname, const char* matname ) : matrix(
348 CvMat* matrix; member in class:CvMatrix
[all...]
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DTransformationMatrixWx.cpp46 wxGraphicsMatrix matrix = renderer->CreateMatrix(a(), b(), c(), d(), e(), f()); local
47 return matrix;
55 wxGraphicsMatrix matrix = renderer->CreateMatrix(a(), b(), c(), d(), e(), f()); local
56 return matrix;
/external/skia/gm/
H A Dcolormatrix.cpp31 static void setColorMatrix(SkPaint* paint, const SkColorMatrix& matrix) { argument
32 paint->setColorFilter(SkNEW_ARGS(SkColorMatrixFilter, (matrix)))->unref();
102 SkColorMatrix matrix; local
109 matrix.setIdentity();
110 setColorMatrix(&paint, matrix);
113 matrix.setRotate(SkColorMatrix::kR_Axis, 90);
114 setColorMatrix(&paint, matrix);
117 matrix.setRotate(SkColorMatrix::kG_Axis, 90);
118 setColorMatrix(&paint, matrix);
121 matrix
[all...]
H A Dbitmapmatrix.cpp37 SkMatrix matrix; variable
38 matrix.reset();
42 canvas->drawBitmapMatrix(bm, matrix, &paint);
46 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf);
47 canvas->drawBitmapMatrix(bm, matrix, &paint);
51 matrix.reset();
52 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2),
56 canvas->drawBitmapMatrix(bm, matrix, &paint);
61 matrix.reset();
62 matrix
[all...]
H A Dcolorfilterimagefilter.cpp27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
31 SkAutoTUnref<SkColorFilter> filter(new SkColorMatrixFilter(matrix));
36 SkScalar matrix[20]; local
37 memset(matrix, 0, 20 * sizeof(SkScalar));
38 matrix[0] = matrix[5] = matrix[10] = SkFloatToScalar(0.2126f);
39 matrix[1] = matrix[6] = matrix[1
[all...]
/external/eigen/test/
H A Dgeo_transformations.cpp50 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
69 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>()));
72 VERIFY_IS_APPROX(t1.matrix(), t0.matrix());
127 // rotation matrix conversion
165 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
166 t0.matrix().setZero();
168 VERIFY_IS_APPROX(t0.matrix(), Transform3::MatrixType::Identity());
180 VERIFY((t0 * t1).matrix().isIdentity(test_precision<Scalar>()));
183 VERIFY_IS_APPROX(t1.matrix(), t
[all...]
H A Dcorners.cpp13 VERIFY_IS_EQUAL(matrix.A, matrix.B); \
25 MatrixType matrix = MatrixType::Random(rows,cols); local
48 MatrixType matrix = MatrixType::Random(); local
60 VERIFY_IS_EQUAL((matrix.template topLeftCorner<r,c>()), (matrix.template block<r,c>(0,0)));
61 VERIFY_IS_EQUAL((matrix.template topRightCorner<r,c>()), (matrix.template block<r,c>(0,cols-c)));
62 VERIFY_IS_EQUAL((matrix.template bottomLeftCorner<r,c>()), (matrix
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8WebKitCSSMatrixConstructor.cpp61 RefPtr<WebKitCSSMatrix> matrix = WebKitCSSMatrix::create(cssValue, ec); local
65 // Transform the holder into a wrapper object for the matrix.
66 V8DOMWrapper::setDOMWrapper(args.Holder(), &info, matrix.get());
67 return toV8(matrix.release(), args.Holder());
/external/eigen/Eigen/src/Eigenvalues/
H A DComplexSchur_MKL.h45 ComplexSchur<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW> >::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW>& matrix, bool computeU) \
52 assert(matrix.cols() == matrix.rows()); \
55 if(matrix.cols() == 1) \
57 m_matT = matrix.cast<ComplexScalar>(); \
64 lapack_int n = matrix.cols(), sdim, info; \
65 lapack_int lda = matrix.outerStride(); \
72 m_matT = matrix; \
/external/eigen/doc/examples/
H A DTutorial_ArrayClass_interop.cpp18 result = (m.array() + 4).matrix() * m;
20 result = (m.array() * n.array()).matrix() * m;
/external/webkit/Source/WebCore/platform/graphics/win/
H A DQTTrack.cpp90 ASSERT(!m.matrix[0][2]);
91 ASSERT(!m.matrix[1][2]);
93 Fix2X(m.matrix[0][0]),
94 Fix2X(m.matrix[0][1]),
95 Fix2X(m.matrix[1][0]),
96 Fix2X(m.matrix[1][1]),
97 Fix2X(m.matrix[2][0]),
98 Fix2X(m.matrix[2][1]));
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
H A Dnon-kerned-drawing.cpp65 CGAffineTransform matrix = CGAffineTransformIdentity; local
66 matrix.b = -matrix.b;
67 matrix.d = -matrix.d;
69 CGContextSetTextMatrix(cgContext, matrix);

Completed in 547 milliseconds

1234567891011>>