HomeSort by relevance Sort by last modified time
    Searched refs:matrix (Results 1 - 25 of 1195) 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/ceres-solver/internal/ceres/
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.mutable_cols()
    [all...]
partitioned_matrix_view.cc 52 const BlockSparseMatrix& matrix) {
58 matrix, options.elimination_groups[0]);
64 matrix, options.elimination_groups[0]);
70 matrix, options.elimination_groups[0]);
76 matrix, options.elimination_groups[0]);
82 matrix, options.elimination_groups[0]);
88 matrix, options.elimination_groups[0]);
94 matrix, options.elimination_groups[0]);
100 matrix, options.elimination_groups[0]);
106 matrix, options.elimination_groups[0])
    [all...]
  /external/pdfium/xfa/src/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 79 void CBC_QRCoderMatrixUtil::ClearMatrix(CBC_CommonByteMatrix* matrix,
81 if (matrix == NULL) {
85 matrix->clear((uint8_t)-1);
92 CBC_CommonByteMatrix* matrix,
94 if (matrix == NULL) {
98 ClearMatrix(matrix, e);
100 EmbedBasicPatterns(version, matrix, e);
102 EmbedTypeInfo(ecLevel, maskPattern, matrix, e);
104 MaybeEmbedVersionInfo(version, matrix, e);
106 EmbedDataBits(dataBits, maskPattern, matrix, e);
    [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/opencv3/3rdparty/libjasper/
jas_seq.c 65 * Sequence/Matrix Library
88 jas_matrix_t *matrix; local
90 if (!(matrix = jas_matrix_create(yend - ystart, xend - xstart))) {
93 matrix->xstart_ = xstart;
94 matrix->ystart_ = ystart;
95 matrix->xend_ = xend;
96 matrix->yend_ = yend;
97 return matrix;
102 jas_matrix_t *matrix; local
105 if (!(matrix = jas_malloc(sizeof(jas_matrix_t))))
382 jas_matrix_t *matrix; local
    [all...]
  /external/skia/experimental/fiddle/
draw.cpp 20 SkMatrix matrix; local
21 matrix.setScale(0.75f, 0.75f);
22 matrix.preRotate(30.0f);
26 &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/opencv3/3rdparty/libjasper/jasper/
jas_seq.h 65 * Sequence/Matrix Library
90 /* This matrix is a reference to another matrix. */
100 /* An element in a matrix. */
103 /* Matrix. */
122 /* The number of rows in the matrix. */
125 /* The number of columns in the matrix. */
134 /* The matrix data buffer. */
146 * Functions/macros for matrix class.
150 #define jas_matrix_numrows(matrix) \
    [all...]
  /external/skia/src/gpu/effects/
GrSimpleTextureEffect.h 19 * by a matrix.
25 const SkMatrix& matrix,
27 return new GrSimpleTextureEffect(tex, matrix, GrTextureParams::kNone_FilterMode, coordSet);
32 const SkMatrix& matrix,
35 return new GrSimpleTextureEffect(tex, matrix, filterMode, coordSet);
39 const SkMatrix& matrix,
42 return new GrSimpleTextureEffect(tex, matrix, p, coordSet);
51 const SkMatrix& matrix,
54 : GrSingleTextureEffect(texture, matrix, filterMode, coordSet) {
59 const SkMatrix& matrix,
    [all...]
  /external/skia/tests/
ColorFilterTest.cpp 155 static void get_brightness_matrix(float amount, float matrix[20]) {
159 memset(matrix, 0, 20 * sizeof(SkScalar));
160 matrix[0] = matrix[6] = matrix[12] = amount;
161 matrix[18] = 1.f;
164 static void get_grayscale_matrix(float amount, float matrix[20]) {
167 matrix[0] = 0.2126f + 0.7874f * amount;
168 matrix[1] = 0.7152f - 0.7152f * amount;
169 matrix[2] = 1.f - (matrix[0] + matrix[1])
187 SkScalar matrix[20]; local
192 SkScalar matrix[20]; local
    [all...]
  /external/eigen/Eigen/src/LU/
Inverse.h 24 static inline void run(const MatrixType& matrix, ResultType& result)
26 result = matrix.partialPivLu().inverse();
40 static inline void run(const MatrixType& matrix, ResultType& result)
43 result.coeffRef(0,0) = Scalar(1) / matrix.coeff(0,0);
51 const MatrixType& matrix,
59 determinant = matrix.coeff(0,0);
71 const MatrixType& matrix, const typename ResultType::Scalar& invdet,
74 result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
75 result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
76 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...]
  /frameworks/base/graphics/java/android/graphics/
ColorMatrixColorFilter.java 20 * A color filter that transforms colors through a 4x5 color matrix. This filter
29 * Create a color filter that transforms colors through a 4x5 color matrix.
31 * @param matrix 4x5 matrix used to transform colors. It is copied into
32 * the filter, so changes made to the matrix after the filter
35 public ColorMatrixColorFilter(ColorMatrix matrix) {
36 mMatrix.set(matrix);
41 * Create a color filter that transforms colors through a 4x5 color matrix.
44 * matrix. The first 20 entries of the array are copied into
57 * value is never null. Modifying the returned matrix does not hav
    [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/skia/src/effects/
SkColorMatrixFilter.cpp 24 SkColorMatrix matrix; local
25 matrix.setScale(byte_to_scale(SkColorGetR(mul)),
29 matrix.postTranslate(SkIntToScalar(SkColorGetR(add)),
33 return SkColorMatrixFilter::Create(matrix);
  /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...]
  /packages/apps/Camera2/tests_camera/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 16 static void set_color_matrix(SkPaint* paint, const SkColorMatrix& matrix) {
17 paint->setColorFilter(SkColorMatrixFilter::Create(matrix))->unref();
78 SkColorMatrix matrix; variable
84 matrix.setIdentity();
85 set_color_matrix(&paint, matrix);
88 matrix.setRotate(SkColorMatrix::kR_Axis, 90);
89 set_color_matrix(&paint, matrix);
92 matrix.setRotate(SkColorMatrix::kG_Axis, 90);
93 set_color_matrix(&paint, matrix);
96 matrix.setRotate(SkColorMatrix::kB_Axis, 90)
    [all...]
  /external/skia/bench/
ImageFilterCollapse.cpp 17 // Chains several matrix color filters image filter or several
116 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local
120 return SkColorMatrixFilter::Create(matrix);
124 SkScalar matrix[20]; local
125 memset(matrix, 0, 20 * sizeof(SkScalar));
126 matrix[0] = matrix[5] = matrix[10] = 0.2126f;
127 matrix[1] = matrix[6] = matrix[11] = 0.7152f
    [all...]
  /external/skia/experimental/
SkSetPoly3To3_D.cpp 11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
26 static void computeOuterProduct(SkMatrix* matrix,
42 matrix->reset();
43 matrix->setScaleX(SkDScalar_toScalar(tmp[0]));
44 matrix->setSkewY( SkDScalar_toScalar(tmp[1]));
45 matrix->setSkewX( SkDScalar_toScalar(tmp[2]));
46 matrix->setScaleY(SkDScalar_toScalar(tmp[3]));
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
68 matrix->setConcat(dstOP, srcOP);
69 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...]

Completed in 922 milliseconds

1 2 3 4 5 6 7 8 91011>>