Home
last modified time | relevance | path

Searched refs:rs_matrix2x2 (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/rs/
DrsMatrix2x2.h27 struct Matrix2x2 : public rs_matrix2x2 {
38 void load(const rs_matrix2x2 *);
40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs);
44 void multiply(const rs_matrix2x2 *rhs) { in multiply()
DrsRuntime.h182 void rsrMatrixSet(rs_matrix2x2 *m, uint32_t row, uint32_t col, float v);
183 float rsrMatrixGet(const rs_matrix2x2 *m, uint32_t row, uint32_t col);
186 void rsrMatrixLoadIdentity_2x2(rs_matrix2x2 *m);
189 void rsrMatrixLoad_2x2_f(rs_matrix2x2 *m, const float *v);
192 void rsrMatrixLoad_4x4_2x2(rs_matrix4x4 *m, const rs_matrix2x2 *v);
194 void rsrMatrixLoad_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *v);
204 void rsrMatrixLoadMultiply_2x2_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *lhs,
205 const rs_matrix2x2 *rhs);
206 void rsrMatrixMultiply_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *rhs);
223 void rsrMatrixTranspose_2x2(rs_matrix2x2 *m);
DrsMatrix2x2.cpp39 void Matrix2x2::load(const rs_matrix2x2 *v) { in load()
43 void Matrix2x2::loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { in loadMultiply()
DrsMatrix4x4.h40 void load(const rs_matrix2x2 *);
DrsDefines.h73 } rs_matrix2x2; typedef
/frameworks/rs/driver/runtime/
Drs_matrix.c48 rsMatrixLoadIdentity(rs_matrix2x2 *m) { in rsMatrixLoadIdentity()
87 rsMatrixLoad(rs_matrix2x2 *m, const float *f) { in rsMatrixLoad()
133 rsMatrixLoad(rs_matrix4x4 *m, const rs_matrix2x2 *v) { in rsMatrixLoad()
164 rsMatrixLoad(rs_matrix2x2 *m, const rs_matrix2x2 *s) { in rsMatrixLoad()
193 rsMatrixSet(rs_matrix2x2 *m, uint32_t col, uint32_t row, float v) { in rsMatrixSet()
198 rsMatrixGet(const rs_matrix2x2 *m, uint32_t col, uint32_t row) { in rsMatrixGet()
203 rsMatrixMultiply(const rs_matrix2x2 *m, float2 in) { in rsMatrixMultiply()
210 rsMatrixMultiply(rs_matrix2x2 *m, float2 in) { in rsMatrixMultiply()
211 return rsMatrixMultiply((const rs_matrix2x2 *)m, in); in rsMatrixMultiply()
297 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { in rsMatrixLoadMultiply()
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
Dreflection3264_divergent.rscript14 rs_matrix2x2 matVar;
17 rs_matrix2x2 matArray[10];
64 void matFe(const int *in, int *out, const rs_matrix2x2 *data) { }
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
Dreflection3264_divergent.rscript16 rs_matrix2x2 matVar;
19 rs_matrix2x2 matArray[10];
66 void matFe(const int *in, int *out, const rs_matrix2x2 *data) { }
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Drstypes.rscript12 rs_matrix2x2 matrix2x2Test;
24 rs_matrix2x2 matrix2x2TestLocal;
/frameworks/rs/script_api/
Drs_matrix.spec180 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2
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
246 t: rs_matrix3x3, rs_matrix2x2
273 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2
283 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2
390 t: rs_matrix4x4, rs_matrix3x3, rs_matrix2x2
458 arg: rs_matrix2x2* m
506 arg: const rs_matrix2x2* m
[all …]
Drs_debug.spec153 arg: const rs_matrix2x2* a
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Drstypes.rscript18 rs_matrix2x2 matrix2x2Test;
30 rs_matrix2x2 matrix2x2TestLocal;
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Drstypes.rscript18 rs_matrix2x2 matrix2x2Test;
30 rs_matrix2x2 matrix2x2TestLocal;
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Drstypes.rscript18 rs_matrix2x2 matrix2x2Test;
30 rs_matrix2x2 matrix2x2TestLocal;
/frameworks/rs/script_api/include/
Drs_matrix.rsh194 rsMatrixGet(const rs_matrix2x2* m, uint32_t col, uint32_t row);
230 * loading a rs_matrix2x2 into a rs_matrix4x4 will give:
250 rsMatrixLoad(rs_matrix2x2* destination, const float* array);
259 rsMatrixLoad(rs_matrix2x2* destination, const rs_matrix2x2* source);
265 rsMatrixLoad(rs_matrix4x4* destination, const rs_matrix2x2* source);
298 rsMatrixLoadIdentity(rs_matrix2x2* m);
326 rsMatrixLoadMultiply(rs_matrix2x2* m, const rs_matrix2x2* lhs, const rs_matrix2x2* rhs);
450 rsMatrixMultiply(rs_matrix2x2* m, const rs_matrix2x2* rhs);
479 rsMatrixMultiply(rs_matrix2x2* m, float2 in);
509 rsMatrixMultiply(const rs_matrix2x2* m, float2 in);
[all …]
Drs_value_types.rsh84 * The types are named rs_matrix2x2, rs_matrix3x3, and rs_matrix4x4. See
499 * rs_matrix2x2: 2x2 matrix of 32 bit floats
508 } rs_matrix2x2;
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dstderr.txt.expect11 …' (reduce_general_bad_result.rscript:182:12) parameter 'accum' (type 'rs_matrix2x2 *') must not po…
12 …k)' (reduce_general_bad_result.rscript:190:12) parameter 'out' (type 'rs_matrix2x2 *') must not po…
13 …' (reduce_general_bad_result.rscript:198:12) parameter 'accum' (type 'rs_matrix2x2 (*)[10]') must …
14 …k)' (reduce_general_bad_result.rscript:208:12) parameter 'out' (type 'rs_matrix2x2 (*)[10]') must …
Dreduce_general_bad_result.rscript183 static void AccumMat(rs_matrix2x2 *accum, rs_matrix2x2 val) { }
187 static void OutMatFix(int *out, const rs_matrix2x2 *val) { }
191 static void OutMatBreak(rs_matrix2x2 *out, const int *val) { }
195 typedef rs_matrix2x2 ArrayMatrix2x2[10];
199 static void AccumMatArray(ArrayMatrix2x2 *accum, rs_matrix2x2 val) { }
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Drstypes.rscript28 rs_matrix2x2 matrix2x2Test;
40 rs_matrix2x2 matrix2x2TestLocal;
Dreduce.rscript296 // rs_matrix2x2: 32-bit coerces this to an int array
306 static void fMinMat2Init(rs_matrix2x2 *accum) {
312 static void fMinMat2Accumulator(rs_matrix2x2 *accum, rs_matrix2x2 val) {
324 static void fMinMat2OutConverter(float (*result)[4], const rs_matrix2x2 *accum) {
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript132 static void my_half_rs_matrix2x2_0_accum(int *accum, half a, rs_matrix2x2 b) { }
135 static void my_half_rs_matrix2x2_1_accum(int *accum, half a, rs_matrix2x2 b, rs_kernel_context cont…
258 static void my_half2_rs_matrix2x2_0_accum(int *accum, half2 a, rs_matrix2x2 b) { }
261 static void my_half2_rs_matrix2x2_1_accum(int *accum, half2 a, rs_matrix2x2 b, rs_kernel_context co…
384 static void my_half4_rs_matrix2x2_0_accum(int *accum, half4 a, rs_matrix2x2 b) { }
387 static void my_half4_rs_matrix2x2_1_accum(int *accum, half4 a, rs_matrix2x2 b, rs_kernel_context co…
510 static void my_float_rs_matrix2x2_0_accum(int *accum, float a, rs_matrix2x2 b) { }
513 static void my_float_rs_matrix2x2_1_accum(int *accum, float a, rs_matrix2x2 b, rs_kernel_context co…
636 static void my_float2_rs_matrix2x2_0_accum(int *accum, float2 a, rs_matrix2x2 b) { }
639 static void my_float2_rs_matrix2x2_1_accum(int *accum, float2 a, rs_matrix2x2 b, rs_kernel_context …
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drstypes.rscript30 rs_matrix2x2 matrix2x2Test;
42 rs_matrix2x2 matrix2x2TestLocal;
Dreduce.rscript298 // rs_matrix2x2: 32-bit coerces this to an int array
308 static void fMinMat2Init(rs_matrix2x2 *accum) {
314 static void fMinMat2Accumulator(rs_matrix2x2 *accum, rs_matrix2x2 val) {
326 static void fMinMat2OutConverter(float (*result)[4], const rs_matrix2x2 *accum) {
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp201 void __attribute__((overloadable)) rsMatrixTranspose(rs_matrix2x2 *m) { in rsMatrixTranspose()
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript2996 rsDebug((const char*) buf1376, (const rs_matrix2x2*) buf1377);
3144 …*(float*)buf1937 = rsMatrixGet((const rs_matrix2x2*) buf1938, *(uint32_t*)buf1939, *(uint32_t*)buf…
3149 rsMatrixLoad((rs_matrix2x2*) buf1949, (const float*) buf1950);
3152 rsMatrixLoad((rs_matrix2x2*) buf1955, (const rs_matrix2x2*) buf1956);
3154 rsMatrixLoad((rs_matrix4x4*) buf1959, (const rs_matrix2x2*) buf1960);
3158 rsMatrixLoadIdentity((rs_matrix2x2*) buf1970);
3161 …rsMatrixLoadMultiply((rs_matrix2x2*) buf1977, (const rs_matrix2x2*) buf1978, (const rs_matrix2x2*)…
3169 rsMatrixMultiply((rs_matrix2x2*) buf2009, (const rs_matrix2x2*) buf2010);
3175 *(float2*)buf2026 = rsMatrixMultiply((const rs_matrix2x2*) buf2027, *(float2*)buf2028);
3180 … rsMatrixSet((rs_matrix2x2*) buf2046, *(uint32_t*)buf2047, *(uint32_t*)buf2048, *(float*)buf2049);
[all …]

12