/frameworks/rs/ |
rsRuntime.h | 164 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 165 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 170 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m); 173 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v); 176 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v); 177 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v); 178 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v); 181 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 182 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z) [all...] |
rsMatrix4x4.h | 27 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) {
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/ |
shader2v.glsl | 2 rs_matrix4x4 model; 3 rs_matrix4x4 viewProj;
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
shader_def.rsh | 20 rs_matrix4x4 model; 21 rs_matrix4x4 proj; 34 rs_matrix4x4 model[2]; 35 rs_matrix4x4 proj; 43 rs_matrix4x4 model; 44 rs_matrix4x4 proj;
|
/frameworks/rs/scriptc/ |
rs_matrix.rsh | 37 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) [all...] |
/prebuilts/sdk/renderscript/include/ |
rs_matrix.rsh | 37 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) [all...] |
/cts/tests/src/android/renderscript/cts/ |
structs.rsh | 16 rs_matrix4x4 MATRIX; 21 rs_matrix4x4 MATRIX; 22 rs_matrix4x4 EXTRA; 31 rs_matrix4x4 EXTRA;
|
/cts/tests/src/android/rsg/cts/ |
structs.rsh | 16 rs_matrix4x4 MATRIX; 21 rs_matrix4x4 MATRIX; 22 rs_matrix4x4 EXTRA; 31 rs_matrix4x4 EXTRA;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
shader_def.rsh | 20 rs_matrix4x4 model; 21 rs_matrix4x4 proj; 34 rs_matrix4x4 model; 35 rs_matrix4x4 proj;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
transform_def.rsh | 25 rs_matrix4x4 globalMat; 26 rs_matrix4x4 localMat;
|
transform.rs | 25 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;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
colormatrix.fs | 19 static rs_matrix4x4 Mat; 25 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
rstypes.rs | 10 rs_matrix4x4 matrix4x4Test; 22 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/driver/runtime/ |
rs_matrix.c | 17 rsMatrixLoadIdentity(rs_matrix4x4 *m) { 57 rsMatrixLoad(rs_matrix4x4 *m, const float *f) { 96 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *s) { 115 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v) { 134 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v) { 174 rsMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v) { 179 rsMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col) { 216 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { 217 return rsMatrixMultiply((const rs_matrix4x4 *)m, in) [all...] |
matrix.ll | 5 %struct.rs_matrix4x4 = type { [16 x float] } 76 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <4 x float> %in) nounwind readonly { 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 x float> %in) nounwind readonly { 110 %r = tail call <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <4 x float> %in) nounwind 114 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv3_f(%struct.rs_matrix4x4* nocapture %m, <3 x float> %in) nounwind readonly { 122 %px = getelementptr inbounds %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
params.rsh | 128 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat); 131 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->view); 134 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->proj); 137 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->viewProj); 140 rsMatrixLoad((rs_matrix4x4*)dataPtr, &pTransform->globalMat); 143 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->view); 144 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr, 145 (rs_matrix4x4*)dataPtr, 149 rsMatrixLoad((rs_matrix4x4*)dataPtr, ¤tCam->viewProj); 150 rsMatrixLoadMultiply((rs_matrix4x4*)dataPtr [all...] |
transform.rs | 25 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/SceneGraph/src/com/android/testapp/ |
test_app.rsh | 21 rs_matrix4x4 viewProj; 25 rs_matrix4x4 model;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
holo_spiral.rs | 46 static rs_matrix4x4 gProjectionMatrix; 47 static rs_matrix4x4 gTransformedModelView; 59 rs_matrix4x4 modelViewProj; 98 rs_matrix4x4 modelView; 99 rs_matrix4x4 rotateModelView;
|
/frameworks/base/docs/html/reference/renderscript/ |
structrs__matrix4x4.html | 6 <title>rs_matrix4x4 Struct Reference</title> 28 <div class="title">rs_matrix4x4 Struct Reference</div> </div> 31 <!-- doxytag: class="rs_matrix4x4" -->
|