Home
last modified time | relevance | path

Searched refs:matrices (Results 1 – 25 of 253) sorted by relevance

1234567891011

/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c50 struct matrices { struct
97 static void matrix_mult(struct matrices *matrices) in matrix_mult() argument
101 matrix_init(matrices->A, matrices->B); in matrix_mult()
105 double sum = matrices->A[i_m][j] * matrices->B[j][i]; in matrix_mult()
107 sum += matrices->A[i_m][k] * matrices->B[k][j]; in matrix_mult()
108 matrices->C[i][j] = sum; in matrix_mult()
113 static void matrix_mult_record(struct matrices *matrices, int index) in matrix_mult_record() argument
120 matrix_mult(matrices); in matrix_mult_record()
152 struct matrices *matrices = (struct matrices *) t->arg; in concurrent_thread() local
167 matrix_mult_record(matrices, index++); in concurrent_thread()
[all …]
/third_party/skia/gm/
Ddrawimageset.cpp117 SkMatrix matrices[4]; in onDraw() local
119 matrices[0].setRotate(30); in onDraw()
120 matrices[0].postTranslate(d / 3, 0); in onDraw()
128 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw()
129 matrices[1].postTranslate(d, 50.f); in onDraw()
131 matrices[2].setRotate(-60.f); in onDraw()
132 matrices[2].postSkew(0.5f, -1.15f); in onDraw()
133 matrices[2].postScale(0.6f, 1.05f); in onDraw()
134 matrices[2].postTranslate(d, 2.6f * d); in onDraw()
140 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw()
[all …]
Dperspimages.cpp46 SkTDArray<SkMatrix> matrices; in onDraw() local
47 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw()
50 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw()
53 matrices[1].preSkew(0.2f, -0.1f); in onDraw()
54 matrices[1].preRotate(-65.f); in onDraw()
55 matrices[1].preScale(1.2f, .8f); in onDraw()
56 matrices[1].postTranslate(0.f, 60.f); in onDraw()
62 for (const auto& m : matrices) { in onDraw()
77 for (const auto& m : matrices) { in onDraw()
Dcirculararcs.cpp279 SkTArray<SkMatrix> matrices; variable
280 matrices.push_back().setRotate(kRadius, kRadius, 45.f);
281 matrices.push_back(SkMatrix::I());
282 matrices.push_back().setAll(-1, 0, 2*kRadius,
285 matrices.push_back().setAll( 1, 0, 0,
288 matrices.push_back().setAll( 1, 0, 0,
291 matrices.push_back().setAll( 0, -1, 2*kRadius,
294 matrices.push_back().setAll( 0, -1, 2*kRadius,
297 matrices.push_back().setAll( 0, 1, 0,
300 matrices.push_back().setAll( 0, 1, 0,
[all …]
Dblurrect.cpp516 std::vector<SkMatrix> matrices; local
518 matrices.push_back(SkMatrix::RotateDeg(4.f, c));
520 matrices.push_back(SkMatrix::RotateDeg(63.f, c));
522 matrices.push_back(SkMatrix::RotateDeg(30.f, c));
523 matrices.back().preScale(1.1f, .5f);
525 matrices.push_back(SkMatrix::RotateDeg(147.f, c));
526 matrices.back().preScale(3.f, .1f);
532 matrices.push_back(SkMatrix::Concat(mirror, matrices.back()));
534 matrices.push_back(SkMatrix::RotateDeg(197.f, c));
535 matrices.back().preSkew(.3f, -.5f);
[all …]
Dvertices.cpp228 SkTDArray<SkMatrix> matrices; in draw_batching() local
229 matrices.push()->reset(); in draw_batching()
230 matrices.push()->setTranslate(0, 40); in draw_batching()
231 matrices.push() in draw_batching()
250 for (const auto& m : matrices) { in draw_batching()
Dbleed.cpp225 std::vector<SkMatrix> matrices; in onDraw() local
227 matrices.push_back(SkMatrix::I()); in onDraw()
235 matrices.push_back(m); in onDraw()
239 matrices.back().mapPoints(corners, 4); in onDraw()
243 matrices.push_back(m); in onDraw()
253 for (const SkMatrix& matrix : matrices) { in onDraw()
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_matrix_palette.txt40 This extension allow OpenGL ES to support a palette of matrices. The matrix
41 palette defines a set of matrices that can be used to transform a vertex.
45 The n vertex units use a palette of m modelview matrices (where n and m are
51 vertex by the modelview matrices specified by the vertices'
101 No, the MODELVIEW_MATRIXn matrices are unused when
105 Should there be a way to specify that the modelview matrices
170 matrix indices used to blend corresponding matrices for a given vertex.
194 matrix palette, the matrices specified by the indices per vertex
228 "The projection matrix and model-view matrices are set
243 defines which of the palette's matrices is affected by
[all …]
/third_party/openGLES/extensions/OES/
DOES_matrix_palette.txt50 This extension allow OpenGL ES to support a palette of matrices. The matrix
51 palette defines a set of matrices that can be used to transform a vertex.
55 The n vertex units use a palette of m modelview matrices (where n and m are
61 vertex by the modelview matrices specified by the vertices'
111 No, the MODELVIEW_MATRIXn matrices are unused when
115 Should there be a way to specify that the modelview matrices
180 matrix indices used to blend corresponding matrices for a given vertex.
204 matrix palette, the matrices specified by the indices per vertex
238 "The projection matrix and model-view matrices are set
253 defines which of the palette's matrices is affected by
[all …]
/third_party/skia/src/gpu/gl/
DGrGLProgramDataManager.h72 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
73 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
74 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
90 const float matrices[]) const;
/third_party/skia/src/gpu/
DGrUniformDataManager.h47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override;
48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override;
49 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override;
70 inline void setMatrices(UniformHandle, int arrayCount, const float matrices[]) const;
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_vertex_weighting.txt45 geometry based on two slightly differing modelview matrices.
51 transformed by both the primary and secondary modelview matrices;
53 inverses of both the primary and secondary modelview matrices.
64 weights and modelview matrices?
67 matrices. If more than two is useful, that can be handled with
77 Should the weights and modelview matrices be labeled 1 & 2 or 0 & 1?
86 LoadMatrix, MultMatrix, etc. the two modelview matrices together?
89 calls to keep the matrices in sync if desired.
99 modelview matrices.
109 What is the "correct" way to blend matrices, particularly when wo is
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_vertex_weighting.txt45 geometry based on two slightly differing modelview matrices.
51 transformed by both the primary and secondary modelview matrices;
53 inverses of both the primary and secondary modelview matrices.
64 weights and modelview matrices?
67 matrices. If more than two is useful, that can be handled with
77 Should the weights and modelview matrices be labeled 1 & 2 or 0 & 1?
86 LoadMatrix, MultMatrix, etc. the two modelview matrices together?
89 calls to keep the matrices in sync if desired.
99 modelview matrices.
109 What is the "correct" way to blend matrices, particularly when wo is
[all …]
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.h52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
54 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
/third_party/skia/samplecode/
DSampleShadowUtils.cpp172 SkTDArray<SkMatrix> matrices; in onDrawContent() local
173 matrices.push()->reset(); in onDrawContent()
174 matrices.push()->setRotate(33.f, 25.f, 25.f).postScale(1.2f, 0.8f, 25.f, 25.f); in onDrawContent()
181 for (auto& m : matrices) { in onDrawContent()
215 for (auto& m : matrices) { in onDrawContent()
/third_party/skia/third_party/externals/spirv-cross/shaders/vulkan/comp/
Dray-query.nocompat.spv14.vk.comp31 mat4x3 matrices;
56 matrices = rayQueryGetIntersectionObjectToWorldEXT(q, false);
57 matrices = rayQueryGetIntersectionWorldToObjectEXT(q2[1], true);
/third_party/skia/src/core/
DSkVMBlitter.h35 const SkMatrixProvider& matrices,
68 const SkMatrixProvider& matrices; member
76 const SkMatrixProvider& matrices,
DSkVMBlitter.cpp100 const SkMatrixProvider& matrices, const SkMatrix* localM, in onProgram()
105 matrices,localM, dst, uniforms,alloc); in onProgram()
222 const SkMatrixProvider& matrices, in EffectiveParams() argument
287 matrices, in EffectiveParams()
315 params.matrices, /*localM=*/nullptr, in BuildProgram()
372 params.matrices, /*localM=*/nullptr, in BuildProgram()
445 *outColor = sb->program(&p, device, /*local=*/device, paint, params.matrices, in CacheKey()
532 const SkMatrixProvider& matrices, in SkVMBlitter() argument
539 , fParams(EffectiveParams(device, sprite, paint, matrices, std::move(clip)))
751 const SkMatrixProvider& matrices, in Make() argument
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/
Drgb_to_nv12.frag31 ColorMatrices matrices;
42 vec3 yuv1 = color_convert_texel (texel.rgb, matrices);
43 vec3 yuv2 = color_convert_texel (uv_texel.rgb, matrices);
Drgb_to_yuy2.frag31 ColorMatrices matrices;
46 vec3 yuv1 = color_convert_texel (texel1.rgb, matrices);
47 vec3 yuv2 = color_convert_texel (texel2.rgb, matrices);
/third_party/skia/src/shaders/
DSkLocalMatrixShader.cpp82 const SkMatrixProvider& matrices, const SkMatrix* localM, in onProgram() argument
90 matrices,lm.get(), dst, in onProgram()
160 const SkMatrixProvider& matrices, const SkMatrix* localM, in onProgram() argument
163 SkOverrideDeviceMatrixProvider matrixProvider(matrices, fCTM); in onProgram()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_vertex_blend.txt45 the modelview matrices of all of the enabled units. Afterward,
50 matrices.
87 What about projective modelview matrices?
89 Projective modelview matrices can cause problems with many
92 projective modelview matrices.
94 Should the set of modelview matrices affect parts of GL other
111 blend of the modelview matrices. As the inverse per-vertex
113 blend of inverse transpose matrices is allowed as the
118 when the blending matrices are pair-wise orthogonal and
382 performed by a set of model-view matrices when vertex
[all …]
DARB_matrix_palette.txt40 a palette of modelview matrices. The n vertex units use a palette
41 of m modelview matrices. (Where n and m are constrained to
48 vertex by the modelview matrices specified by the vertices'
106 No, the MODELVIEW_MATRIXn matrices are unused when
110 Should there be a way to specify that the modelview matrices
176 primitive. Indices are used to select modelview matrices
366 enabled modelview matrices are applied to these coordinates,
403 "The projection matrix and model-view matrices are set
423 defines which of the palette's matrices is affected by
435 stack of at least two 4 x 4 matrices for each of COLOR,
[all …]
/third_party/openGLES/extensions/ARB/
DARB_vertex_blend.txt55 the modelview matrices of all of the enabled units. Afterward,
60 matrices.
97 What about projective modelview matrices?
99 Projective modelview matrices can cause problems with many
102 projective modelview matrices.
104 Should the set of modelview matrices affect parts of GL other
121 blend of the modelview matrices. As the inverse per-vertex
123 blend of inverse transpose matrices is allowed as the
128 when the blending matrices are pair-wise orthogonal and
392 performed by a set of model-view matrices when vertex
[all …]
DARB_matrix_palette.txt50 a palette of modelview matrices. The n vertex units use a palette
51 of m modelview matrices. (Where n and m are constrained to
58 vertex by the modelview matrices specified by the vertices'
116 No, the MODELVIEW_MATRIXn matrices are unused when
120 Should there be a way to specify that the modelview matrices
186 primitive. Indices are used to select modelview matrices
376 enabled modelview matrices are applied to these coordinates,
413 "The projection matrix and model-view matrices are set
433 defines which of the palette's matrices is affected by
445 stack of at least two 4 x 4 matrices for each of COLOR,
[all …]

1234567891011