Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsRuntime.h170 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v);
171 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col);
176 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m);
179 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v);
182 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v);
183 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v);
184 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v);
187 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
188 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z);
189 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()
DrsMatrix4x4.cpp38 rs_matrix4x4 result; in inverse()
80 rs_matrix4x4 result; in inverseTranspose()
157 void Matrix4x4::load(const rs_matrix4x4 *v) { in load()
252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { in loadMultiply()
DRenderScriptDefines.h59 } rs_matrix4x4; typedef
/frameworks/base/libs/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 …]
Drs_graphics.rsh129 rsgProgramVertexLoadProjectionMatrix(const rs_matrix4x4 *proj);
137 rsgProgramVertexLoadModelMatrix(const rs_matrix4x4 *model);
145 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
153 rsgProgramVertexGetProjectionMatrix(rs_matrix4x4 *proj);
Drs_debug.rsh60 rsDebug(const char *, const rs_matrix4x4 *);
Drs_math.rsh102 rsExtractFrustumPlanes(const rs_matrix4x4 *viewProj,
Drs_quaternion.rsh224 static void rsQuaternionGetMatrixUnit(rs_matrix4x4 *m, const rs_quaternion *q) {
Drs_types.rsh341 } rs_matrix4x4;
/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;
Dsimplemodel.rs31 rs_matrix4x4 gPostureMatrix;
142 rs_matrix4x4 proj;
151 rs_matrix4x4 matrix;
Dscenegraph.rs69 rs_matrix4x4 proj;
/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.rs57 static void updateModelMatrix(rs_matrix4x4 *matrix, void *buffer) {
65 static void drawToruses(int numMeshes, rs_matrix4x4 *matrix, void *buffer) {
110 rs_matrix4x4 proj;
132 rs_matrix4x4 matrix;
156 rs_matrix4x4 l0Mat;
159 rs_matrix4x4 l1Mat;
Drsbench.rs65 rs_matrix4x4 Proj; field
66 rs_matrix4x4 MVP;
240 rs_matrix4x4 matrix;
290 rs_matrix4x4 proj;
297 rs_matrix4x4 matrix;
324 rs_matrix4x4 matrix;
363 rs_matrix4x4 matrix;
374 rs_matrix4x4 transMatrix;
405 rs_matrix4x4 matrix;
413 rs_matrix4x4 transMatrix;
[all …]
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_core.c110 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { in rsMatrixSet()
115 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { in rsMatrixGet()
141 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply()
150 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply()
151 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply()
155 rsMatrixMultiply(const rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply()
164 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply()
165 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply()
169 rsMatrixMultiply(const rs_matrix4x4 *m, float2 in) { in rsMatrixMultiply()
178 rsMatrixMultiply(rs_matrix4x4 *m, float2 in) { in rsMatrixMultiply()
[all …]
/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/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Drstypes.rs16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs135 rs_matrix4x4 proj;
143 rs_matrix4x4 matrix;
156 rs_matrix4x4 proj, matrix;
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs31 rs_matrix4x4 matrix; // custom transform for this card/geometry
212 rs_matrix4x4 defaultCardMatrix;
213 rs_matrix4x4 projectionMatrix;
214 rs_matrix4x4 modelviewMatrix;
278 makeRayForPixelAt(Ray* ray, rs_matrix4x4* model, rs_matrix4x4* proj, float x, float y);
446 static void loadPerspectiveMatrix(rs_matrix4x4* matrix, float fovy, float aspect, float near, float…
458 static void loadLookatMatrix(rs_matrix4x4* matrix, float3 eye, float3 center, float3 up)
550 void setMatrix(int n, rs_matrix4x4 matrix) {
643 static bool getMatrixForCard(rs_matrix4x4* matrix, int i, bool enableSway, bool enableCardMatrix)
752 rs_matrix4x4 matrix = modelviewMatrix;
[all …]