/external/chromium_org/third_party/qcms/src/ |
H A D | matrix.h | 31 struct vector matrix_eval(struct matrix mat, struct vector v); 32 float matrix_det(struct matrix mat); 33 struct matrix matrix_identity(void); 34 struct matrix matrix_multiply(struct matrix a, struct matrix b); 35 struct matrix matrix_invert(struct matrix mat); 37 struct matrix matrix_invalid(void);
|
/external/chromium_org/cc/output/ |
H A D | render_surface_filters.cc | 30 void GetBrightnessMatrix(float amount, SkScalar matrix[20]) { argument 34 memset(matrix, 0, 20 * sizeof(SkScalar)); 35 matrix[0] = matrix[6] = matrix[12] = amount; 36 matrix[18] = 1.f; 39 void GetSaturatingBrightnessMatrix(float amount, SkScalar matrix[20]) { argument 42 memset(matrix, 0, 20 * sizeof(SkScalar)); 43 matrix[0] = matrix[ 47 GetContrastMatrix(float amount, SkScalar matrix[20]) argument 54 GetSaturateMatrix(float amount, SkScalar matrix[20]) argument 73 GetHueRotateMatrix(float hue, SkScalar matrix[20]) argument 95 GetInvertMatrix(float amount, SkScalar matrix[20]) argument 102 GetOpacityMatrix(float amount, SkScalar matrix[20]) argument 108 GetGrayscaleMatrix(float amount, SkScalar matrix[20]) argument 130 GetSepiaMatrix(float amount, SkScalar matrix[20]) argument 150 CreateMatrixImageFilter( const SkScalar matrix[20], const skia::RefPtr<SkImageFilter>& input) argument 165 SkScalar matrix[20]; local [all...] |
/external/chromium_org/cc/test/ |
H A D | geometry_test_utils.cc | 19 EXPECT_FLOAT_EQ((expected).matrix().get(0, 0), (actual).matrix().get(0, 0)); 20 EXPECT_FLOAT_EQ((expected).matrix().get(1, 0), (actual).matrix().get(1, 0)); 21 EXPECT_FLOAT_EQ((expected).matrix().get(2, 0), (actual).matrix().get(2, 0)); 22 EXPECT_FLOAT_EQ((expected).matrix().get(3, 0), (actual).matrix().get(3, 0)); 23 EXPECT_FLOAT_EQ((expected).matrix().get(0, 1), (actual).matrix() [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | incomplete_lq_factorization_test.cc | 58 CompressedRowSparseMatrix matrix(1, 1, 1); 59 matrix.mutable_rows()[0] = 0; 60 matrix.mutable_rows()[1] = 1; 61 matrix.mutable_cols()[0] = 0; 62 matrix.mutable_values()[0] = 2; 65 IncompleteLQFactorization(matrix, 1, 0.0, 1, 0.0)); 66 ExpectMatricesAreEqual(matrix, *l, 1e-16); 83 CompressedRowSparseMatrix matrix(10, 10, 100); 84 int* rows = matrix.mutable_rows(); 85 int* cols = matrix [all...] |
H A D | incomplete_lq_factorization.h | 47 // An incomplete LQ factorization of a matrix A is a decomposition 51 // Where L is a lower triangular matrix, and Q is a near orthonormal 52 // matrix. The extent of orthonormality depends on E. E is the "drop" 53 // matrix. Each row of L has a maximum of l_level_of_fill entries, and 62 // there one only needs the L matrix, therefore this function just 67 const CompressedRowSparseMatrix& matrix, 76 // vector to matrix. 79 // assumed that scratch is of size matrix->num_cols(). 85 CompressedRowSparseMatrix* matrix);
|
H A D | preconditioner.cc | 41 const SparseMatrix* matrix) 42 : matrix_(CHECK_NOTNULL(matrix)) { 40 SparseMatrixPreconditionerWrapper( const SparseMatrix* matrix) argument
|
/external/chromium_org/cc/layers/ |
H A D | video_frame_provider_client_impl.cc | 32 // This matrix is the default transformation for stream textures, and flips 80 void VideoFrameProviderClientImpl::DidUpdateMatrix(const float* matrix) { argument 82 matrix[0], matrix[4], matrix[8], matrix[12], 83 matrix[1], matrix[5], matrix[9], matrix[1 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.h | 33 struct matrix; 64 struct matrix *matrix); 69 struct matrix *matrix); 73 struct matrix *matrix); 77 struct matrix *matrix);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | arc.h | 33 struct matrix; 64 struct matrix *matrix); 69 struct matrix *matrix); 73 struct matrix *matrix); 77 struct matrix *matrix);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowColorMatrixColorFilter.java | 11 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/srec/srec/clib/ |
H A D | matx_ops.c | 41 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 D | matx_ops.h | 22 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/chromium_org/third_party/skia/src/core/ |
H A D | SkMatrixUtils.h | 20 * 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); 43 /** Decomposes the upper-left 2x2 of the matrix into a rotation (represented by 47 Returns true if successful. Returns false if the matrix is degenerate. 49 bool SkDecomposeUpper2x2(const SkMatrix& matrix,
|
/external/skia/src/core/ |
H A D | SkMatrixUtils.h | 20 * 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); 43 /** Decomposes the upper-left 2x2 of the matrix into a rotation (represented by 47 Returns true if successful. Returns false if the matrix is degenerate. 49 bool SkDecomposeUpper2x2(const SkMatrix& matrix,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | FEColorMatrix.cpp | 76 inline void matrix(float& red, float& green, float& blue, float& alpha, const Vector<float>& values) function in namespace:WebCore 127 matrix(red, green, blue, alpha, values); 179 static void saturateMatrix(float s, SkScalar matrix[20]) argument 181 matrix[0] = 0.213f + 0.787f * s; 182 matrix[1] = 0.715f - 0.715f * s; 183 matrix[2] = 0.072f - 0.072f * s; 184 matrix[3] = matrix[4] = 0; 185 matrix[5] = 0.213f - 0.213f * s; 186 matrix[ 198 hueRotateMatrix(float hue, SkScalar matrix[20]) argument 219 luminanceToAlphaMatrix(SkScalar matrix[20]) argument 229 SkScalar matrix[20]; local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | occlusion_query_unittests.cc | 36 static void SetMatrix(float x, float z, float scale, float* matrix) { argument 37 matrix[0] = scale; 38 matrix[1] = 0.0f; 39 matrix[2] = 0.0f; 40 matrix[3] = 0.0f; 42 matrix[4] = 0.0f; 43 matrix[5] = scale; 44 matrix[6] = 0.0f; 45 matrix[7] = 0.0f; 47 matrix[ 59 GLfloat matrix[16]; local [all...] |
/external/eigen/Eigen/src/LU/ |
H A D | Inverse.h | 24 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 D | Determinant.h | 19 (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/opencv/cxcore/include/ |
H A D | cxcore.hpp | 213 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/skia/gm/ |
H A D | colormatrix.cpp | 31 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 D | bitmapmatrix.cpp | 38 SkMatrix matrix; variable 39 matrix.reset(); 43 canvas->drawBitmapMatrix(bm, matrix, &paint); 47 matrix.setScale(SkIntToScalar(2), SK_ScalarHalf); 48 canvas->drawBitmapMatrix(bm, matrix, &paint); 52 matrix.reset(); 53 matrix.setRotate(SkIntToScalar(45), SkIntToScalar(bm.width() / 2), 57 canvas->drawBitmapMatrix(bm, matrix, &paint); 62 matrix.reset(); 63 matrix [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPoint.idl | 27 [MeasureAs=SVGPointMatrixTransform, StrictTypeChecking] SVGPoint matrixTransform(SVGMatrix matrix);
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathRenderer.cpp | 16 const SkMatrix& matrix, 23 matrix.mapRect(bounds); 14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
|
/external/skia/src/gpu/ |
H A D | GrPathRenderer.cpp | 16 const SkMatrix& matrix, 23 matrix.mapRect(bounds); 14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrSimpleTextureEffect.h | 19 * can have a matrix applied in the VS in both the local and position cases but not with a custom 27 const SkMatrix& matrix, 29 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, GrTextureParams::kNone_FilterMode, coordSet))); 35 const SkMatrix& matrix, 39 SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, filterMode, coordSet))); 44 const SkMatrix& matrix, 47 AutoEffectUnref effect(SkNEW_ARGS(GrSimpleTextureEffect, (tex, matrix, p, coordSet))); 63 const SkMatrix& matrix, 66 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) { 70 const SkMatrix& matrix, 26 Create(GrTexture* tex, const SkMatrix& matrix, GrCoordSet coordSet = kLocal_GrCoordSet) argument 34 Create(GrTexture* tex, const SkMatrix& matrix, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet = kLocal_GrCoordSet) argument 43 Create(GrTexture* tex, const SkMatrix& matrix, const GrTextureParams& p, GrCoordSet coordSet = kLocal_GrCoordSet) argument 62 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, GrTextureParams::FilterMode filterMode, GrCoordSet coordSet) argument 69 GrSimpleTextureEffect(GrTexture* texture, const SkMatrix& matrix, const GrTextureParams& params, GrCoordSet coordSet) argument [all...] |