HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 1 - 25 of 1232) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/deps/webgl_mpd/src/resources/
J3DIMath.js 31 J3DIMatrix4 - A 4x4 Matrix
37 This class implements a 4x4 matrix. It has functions which duplicate the
38 functionality of the OpenGL matrix stack and glut functions. On browsers
44 Constructor(in J3DIMatrix4 matrix), // copy passed matrix into new J3DIMatrix4
46 Constructor() // create new J3DIMatrix4 with identity matrix
49 void load(in J3DIMatrix4 matrix); // copy the values from the passed matrix
50 void load(in sequence<float> array); // copy 16 floats into the matrix
51 sequence<float> getAsArray(); // return the matrix as an array of 16 float
    [all...]
  /external/skia/src/gpu/glsl/
GrGLSLProgramDataManager.cpp 13 void GrGLSLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const {
15 matrix.get(SkMatrix::kMScaleX),
16 matrix.get(SkMatrix::kMSkewY),
17 matrix.get(SkMatrix::kMPersp0),
18 matrix.get(SkMatrix::kMSkewX),
19 matrix.get(SkMatrix::kMScaleY),
20 matrix.get(SkMatrix::kMPersp1),
21 matrix.get(SkMatrix::kMTransX),
22 matrix.get(SkMatrix::kMTransY),
23 matrix.get(SkMatrix::kMPersp2)
    [all...]
  /external/pdfium/xfa/fxbarcode/qrcode/
BC_QRCoderMaskUtil.h 19 static int32_t ApplyMaskPenaltyRule1(CBC_CommonByteMatrix* matrix);
20 static int32_t ApplyMaskPenaltyRule2(CBC_CommonByteMatrix* matrix);
21 static int32_t ApplyMaskPenaltyRule3(CBC_CommonByteMatrix* matrix);
22 static int32_t ApplyMaskPenaltyRule4(CBC_CommonByteMatrix* matrix);
23 static int32_t ApplyMaskPenaltyRule1Internal(CBC_CommonByteMatrix* matrix,
BC_QRCoderMatrixUtil.cpp 78 void CBC_QRCoderMatrixUtil::ClearMatrix(CBC_CommonByteMatrix* matrix,
80 if (!matrix) {
84 matrix->clear((uint8_t)-1);
91 CBC_CommonByteMatrix* matrix,
93 if (!matrix) {
97 ClearMatrix(matrix, e);
100 EmbedBasicPatterns(version, matrix, e);
103 EmbedTypeInfo(ecLevel, maskPattern, matrix, e);
106 MaybeEmbedVersionInfo(version, matrix, e);
109 EmbedDataBits(dataBits, maskPattern, matrix, e)
    [all...]
BC_QRCoderMatrixUtil.h 28 static void ClearMatrix(CBC_CommonByteMatrix* matrix, int32_t& e);
33 CBC_CommonByteMatrix* matrix,
36 CBC_CommonByteMatrix* matrix,
40 CBC_CommonByteMatrix* matrix,
44 CBC_CommonByteMatrix* matrix,
47 CBC_CommonByteMatrix* matrix,
60 static void EmbedTimingPatterns(CBC_CommonByteMatrix* matrix, int32_t& e);
61 static void EmbedDarkDotAtLeftBottomCorner(CBC_CommonByteMatrix* matrix,
65 CBC_CommonByteMatrix* matrix,
69 CBC_CommonByteMatrix* matrix,
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
arc.h 33 struct matrix;
64 struct matrix *matrix);
69 struct matrix *matrix);
73 struct matrix *matrix);
77 struct matrix *matrix);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowColorMatrixColorFilter.java 11 private ColorMatrix matrix; field in class:ShadowColorMatrixColorFilter
14 public void __constructor__(ColorMatrix matrix) {
15 this.matrix = matrix;
20 this.matrix = new ColorMatrix(array);
25 return "ColorMatrixColorFilter<" + matrix + ">";
  /external/skia/tools/fiddle/
draw.cpp 20 SkMatrix matrix; local
21 matrix.setScale(0.75f, 0.75f);
22 matrix.preRotate(30.0f);
26 &matrix));
  /external/libtextclassifier/common/
embedding-network-params.h 45 // Simple representation of a matrix. This small struct that doesn't own any
47 struct Matrix {
56 // Pointer to matrix elements, in row-major order
74 // Returns embedding matrix for the i-th embedding space.
78 Matrix GetEmbeddingMatrix(int i) const {
80 Matrix matrix; local
81 matrix.rows = embeddings_num_rows(i);
82 matrix.cols = embeddings_num_cols(i);
83 matrix.elements = embeddings_weights(i)
114 Matrix matrix; local
131 Matrix matrix; local
156 Matrix matrix; local
173 Matrix matrix; local
    [all...]
  /external/pdfium/xfa/fxgraphics/
cfx_pattern.cpp 12 CFX_Matrix* matrix)
14 if (matrix)
15 m_matrix = *matrix;
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
RectUtils.java 19 import android.graphics.Matrix;
39 final Matrix matrix = new Matrix(); local
42 matrix.setRotate(-orientation);
45 matrix.mapRect(fullRectF);
46 matrix.mapRect(partialRectF);
48 matrix.reset();
49 matrix.setTranslate(-fullRectF.left, -fullRectF.top);
50 matrix.mapRect(fullRectF)
61 final Matrix matrix = new Matrix(); local
    [all...]
  /external/skia/tests/
ColorFilterTest.cpp 153 static void get_brightness_matrix(float amount, float matrix[20]) {
157 memset(matrix, 0, 20 * sizeof(SkScalar));
158 matrix[0] = matrix[6] = matrix[12] = amount;
159 matrix[18] = 1.f;
162 static void get_grayscale_matrix(float amount, float matrix[20]) {
165 matrix[0] = 0.2126f + 0.7874f * amount;
166 matrix[1] = 0.7152f - 0.7152f * amount;
167 matrix[2] = 1.f - (matrix[0] + matrix[1])
185 SkScalar matrix[20]; local
190 SkScalar matrix[20]; local
    [all...]
  /external/eigen/Eigen/src/LU/
InverseImpl.h 26 static inline void run(const MatrixType& matrix, ResultType& result)
28 result = matrix.partialPivLu().inverse();
43 static inline void run(const MatrixType& matrix, ResultType& result)
46 internal::evaluator<MatrixType> matrixEval(matrix);
56 const MatrixType& matrix,
64 determinant = matrix.coeff(0,0);
77 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
80 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
81 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
82 result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet
    [all...]
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.coeff(k,0) * matrix.coeff(j,1)
    [all...]
  /external/opencv/cxcore/include/
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(0
348 CvMat* matrix; member in class:CvMatrix
    [all...]
  /external/pdfium/core/fpdfapi/page/
cpdf_imageobject.h 24 void Transform(const CFX_Matrix& matrix) override;
34 void set_matrix(const CFX_Matrix& matrix) { m_Matrix = matrix; }
35 const CFX_Matrix& matrix() const { return m_Matrix; } function in class:CPDF_ImageObject
  /external/skia/src/effects/
SkColorMatrixFilter.cpp 26 SkColorMatrix matrix; local
27 matrix.setScale(byte_to_scale(SkColorGetR(mul)),
31 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)),
35 return SkColorFilter::MakeMatrixFilterRowMajor255(matrix.fMat);
  /packages/apps/Camera2/tests/src/com/android/camera/unittest/
CameraUnitTest.java 21 import android.graphics.Matrix;
29 Matrix matrix = new Matrix(); local
33 CameraUtil.prepareMatrix(matrix, false, 0, 800, 480);
36 matrix.mapPoints(points);
39 CameraUtil.prepareMatrix(matrix, false, 90, 800, 480);
42 matrix.mapPoints(points);
45 CameraUtil.prepareMatrix(matrix, false, 180, 800, 480);
48 matrix.mapPoints(points)
    [all...]
  /external/skia/gm/
colormatrix.cpp 17 static void set_color_matrix(SkPaint* paint, const SkColorMatrix& matrix) {
18 paint->setColorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(matrix.fMat));
79 SkColorMatrix matrix; variable
85 matrix.setIdentity();
86 set_color_matrix(&paint, matrix);
89 matrix.setRotate(SkColorMatrix::kR_Axis, 90);
90 set_color_matrix(&paint, matrix);
93 matrix.setRotate(SkColorMatrix::kG_Axis, 90);
94 set_color_matrix(&paint, matrix);
97 matrix.setRotate(SkColorMatrix::kB_Axis, 90)
    [all...]
fadefilter.cpp 14 SkScalar matrix[20] = { 1, 0, 0, 0, 128.0f, local
18 sk_sp<SkColorFilter> colorFilter(SkColorFilter::MakeMatrixFilterRowMajor255(matrix));
  /external/skia/bench/
ImageFilterCollapse.cpp 17 // Chains several matrix color filters image filter or several
102 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
106 return SkColorFilter::MakeMatrixFilterRowMajor255(matrix);
110 SkScalar matrix[20]; local
111 memset(matrix, 0, 20 * sizeof(SkScalar));
112 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
113 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /external/skia/experimental/
SkSetPoly3To3_D.cpp 12 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
27 static void computeOuterProduct(SkMatrix* matrix,
43 matrix->reset();
44 matrix->setScaleX(SkDScalar_toScalar(tmp[0]));
45 matrix->setSkewY( SkDScalar_toScalar(tmp[1]));
46 matrix->setSkewX( SkDScalar_toScalar(tmp[2]));
47 matrix->setScaleY(SkDScalar_toScalar(tmp[3]));
55 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
69 matrix->setConcat(dstOP, srcOP);
70 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Transform3dActivity.java 25 import android.graphics.Matrix;
41 private Matrix mMatrix;
48 mMatrix = new Matrix();
61 final Matrix matrix = mMatrix; local
63 rotate(centerX, centerY, camera, matrix, 32.0f);
64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix);
66 rotate(centerX, centerY, camera, matrix, 12.0f);
67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix);
69 rotate(centerX, centerY, camera, matrix, 52.0f)
    [all...]
  /external/skia/src/core/
SkRecords.cpp 20 TypedMatrix::TypedMatrix(const SkMatrix& matrix) : SkMatrix(matrix) {
  /external/skia/src/gpu/
GrPathRenderer.cpp 15 const SkMatrix& matrix,
22 matrix.mapRect(bounds);

Completed in 1039 milliseconds

1 2 3 4 5 6 7 8 91011>>