/external/eigen/Eigen/src/SparseLU/ |
H A D | SparseLU.h | 30 * scalar type of your input matrix. 38 * (and eventually the rows) of the matrix to reduce the number of new elements that are created during 57 * \warning The input matrix A should be in a \b compressed and \b column-major form. 58 * Otherwise an expensive copy will be made. You can call the inexpensive makeCompressed() to get a compressed matrix. 60 * \note Unlike the initial SuperLU implementation, there is no step to equilibrate the matrix. 65 * \tparam _MatrixType The type of the sparse matrix. It must be a column-major SparseMatrix<> 93 SparseLU(const MatrixType& matrix):m_isInitialized(true),m_lastError(""),m_Ustore(0,0,0,0,0,0),m_symmetricmode(false),m_diagpivotthresh(1.0),m_detPermR(1) argument 96 compute(matrix); 104 void analyzePattern (const MatrixType& matrix); 105 void factorize (const MatrixType& matrix); 112 compute(const MatrixType& matrix) argument 454 factorize(const MatrixType& matrix) argument [all...] |
/external/freetype/src/base/ |
H A D | ftcalc.c | 983 FT_Matrix_Invert( FT_Matrix* matrix ) 988 if ( !matrix ) 992 delta = FT_MulFix( matrix->xx, matrix->yy ) - 993 FT_MulFix( matrix->xy, matrix->yx ); 996 return FT_THROW( Invalid_Argument ); /* matrix can't be inverted */ 998 matrix->xy = - FT_DivFix( matrix->xy, delta ); 999 matrix 1039 FT_Vector_Transform_Scaled( FT_Vector* vector, const FT_Matrix* matrix, FT_Long scaling ) argument [all...] |
/external/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 20 SkMatrix matrix; member in struct:PictureHeader 27 : matrix(SkMatrix::I()) 91 header.matrix.setTranslate(-l, -t); 92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25)); 153 canvas->concat(header.matrix);
|
/external/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 101 const SkMatrix& matrix, 126 const SkMatrix* matrix, 227 const SkMatrix& matrix, 293 const SkMatrix& matrix, 298 SkMatrix* matrix,
|
/external/skia/src/core/ |
H A D | SkPictureStateTree.cpp | 102 void SkPictureStateTree::Iterator::setCurrentMatrix(const SkMatrix* matrix) { argument 103 SkASSERT(NULL != matrix); 105 if (matrix == fCurrentMatrix) { 109 // The matrix is in recording space, but we also inherit 110 // a playback matrix from out target canvas. 111 SkMatrix m = *matrix; 114 fCurrentMatrix = matrix; 169 // restore() may change the matrix, so we need to reapply. 174 // restore() may change the matrix, so we need to reapply. 188 // restore() may change the matrix, s [all...] |
H A D | SkScalerContext.cpp | 381 SkMatrix matrix; local 384 fRec.getMatrixFrom2x2(&matrix); 387 if (fMaskFilter->filterMask(&dst, src, matrix, NULL)) { 583 SkMatrix matrix; local 584 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft), 598 matrix.setTranslate(-SkIntToScalar(mask.fBounds.fLeft + 1), 600 matrix.postScale(SkIntToScalar(4), SK_Scalar1); 627 draw.fMatrix = &matrix; 745 SkMatrix matrix; local 764 fRec.getMatrixFrom2x2(&matrix); 840 SkMatrix matrix, inverse; local 931 SkComputeAxisAlignmentForHText(const SkMatrix& matrix) argument [all...] |
/external/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 93 const SkMatrix* matrix) { 94 if (NULL != matrix) { 95 fMatrix = *matrix; 185 * Software rasterizes path to A8 mask (possibly using the context's matrix) 194 SkMatrix* matrix) { 197 if (!helper.init(resultBounds, matrix)) { 229 // We want to use device coords to compute the texture coordinates. We set our matrix to be 230 // equal to the view matrix followed by a translation so that the top-left of the device bounds 231 // maps to 0,0, and then a scaling matrix to normalized coords. We apply this matrix t 92 init(const SkIRect& resultBounds, const SkMatrix* matrix) argument 189 DrawPathMaskToTexture(GrContext* context, const SkPath& path, const SkStrokeRec& stroke, const SkIRect& resultBounds, bool antiAlias, SkMatrix* matrix) argument [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrConfigConversionEffect.cpp | 91 const SkMatrix& matrix) 92 : GrSingleTextureEffect(texture, matrix) 258 const SkMatrix& matrix) { 263 return GrSimpleTextureEffect::Create(texture, matrix); 274 matrix))); 88 GrConfigConversionEffect(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument 255 Create(GrTexture* texture, bool swapRedAndBlue, PMConversion pmConversion, const SkMatrix& matrix) argument
|
/external/skia/src/effects/ |
H A D | SkLightingImageFilter.cpp | 48 // Shift matrix components to the left, as we advance pixels to the right. 277 virtual bool asNewEffect(GrEffectRef** effect, GrTexture*, const SkMatrix& matrix, const SkIRect& bounds) const SK_OVERRIDE; 299 virtual bool asNewEffect(GrEffectRef** effect, GrTexture*, const SkMatrix& matrix, const SkIRect& bounds) const SK_OVERRIDE; 312 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix); 340 const SkMatrix& matrix, 345 matrix, 363 const SkMatrix& matrix, 376 const SkMatrix& matrix, 382 matrix, 401 const SkMatrix& matrix, 337 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 373 Create(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument 989 asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkMatrix& matrix, const SkIRect&) const argument 1078 asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkMatrix& matrix, const SkIRect&) const argument 1187 GrLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix) argument 1214 GrDiffuseLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd) argument 1241 SkMatrix matrix; local 1416 GrSpecularLightingEffect(GrTexture* texture, const SkLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess) argument 1448 SkMatrix matrix; local [all...] |
/external/chromium_org/third_party/qcms/src/ |
H A D | transform.c | 30 #include "matrix.h" 38 // Build a White point, primary chromas transfer matrix from RGB to CIE XYZ 45 // - First I build the absolute conversion matrix using 46 // primaries in XYZ. This matrix is next inverted 47 // - Then I eval the source white point across this matrix 49 // - Then, I apply these coeficients to the original matrix 50 static struct matrix build_RGB_to_XYZ_transfer_matrix(qcms_CIE_xyY white, qcms_CIE_xyYTRIPLE primrs) 52 struct matrix primaries; 53 struct matrix primaries_invert; 54 struct matrix resul [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | dense_sparse_matrix.cc | 88 VectorRef(y, num_rows()) += matrix() * ConstVectorRef(x, num_cols()); 93 matrix().transpose() * ConstVectorRef(x, num_rows()); 147 ConstColMajorMatrixRef DenseSparseMatrix::matrix() const { function in class:ceres::internal::DenseSparseMatrix
|
/external/chromium_org/content/renderer/media/android/ |
H A D | stream_texture_factory_impl.cc | 32 virtual void OnMatrixChanged(const float matrix[16]) OVERRIDE; 103 void StreamTextureProxyImpl::OnMatrixChanged(const float matrix[16]) { argument 106 client_->DidUpdateMatrix(matrix);
|
/external/chromium_org/ppapi/cpp/ |
H A D | compositor_layer.cc | 124 int32_t CompositorLayer::SetTransform(const float matrix[16]) { argument 127 pp_resource(), matrix); 131 pp_resource(), matrix);
|
/external/chromium_org/third_party/mesa/src/include/VG/ |
H A D | vgu.h | 109 VGfloat * matrix) VGU_API_EXIT; 115 VGfloat * matrix) VGU_API_EXIT; 125 VGfloat * matrix) VGU_API_EXIT;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | renderer.h | 44 struct matrix; 58 const struct matrix *modelview, 65 const struct matrix *modelview);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | resizeimagefilter.cpp | 48 SkMatrix matrix; local 49 matrix.setScale(SkScalarInvert(deviceScaleX), 52 SkMatrixImageFilter::Create(matrix, filterLevel, input));
|
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 78 const SkMatrix& matrix, SkIPoint* margin) const { 79 SkScalar sigma = matrix.mapRadius(fBlurSigma); 107 // run the light direction through the matrix... 109 matrix.mapVectors((SkVector*)(void*)light.fDirection, 77 filterMask(SkMask* dst, const SkMask& src, const SkMatrix& matrix, SkIPoint* margin) const argument
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrRODrawState.h | 183 * Retrieves the current view matrix 184 * @return the current view matrix. 189 * Retrieves the inverse of the current view matrix. 191 * If the current view matrix is invertible, return true, and if matrix 192 * is non-null, copy the inverse into it. If the current view matrix is 193 * non-invertible, return false and ignore the matrix parameter. 195 * @param matrix if not null, will receive a copy of the current inverse. 197 bool getViewInverse(SkMatrix* matrix) const { 198 // TODO: determine whether we really need to leave matrix unmodifie [all...] |
/external/eigen/bench/ |
H A D | benchGeometry.cpp | 41 return a1.matrix() * a2; 51 return res(a1.matrix() * a2.matrix()); 112 cout << "vec = trans.matrix() * vec" << endl; 128 cout << "trans = trans1.matrix() * trans.matrix()" << endl;
|
/external/eigen/test/ |
H A D | array_for_matrix.cpp | 34 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1); 35 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) ); 38 VERIFY_IS_APPROX(m3, (m1.array() + s2).matrix()); 41 VERIFY_IS_APPROX(m3, (m1.array() - s1).matrix()); 65 const Scalar& ref_m1 = m.matrix().array().coeffRef(0); 66 const Scalar& ref_m2 = m.matrix().array().coeffRef(0,0); 67 const Scalar& ref_a1 = m.array().matrix().coeffRef(0); 68 const Scalar& ref_a2 = m.array().matrix().coeffRef(0,0); 129 VERIFY_IS_APPROX(((m1.array().abs()+1)>RealScalar(0.1)).matrix().colwise().count(), VectorOfIndices::Constant(cols,rows).transpose()); 130 VERIFY_IS_APPROX(((m1.array().abs()+1)>RealScalar(0.1)).matrix() [all...] |
/external/mesa3d/include/VG/ |
H A D | vgu.h | 109 VGfloat * matrix) VGU_API_EXIT; 115 VGfloat * matrix) VGU_API_EXIT; 125 VGfloat * matrix) VGU_API_EXIT;
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | renderer.h | 44 struct matrix; 58 const struct matrix *modelview, 65 const struct matrix *modelview);
|
/external/opencv/cv/src/ |
H A D | _cvimgproc.h | 115 uchar* dst, int dst_step, CvSize win_size, const float *matrix ); 118 float* dst, int dst_step, CvSize win_size, const float *matrix ); 121 float* dst, int dst_step, CvSize win_size, const float *matrix );
|
/external/skia/gm/ |
H A D | resizeimagefilter.cpp | 45 SkMatrix matrix; local 46 matrix.setScale(SkScalarInvert(deviceScaleX), 49 SkMatrixImageFilter::Create(matrix, filterLevel, input));
|
/external/skia/include/gpu/ |
H A D | GrEffectStage.h | 74 * @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
|