Home
last modified time | relevance | path

Searched refs:rs_matrix4x4 (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/rs/
DrsRuntime.h160 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v);
161 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col);
166 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m);
169 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v);
172 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v);
173 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v);
174 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v);
177 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
178 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z);
179 void rsrMatrixLoadTranslate(rs_matrix4x4 *m, float x, float y, float z);
[all …]
DrsMatrix4x4.h27 struct Matrix4x4 : public rs_matrix4x4 {
38 void load(const rs_matrix4x4 *);
45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs);
60 void multiply(const rs_matrix4x4 *rhs) { in multiply()
/frameworks/rs/scriptc/
Drs_matrix.rsh37 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v);
59 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col);
76 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix4x4 *m);
91 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const float *v);
103 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *v);
107 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v);
114 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v);
134 rsMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
145 rsMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z);
156 rsMatrixLoadTranslate(rs_matrix4x4 *m, float x, float y, float z);
[all …]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
Drs_matrix.c17 rsMatrixLoadIdentity(rs_matrix4x4 *m) { in rsMatrixLoadIdentity()
57 rsMatrixLoad(rs_matrix4x4 *m, const float *f) { in rsMatrixLoad()
96 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *s) { in rsMatrixLoad()
115 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v) { in rsMatrixLoad()
134 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v) { in rsMatrixLoad()
174 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { in rsMatrixSet()
179 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { in rsMatrixGet()
216 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply()
217 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply()
221 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply()
[all …]
Dmatrix.ll5 %struct.rs_matrix4x4 = type { [16 x float] }
76 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <…
86 %px = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0
89 %py = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4
92 %pz = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8
95 %pw = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 12
109 define <4 x float> @_Z16rsMatrixMultiplyP12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <4…
110 …%r = tail call <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapt…
114 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv3_f(%struct.rs_matrix4x4* nocapture %m, <…
122 %px = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
Dshader_def.rsh20 rs_matrix4x4 model;
21 rs_matrix4x4 proj;
34 rs_matrix4x4 model[2];
35 rs_matrix4x4 proj;
43 rs_matrix4x4 model;
44 rs_matrix4x4 proj;
Drsrenderstates.rs155 rs_matrix4x4 proj;
162 rs_matrix4x4 matrix;
213 rs_matrix4x4 matrix;
258 rs_matrix4x4 matrix;
278 rs_matrix4x4 matrix;
335 rs_matrix4x4 proj;
352 rs_matrix4x4 matrix;
393 rs_matrix4x4 l0Mat;
396 rs_matrix4x4 l1Mat;
550 rs_matrix4x4 matrix;
[all …]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dtransform.rs25 rs_matrix4x4 *mat;
28 static void appendTransformation(int type, float4 data, rs_matrix4x4 *mat) {
29 rs_matrix4x4 temp;
53 rs_matrix4x4 *localMat = &data->localMat;
54 rs_matrix4x4 *globalMat = &data->globalMat;
Dtransform_def.rsh25 rs_matrix4x4 globalMat;
26 rs_matrix4x4 localMat;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Dparams.rsh128 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat);
131 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->view);
134 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->proj);
137 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->viewProj);
140 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat);
143 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->view);
144 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr,
145 (rs_matrix4x4*)dataPtr,
149 rsMatrixLoad((rs_matrix4x4*)dataPtr, &currentCam->viewProj);
150 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr,
[all …]
Dtransform.rs25 rs_matrix4x4 *mat;
57 static void appendTransformation(int type, float4 data, rs_matrix4x4 *mat) {
58 rs_matrix4x4 temp;
83 rs_matrix4x4 *localMat = &data->localMat;
84 rs_matrix4x4 *globalMat = &data->globalMat;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dshader_def.rsh20 rs_matrix4x4 model;
21 rs_matrix4x4 proj;
34 rs_matrix4x4 model;
35 rs_matrix4x4 proj;
Dtorus_test.rs64 static void updateModelMatrix(rs_matrix4x4 *matrix, void *buffer) {
72 static void drawToruses(int numMeshes, rs_matrix4x4 *matrix, void *buffer) {
117 rs_matrix4x4 proj;
139 rs_matrix4x4 matrix;
163 rs_matrix4x4 l0Mat;
166 rs_matrix4x4 l1Mat;
Dui_test.rs58 rs_matrix4x4 Proj; field
59 rs_matrix4x4 MVP;
109 rs_matrix4x4 proj;
220 rs_matrix4x4 matrix;
268 rs_matrix4x4 matrix;
279 rs_matrix4x4 transMatrix;
310 rs_matrix4x4 matrix;
318 rs_matrix4x4 transMatrix;
Dmesh_test.rs52 rs_matrix4x4 proj;
60 rs_matrix4x4 matrix;
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dshader2v.glsl2 rs_matrix4x4 model;
3 rs_matrix4x4 viewProj;
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs148 rs_matrix4x4 proj;
157 rs_matrix4x4 matrix;
173 rs_matrix4x4 proj, matrix;
199 rs_matrix4x4 proj;
208 rs_matrix4x4 matrix;
Dfbosync.rs149 rs_matrix4x4 proj;
158 rs_matrix4x4 matrix;
174 rs_matrix4x4 proj, matrix;
211 rs_matrix4x4 proj;
220 rs_matrix4x4 matrix;
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Drstypes.rs10 rs_matrix4x4 matrix4x4Test;
22 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Drstypes.rs16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Drstypes.rs16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Drstypes.rs16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dcolormatrix.fs19 static rs_matrix4x4 Mat;
25 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dcolormatrix.fs19 static rs_matrix4x4 Mat;
25 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dcolormatrix.fs19 static rs_matrix4x4 Mat;
25 void setMatrix(rs_matrix4x4 m) {

12