/external/skia/bench/ |
H A D | ColorFilterBench.cpp | 32 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/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | querymatrix.c | 26 * mantissa[16] contains the contents of the current matrix in GLfixed 28 * matrix components, so that the internal representation of component i 101 GLfloat matrix[16]; local 112 /* This data structure defines the mapping between the current matrix 113 * mode and the desired matrix identifier. 124 /* Call Mesa to get the current matrix in floating-point form. First, 125 * we have to figure out what the current matrix mode is. 132 * returned mode to get the desired matrix; if we don't find it, 147 /* Now pull the matrix itself. */ 148 _mesa_GetFloatv(desiredMatrix, matrix); [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDraw3D.cpp | 55 SkMatrix matrix; local 56 fCamera.patchToMatrix(patch->fPatch, &matrix); 57 matrix.preTranslate(hackWidth / 2, -hackHeight / 2); 58 matrix.postTranslate(hackWidth / 2, hackHeight / 2); 59 maker.fCanvas->concat(matrix);
|
H A D | SkDrawExtraPathEffect.cpp | 52 SkDrawMatrix* matrix; member in class:SkDrawShape2DPathEffect 119 SkDrawMatrix* matrix; local 121 matrix = (SkDrawMatrix*) fDraw->addMatrix; 127 matrix = (SkDrawMatrix*) apply->getScope(); 129 if (matrix) { 130 m = matrix->getMatrix(); 169 SK_MEMBER(addMatrix, Drawable), // either matrix or apply 228 const SkMatrix& matrix) : Sk2DPathEffect(matrix), fDraw(draw), fMaker(maker) { 263 if (fDraw->matrix) { 227 SkShape2DPathEffect(SkDrawShape2DPathEffect* draw, SkAnimateMaker* maker, const SkMatrix& matrix) argument 264 SkDrawMatrix* matrix; local [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathRenderer.h | 143 static bool IsStrokeHairlineOrEquivalent(const SkStrokeRec& stroke, const SkMatrix& matrix, argument 152 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); 197 const SkMatrix& matrix, 203 const SkMatrix& matrix, 205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds); 201 GetPathDevBounds(const SkPath& path, const GrSurface* device, const SkMatrix& matrix, SkRect* bounds) argument
|
/external/eigen/Eigen/src/QR/ |
H A D | ColPivHouseholderQR_MKL.h | 29 * Householder QR decomposition of a matrix with column pivoting based on 47 const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix) \ 54 Index rows = matrix.rows();\ 55 Index cols = matrix.cols();\ 56 Index size = matrix.diagonalSize();\ 58 m_qr = matrix;\
|
/external/eigen/Eigen/src/SVD/ |
H A D | JacobiSVD_MKL.h | 45 JacobiSVD<Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>, ColPivHouseholderQRPreconditioner>::compute(const Matrix<EIGTYPE, Dynamic, Dynamic, EIGCOLROW, Dynamic, Dynamic>& matrix, unsigned int computationOptions) \ 50 allocate(matrix.rows(), matrix.cols(), computationOptions); \ 55 lapack_int lda = matrix.outerStride(), ldu, ldvt; \ 72 MatrixType m_temp; m_temp = matrix; \
|
/external/mesa3d/src/mesa/main/ |
H A D | querymatrix.c | 26 * mantissa[16] contains the contents of the current matrix in GLfixed 28 * matrix components, so that the internal representation of component i 99 GLfloat matrix[16]; local 110 /* This data structure defines the mapping between the current matrix 111 * mode and the desired matrix identifier. 122 /* Call Mesa to get the current matrix in floating-point form. First, 123 * we have to figure out what the current matrix mode is. 130 * returned mode to get the desired matrix; if we don't find it, 145 /* Now pull the matrix itself. */ 146 _mesa_GetFloatv(desiredMatrix, matrix); [all...] |
/external/skia/src/animator/ |
H A D | SkDraw3D.cpp | 55 SkMatrix matrix; local 56 fCamera.patchToMatrix(patch->fPatch, &matrix); 57 matrix.preTranslate(hackWidth / 2, -hackHeight / 2); 58 matrix.postTranslate(hackWidth / 2, hackHeight / 2); 59 maker.fCanvas->concat(matrix);
|
H A D | SkDrawExtraPathEffect.cpp | 52 SkDrawMatrix* matrix; member in class:SkDrawShape2DPathEffect 119 SkDrawMatrix* matrix; local 121 matrix = (SkDrawMatrix*) fDraw->addMatrix; 127 matrix = (SkDrawMatrix*) apply->getScope(); 129 if (matrix) { 130 m = matrix->getMatrix(); 169 SK_MEMBER(addMatrix, Drawable), // either matrix or apply 228 const SkMatrix& matrix) : Sk2DPathEffect(matrix), fDraw(draw), fMaker(maker) { 263 if (fDraw->matrix) { 227 SkShape2DPathEffect(SkDrawShape2DPathEffect* draw, SkAnimateMaker* maker, const SkMatrix& matrix) argument 264 SkDrawMatrix* matrix; local [all...] |
/external/skia/src/gpu/ |
H A D | GrPathRenderer.h | 143 static bool IsStrokeHairlineOrEquivalent(const SkStrokeRec& stroke, const SkMatrix& matrix, argument 152 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); 197 const SkMatrix& matrix, 203 const SkMatrix& matrix, 205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds); 201 GetPathDevBounds(const SkPath& path, const GrSurface* device, const SkMatrix& matrix, SkRect* bounds) argument
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | PlanarYUVLuminanceSource.java | 85 byte[] matrix = new byte[area]; 90 System.arraycopy(yuvData, inputOffset, matrix, 0, area); 91 return matrix; 98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width); 101 return matrix;
|
/external/chromium_org/third_party/skia/include/pdf/ |
H A D | SkPDFDevice.h | 95 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 104 const SkPath& path, const SkMatrix* matrix, 281 const SkMatrix& matrix, 290 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix, 304 void internalDrawBitmap(const SkMatrix& matrix, 321 bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, 324 const SkMatrix& matrix, const SkPaint& paint); 325 SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix); 327 const SkMatrix& matrix); 329 const SkMatrix& matrix); [all...] |
/external/skia/include/pdf/ |
H A D | SkPDFDevice.h | 95 const SkMatrix& matrix, const SkPaint&) SK_OVERRIDE; 104 const SkPath& path, const SkMatrix* matrix, 274 const SkMatrix& matrix, 283 void populateGraphicStateEntryFromPaint(const SkMatrix& matrix, 297 void internalDrawBitmap(const SkMatrix& matrix, 314 bool handleRectAnnotation(const SkRect& r, const SkMatrix& matrix, 317 const SkMatrix& matrix, const SkPaint& paint); 318 SkPDFDict* createLinkAnnotation(const SkRect& r, const SkMatrix& matrix); 320 const SkMatrix& matrix); 322 const SkMatrix& matrix); [all...] |
/external/chromium_org/mojo/services/public/cpp/geometry/lib/ |
H A D | geometry_type_converters.cc | 94 input.matrix().asRowMajorf(&storage[0]); 95 mojo::Array<float> matrix; local 96 matrix.Swap(&storage); 98 transform->matrix = matrix.Pass(); 108 transform.matrix().setRowMajorf(&input->matrix.storage()[0]);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | RoundRectTest.cpp | 385 // Called for a matrix that should cause SkRRect::transform to fail. 387 const SkMatrix& matrix) { 395 bool success = orig.transform(matrix, &dst); 420 // The identity matrix will duplicate the rrect. 426 SkMatrix matrix; local 427 matrix.reset(); 428 matrix.setSkewX(SkIntToScalar(2)); 429 assert_transform_failure(reporter, orig, matrix); 431 matrix.reset(); 432 matrix 386 assert_transform_failure(skiatest::Reporter* reporter, const SkRRect& orig, const SkMatrix& matrix) argument [all...] |
/external/skia/tests/ |
H A D | RoundRectTest.cpp | 385 // Called for a matrix that should cause SkRRect::transform to fail. 387 const SkMatrix& matrix) { 395 bool success = orig.transform(matrix, &dst); 420 // The identity matrix will duplicate the rrect. 426 SkMatrix matrix; local 427 matrix.reset(); 428 matrix.setSkewX(SkIntToScalar(2)); 429 assert_transform_failure(reporter, orig, matrix); 431 matrix.reset(); 432 matrix 386 assert_transform_failure(skiatest::Reporter* reporter, const SkRRect& orig, const SkMatrix& matrix) argument [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
H A D | SelfAdjointEigenSolver.h | 32 * \tparam _MatrixType the type of the matrix of which we are computing the 36 * A matrix \f$ A \f$ is selfadjoint if it equals its adjoint. For real 37 * matrices, this means that the matrix is symmetric: it equals its 39 * selfadjoint matrix. These are the scalars \f$ \lambda \f$ and vectors 41 * selfadjoint matrix are always real. If \f$ D \f$ is a diagonal matrix with 42 * the eigenvalues on the diagonal, and \f$ V \f$ is a matrix with the 44 * matrices, the matrix \f$ V \f$ is always invertible). This is called the 47 * The algorithm exploits the fact that the matrix is selfadjoint, making it 51 * Only the \b lower \b triangular \b part of the input matrix i 153 SelfAdjointEigenSolver(const MatrixType& matrix, int options = ComputeEigenvectors) argument 324 SelfAdjointEigenSolver(const MatrixType& matrix, bool computeEigenvectors) argument 342 compute(const MatrixType& matrix, bool computeEigenvectors) argument 385 compute(const MatrixType& matrix, int options) argument 732 computeDirect(const MatrixType& matrix, int options) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgramDataManager.cpp | 202 void GrGLProgramDataManager::setMatrix3f(UniformHandle u, const GrGLfloat matrix[]) const { 209 GR_GL_CALL(fGpu->glInterface(), UniformMatrix3fv(uni.fFSLocation, 1, false, matrix)); 212 GR_GL_CALL(fGpu->glInterface(), UniformMatrix3fv(uni.fVSLocation, 1, false, matrix)); 216 void GrGLProgramDataManager::setMatrix4f(UniformHandle u, const GrGLfloat matrix[]) const { 222 GR_GL_CALL(fGpu->glInterface(), UniformMatrix4fv(uni.fFSLocation, 1, false, matrix)); 225 GR_GL_CALL(fGpu->glInterface(), UniformMatrix4fv(uni.fVSLocation, 1, false, matrix)); 265 void GrGLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const { 267 matrix.get(SkMatrix::kMScaleX), 268 matrix.get(SkMatrix::kMSkewY), 269 matrix [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
H A D | GrBicubicEffect.cpp | 141 const SkMatrix &matrix, 143 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 150 const SkMatrix &matrix, 152 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode, 195 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, argument 197 if (matrix.isIdentity()) { 203 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 209 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 211 if (matrix.rectStaysRect() && SkScalarIsInt(matrix 139 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkShader::TileMode tileModes[2]) argument 148 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain) argument [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkProxyCanvas.cpp | 42 void SkProxyCanvas::didConcat(const SkMatrix& matrix) { argument 43 fProxy->concat(matrix); 44 this->INHERITED::didConcat(matrix); 47 void SkProxyCanvas::didSetMatrix(const SkMatrix& matrix) { argument 48 fProxy->setMatrix(matrix); 49 this->INHERITED::didSetMatrix(matrix); 135 const SkMatrix* matrix, const SkPaint& paint) { 136 fProxy->drawTextOnPath(text, byteLength, path, matrix, paint); 144 void SkProxyCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, argument 146 fProxy->drawPicture(picture, matrix, pain 134 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument [all...] |
/external/eigen/Eigen/src/SparseCore/ |
H A D | SparsePermutation.h | 48 permut_sparsematrix_product_retval(const PermutationType& perm, const MatrixType& matrix) argument 49 : m_permutation(perm), m_matrix(matrix) 108 /** \returns the matrix with the permutation applied to the columns 112 operator*(const SparseMatrixBase<SparseDerived>& matrix, const PermutationBase<PermDerived>& perm) argument 114 return internal::permut_sparsematrix_product_retval<PermutationBase<PermDerived>, SparseDerived, OnTheRight, false>(perm, matrix.derived()); 117 /** \returns the matrix with the permutation applied to the rows 121 operator*( const PermutationBase<PermDerived>& perm, const SparseMatrixBase<SparseDerived>& matrix) argument 123 return internal::permut_sparsematrix_product_retval<PermutationBase<PermDerived>, SparseDerived, OnTheLeft, false>(perm, matrix.derived()); 128 /** \returns the matrix with the inverse permutation applied to the columns. 132 operator*(const SparseMatrixBase<SparseDerived>& matrix, cons argument 141 operator *(const Transpose<PermutationBase<PermDerived> >& tperm, const SparseMatrixBase<SparseDerived>& matrix) argument [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | MovieHeaderBox.java | 42 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:MovieHeaderBox 84 return matrix; 121 matrix = new long[9]; 123 matrix[i] = IsoTypeReader.readUInt32(content); 151 for (int i = 0; i < matrix.length; i++) { 153 result.append("matrix").append(i).append("=").append(matrix[i]); 184 IsoTypeWriter.writeUInt32(byteBuffer, matrix[i]); 223 public void setMatrix(long[] matrix) { argument 224 this.matrix [all...] |
H A D | TrackHeaderBox.java | 46 private long[] matrix = new long[]{0x00010000, 0, 0, 0, 0x00010000, 0, 0, 0, 0x40000000}; field in class:TrackHeaderBox 85 return matrix; 129 matrix = new long[9]; 131 matrix[i] = IsoTypeReader.readUInt32(content); 159 IsoTypeWriter.writeUInt32(byteBuffer, matrix[i]); 181 for (int i = 0; i < matrix.length; i++) { 183 result.append("matrix").append(i).append("=").append(matrix[i]); 221 public void setMatrix(long[] matrix) { argument 222 this.matrix [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrBicubicEffect.cpp | 130 const SkMatrix &matrix, 132 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) 139 const SkMatrix &matrix, 141 : INHERITED(texture, matrix, GrTextureParams(SkShader::kClamp_TileMode, 183 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, argument 185 if (matrix.isIdentity()) { 191 if (!matrix.getMinMaxScales(scales) || scales[0] < SK_Scalar1) { 197 // At this point if scales[1] == SK_Scalar1 then the matrix doesn't do any scaling. 199 if (matrix.rectStaysRect() && SkScalarIsInt(matrix 128 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkShader::TileMode tileModes[2]) argument 137 GrBicubicEffect(GrTexture* texture, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain) argument [all...] |