/frameworks/rs/ |
D | rsRuntime.h | 182 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v); 183 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col); 188 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m); 191 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v); 194 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v); 195 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v); 196 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v); 199 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z); 200 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z); 201 void rsrMatrixLoadTranslate(rs_matrix4x4 *m, float x, float y, float z); [all …]
|
D | 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); 61 void multiply(const rs_matrix4x4 *rhs) { in multiply()
|
D | rsMatrix4x4.cpp | 38 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()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuRuntimeMath.cpp | 156 void __attribute__((overloadable)) rsMatrixLoadRotate(rs_matrix4x4 *m, in EXPORT_F32_FN_F32() 160 void __attribute__((overloadable)) rsMatrixLoadScale(rs_matrix4x4 *m, in rsMatrixLoadScale() 164 void __attribute__((overloadable)) rsMatrixLoadTranslate(rs_matrix4x4 *m, in rsMatrixLoadTranslate() 168 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate() 172 void __attribute__((overloadable)) rsMatrixScale(rs_matrix4x4 *m, float x, in rsMatrixScale() 176 void __attribute__((overloadable)) rsMatrixTranslate(rs_matrix4x4 *m, float x, in rsMatrixTranslate() 180 void __attribute__((overloadable)) rsMatrixLoadOrtho(rs_matrix4x4 *m, float l, in rsMatrixLoadOrtho() 184 void __attribute__((overloadable)) rsMatrixLoadFrustum(rs_matrix4x4 *m, in rsMatrixLoadFrustum() 188 void __attribute__((overloadable)) rsMatrixLoadPerspective(rs_matrix4x4 *m, in rsMatrixLoadPerspective() 192 bool __attribute__((overloadable)) rsMatrixInverse(rs_matrix4x4 *m) { in rsMatrixInverse() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_matrix.c | 16 rsMatrixLoadIdentity(rs_matrix4x4 *m) { in rsMatrixLoadIdentity() 56 rsMatrixLoad(rs_matrix4x4 *m, const float *f) { in rsMatrixLoad() 95 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix4x4 *s) { in rsMatrixLoad() 114 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix3x3 *v) { in rsMatrixLoad() 133 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v) { in rsMatrixLoad() 173 rsMatrixSet(rs_matrix4x4 *m, uint32_t col, uint32_t row, float v) { in rsMatrixSet() 178 rsMatrixGet(const rs_matrix4x4 *m, uint32_t col, uint32_t row) { in rsMatrixGet() 215 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) { in rsMatrixMultiply() 216 return rsMatrixMultiply((const rs_matrix4x4 *)m, in); in rsMatrixMultiply() 220 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) { in rsMatrixMultiply() [all …]
|
/frameworks/rs/api/ |
D | rs_matrix.spec | 25 @rs_matrix4x4 is found at (3, 3). 51 arg: const rs_matrix4x4* viewProj, "Matrix to extract planes from." 112 arg: const rs_matrix4x4* viewProj 180 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2 195 arg: rs_matrix4x4* m, "Matrix to invert." 204 arg: rs_matrix4x4* m, "Matrix to modify." 213 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2 227 loading a rs_matrix2x2 into a rs_matrix4x4 will give: 238 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2 248 arg: rs_matrix4x4* destination [all …]
|
/frameworks/rs/scriptc/ |
D | rs_matrix.rsh | 27 * rs_matrix4x4 is found at (3, 3). 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 188 rsMatrixGet(const rs_matrix4x4* m, uint32_t col, uint32_t row); 205 rsMatrixInverse(rs_matrix4x4* m); 217 rsMatrixInverseTranspose(rs_matrix4x4* m); 230 * loading a rs_matrix2x2 into a rs_matrix4x4 will give: 244 rsMatrixLoad(rs_matrix4x4* destination, const float* array); 253 rsMatrixLoad(rs_matrix4x4* destination, const rs_matrix4x4* source); 262 rsMatrixLoad(rs_matrix4x4* destination, const rs_matrix3x3* source); [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_matrix.jd | 13 <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a> is found at (3, 3). 210 …actFrustumPlanes(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* vie… 284 …loat rsMatrixGet(const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, … 315 …<td>bool rsMatrixInverse(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m… 341 …sMatrixInverseTranspose(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m); 388 …<td>void rsMatrixLoad(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* dest… 393 …<td>void rsMatrixLoad(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* dest… 398 …<td>void rsMatrixLoad(<a href='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* dest… 403 …s.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* destination, const <a href='rs_value_types.html#… 427 loading a rs_matrix2x2 into a rs_matrix4x4 will give: [all …]
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | colormatrix_f.rs | 20 static rs_matrix4x4 Mat = { variable 35 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | colormatrix.rs | 20 static rs_matrix4x4 Mat; constant 26 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | colormatrix.rs | 20 static rs_matrix4x4 Mat; variable 26 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | colormatrix.rs | 20 static rs_matrix4x4 Mat; variable 26 void setMatrix(rs_matrix4x4 m) {
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | rstypes.rs | 10 rs_matrix4x4 matrix4x4Test; 22 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | rstypes.rs | 10 rs_matrix4x4 matrix4x4Test; 22 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | rstypes.rs | 10 rs_matrix4x4 matrix4x4Test; 22 rs_matrix4x4 matrix4x4TestLocal;
|
D | reduce.rs | 241 static void fMinMat4Init(rs_matrix4x4 *accum) { 247 static void fMinMat4Accumulator(rs_matrix4x4 *accum, rs_matrix4x4 val) { 259 static void fMinMat4OutConverter(float (*result)[16], const rs_matrix4x4 *accum) { constant
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | rstypes.rs | 16 rs_matrix4x4 matrix4x4Test; 28 rs_matrix4x4 matrix4x4TestLocal;
|
/frameworks/compile/slang/tests/P_matrix_cpp/ |
D | matrix.rs | 5 rs_matrix4x4 mat;
|
/frameworks/rs/driver/runtime/arch/ |
D | asimd.ll | 941 %struct.rs_matrix4x4 = type { [16 x float] } 1006 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <… 1016 %px = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 1019 %py = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4 1022 %pz = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8 1025 %pw = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 12 1039 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv3_f(%struct.rs_matrix4x4* nocapture %m, <… 1047 %px = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 1050 %py = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4 1053 %pz = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8 [all …]
|
D | neon.ll | 935 %struct.rs_matrix4x4 = type { [16 x float] } 998 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv4_f(%struct.rs_matrix4x4* nocapture %m, <… 1008 %px = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 1011 %py = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4 1014 %pz = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8 1017 %pw = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 12 1031 define <4 x float> @_Z16rsMatrixMultiplyPK12rs_matrix4x4Dv3_f(%struct.rs_matrix4x4* nocapture %m, <… 1039 %px = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 0 1042 %py = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 4 1045 %pz = getelementptr inbounds %struct.rs_matrix4x4, %struct.rs_matrix4x4* %m, i32 0, i32 0, i32 8 [all …]
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rs | 2909 rsDebug((const char*) buf1314, (const rs_matrix4x4*) buf1315); constant 2912 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1320, (float4*) buf1321, (float4*) buf1322, (float… constant 3056 …*(float*)buf1866 = rsMatrixGet((const rs_matrix4x4*) buf1867, *(uint32_t*)buf1868, *(uint32_t*)buf… constant 3059 *(bool*)buf1878 = rsMatrixInverse((rs_matrix4x4*) buf1879); 3060 *(bool*)buf1880 = rsMatrixInverseTranspose((rs_matrix4x4*) buf1881); 3061 rsMatrixLoad((rs_matrix4x4*) buf1882, (const float*) buf1883); 3064 rsMatrixLoad((rs_matrix4x4*) buf1888, (const rs_matrix4x4*) buf1889); constant 3067 rsMatrixLoad((rs_matrix4x4*) buf1894, (const rs_matrix3x3*) buf1895); 3068 rsMatrixLoad((rs_matrix4x4*) buf1896, (const rs_matrix2x2*) buf1897); 3069 …rsMatrixLoadFrustum((rs_matrix4x4*) buf1898, *(float*)buf1899, *(float*)buf1900, *(float*)buf1901,… [all …]
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rs | 2909 rsDebug((const char*) buf1314, (const rs_matrix4x4*) buf1315); constant 2912 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1320, (float4*) buf1321, (float4*) buf1322, (float… constant 3056 …*(float*)buf1866 = rsMatrixGet((const rs_matrix4x4*) buf1867, *(uint32_t*)buf1868, *(uint32_t*)buf… constant 3059 *(bool*)buf1878 = rsMatrixInverse((rs_matrix4x4*) buf1879); 3060 *(bool*)buf1880 = rsMatrixInverseTranspose((rs_matrix4x4*) buf1881); 3061 rsMatrixLoad((rs_matrix4x4*) buf1882, (const float*) buf1883); 3064 rsMatrixLoad((rs_matrix4x4*) buf1888, (const rs_matrix4x4*) buf1889); constant 3067 rsMatrixLoad((rs_matrix4x4*) buf1894, (const rs_matrix3x3*) buf1895); 3068 rsMatrixLoad((rs_matrix4x4*) buf1896, (const rs_matrix2x2*) buf1897); 3069 …rsMatrixLoadFrustum((rs_matrix4x4*) buf1898, *(float*)buf1899, *(float*)buf1900, *(float*)buf1901,… [all …]
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rs | 2994 rsDebug((const char*) buf1372, (const rs_matrix4x4*) buf1373); constant 2997 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1378, (float4*) buf1379, (float4*) buf1380, (float… constant 3142 …*(float*)buf1929 = rsMatrixGet((const rs_matrix4x4*) buf1930, *(uint32_t*)buf1931, *(uint32_t*)buf… constant 3145 *(bool*)buf1941 = rsMatrixInverse((rs_matrix4x4*) buf1942); 3146 *(bool*)buf1943 = rsMatrixInverseTranspose((rs_matrix4x4*) buf1944); 3147 rsMatrixLoad((rs_matrix4x4*) buf1945, (const float*) buf1946); 3150 rsMatrixLoad((rs_matrix4x4*) buf1951, (const rs_matrix4x4*) buf1952); constant 3153 rsMatrixLoad((rs_matrix4x4*) buf1957, (const rs_matrix3x3*) buf1958); 3154 rsMatrixLoad((rs_matrix4x4*) buf1959, (const rs_matrix2x2*) buf1960); 3155 …rsMatrixLoadFrustum((rs_matrix4x4*) buf1961, *(float*)buf1962, *(float*)buf1963, *(float*)buf1964,… [all …]
|