Home
last modified time | relevance | path

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

123

/frameworks/rs/
DrsRuntime.h178 void rsrMatrixSet(rs_matrix4x4 *m, uint32_t row, uint32_t col, float v);
179 float rsrMatrixGet(const rs_matrix4x4 *m, uint32_t row, uint32_t col);
184 void rsrMatrixLoadIdentity_4x4(rs_matrix4x4 *m);
187 void rsrMatrixLoad_4x4_f(rs_matrix4x4 *m, const float *v);
190 void rsrMatrixLoad_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *v);
191 void rsrMatrixLoad_4x4_3x3(rs_matrix4x4 *m, const rs_matrix3x3 *v);
192 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v);
195 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
196 void rsrMatrixLoadScale(rs_matrix4x4 *m, float x, float y, float z);
197 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);
61 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()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp153 void __attribute__((overloadable)) rsMatrixLoadRotate(rs_matrix4x4 *m, in EXPORT_F32_FN_F32()
157 void __attribute__((overloadable)) rsMatrixLoadScale(rs_matrix4x4 *m, in rsMatrixLoadScale()
161 void __attribute__((overloadable)) rsMatrixLoadTranslate(rs_matrix4x4 *m, in rsMatrixLoadTranslate()
165 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate()
169 void __attribute__((overloadable)) rsMatrixScale(rs_matrix4x4 *m, float x, in rsMatrixScale()
173 void __attribute__((overloadable)) rsMatrixTranslate(rs_matrix4x4 *m, float x, in rsMatrixTranslate()
177 void __attribute__((overloadable)) rsMatrixLoadOrtho(rs_matrix4x4 *m, float l, in rsMatrixLoadOrtho()
181 void __attribute__((overloadable)) rsMatrixLoadFrustum(rs_matrix4x4 *m, in rsMatrixLoadFrustum()
185 void __attribute__((overloadable)) rsMatrixLoadPerspective(rs_matrix4x4 *m, in rsMatrixLoadPerspective()
189 bool __attribute__((overloadable)) rsMatrixInverse(rs_matrix4x4 *m) { in rsMatrixInverse()
[all …]
/frameworks/rs/driver/runtime/
Drs_matrix.c16 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/script_api/
Drs_matrix.spec25 @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/script_api/include/
Drs_matrix.rsh27 * 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/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Drstypes.rscript10 rs_matrix4x4 matrix4x4Test;
22 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dcolormatrix_f.rscript20 static rs_matrix4x4 Mat = {
35 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dcolormatrix.rscript20 static rs_matrix4x4 Mat;
26 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dcolormatrix.rscript20 static rs_matrix4x4 Mat;
26 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dcolormatrix.rscript20 static rs_matrix4x4 Mat;
26 void setMatrix(rs_matrix4x4 m) {
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drstypes.rscript16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drstypes.rscript16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drstypes.rscript16 rs_matrix4x4 matrix4x4Test;
28 rs_matrix4x4 matrix4x4TestLocal;
/frameworks/compile/slang/tests/P_matrix_cpp/
Dmatrix.rscript5 rs_matrix4x4 mat;
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Drstypes.rscript26 rs_matrix4x4 matrix4x4Test;
38 rs_matrix4x4 matrix4x4TestLocal;
Dreduce.rscript298 // rs_matrix4x4: 64-bit passes this by reference
335 static void fMinMat4Init(rs_matrix4x4 *accum) {
341 static void fMinMat4Accumulator(rs_matrix4x4 *accum, rs_matrix4x4 val) {
353 static void fMinMat4OutConverter(float (*result)[16], const rs_matrix4x4 *accum) {
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drstypes.rscript28 rs_matrix4x4 matrix4x4Test;
40 rs_matrix4x4 matrix4x4TestLocal;
Dreduce.rscript300 // rs_matrix4x4: 64-bit passes this by reference
337 static void fMinMat4Init(rs_matrix4x4 *accum) {
343 static void fMinMat4Accumulator(rs_matrix4x4 *accum, rs_matrix4x4 val) {
355 static void fMinMat4OutConverter(float (*result)[16], const rs_matrix4x4 *accum) {
/frameworks/rs/driver/runtime/arch/
Dneon.ll935 %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 …]
Dasimd.ll941 %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 …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rscript2909 rsDebug((const char*) buf1314, (const rs_matrix4x4*) buf1315);
2912 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1320, (float4*) buf1321, (float4*) buf1322, (float…
3056 …*(float*)buf1866 = rsMatrixGet((const rs_matrix4x4*) buf1867, *(uint32_t*)buf1868, *(uint32_t*)buf…
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);
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/
Dall14.rscript2994 rsDebug((const char*) buf1372, (const rs_matrix4x4*) buf1373);
2997 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1378, (float4*) buf1379, (float4*) buf1380, (float…
3142 …*(float*)buf1929 = rsMatrixGet((const rs_matrix4x4*) buf1930, *(uint32_t*)buf1931, *(uint32_t*)buf…
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);
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 …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rscript2909 rsDebug((const char*) buf1314, (const rs_matrix4x4*) buf1315);
2912 …rsExtractFrustumPlanes((const rs_matrix4x4*) buf1320, (float4*) buf1321, (float4*) buf1322, (float…
3056 …*(float*)buf1866 = rsMatrixGet((const rs_matrix4x4*) buf1867, *(uint32_t*)buf1868, *(uint32_t*)buf…
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);
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 …]

123