Home
last modified time | relevance | path

Searched refs:half2 (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/rs/scriptc/
Drs_math.rsh224 extern half2 __attribute__((const, overloadable))
225 acos(half2 v);
263 extern half2 __attribute__((const, overloadable))
264 acosh(half2 v);
304 extern half2 __attribute__((const, overloadable))
305 acospi(half2 v);
343 extern half2 __attribute__((const, overloadable))
344 asin(half2 v);
382 extern half2 __attribute__((const, overloadable))
383 asinh(half2 v);
[all …]
Drs_vector_math.rsh88 distance(half2 left_vector, half2 right_vector);
125 dot(half2 left_vector, half2 right_vector);
257 length(half2 v);
304 native_distance(half2 left_vector, half2 right_vector);
351 native_length(half2 v);
397 extern half2 __attribute__((const, overloadable))
398 native_normalize(half2 v);
439 extern half2 __attribute__((const, overloadable))
440 normalize(half2 v);
Drs_convert.rsh1250 extern half2 __attribute__((const, overloadable))
1251 convert_half2(half2 v);
1266 convert_float2(half2 v);
1281 convert_double2(half2 v);
1296 convert_char2(half2 v);
1311 convert_uchar2(half2 v);
1326 convert_short2(half2 v);
1341 convert_ushort2(half2 v);
1356 convert_int2(half2 v);
1371 convert_uint2(half2 v);
[all …]
Drs_value_types.rsh104 * half2: Two 16 bit floats
110 typedef half __attribute__((ext_vector_type(2))) half2;
Drs_debug.rsh149 rsDebug(const char* message, half2 a);
Drs_allocation_data.rsh2541 extern half2 __attribute__((overloadable))
2561 extern half2 __attribute__((overloadable))
2581 extern half2 __attribute__((overloadable))
3312 rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x);
3332 rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x, uint32_t y);
3352 rsSetElementAt_half2(rs_allocation a, half2 val, uint32_t x, uint32_t y, uint32_t z);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dfp16.rs16 static half2 ElementAt_half2(int x, int y, int z) { constant
18 half2 ret = {r, r + gIncr};
41 static void compare_half2(half2 x, half2 y) {
77 SET_KERNEL(half2)
93 INVOKE_SET(half2)
103 VERIFY_KERNEL(half2);
122 INVOKE_VERIFY(half2)
Dfp16_globals.rs4 half2 gHalf2;
14 void validateHalf2(half2 h2) {
32 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug.rs33 half2 half2Test = {(half) 1.5f, (half) 2.5f};
Dmath_fp16.rs4 static volatile half2 h2;
63 h2 = fn(h2, (half2 *) &h2); \
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs6503 *(half2*)buf34 = acos(*(half2*)buf35);
6511 *(half2*)buf50 = acosh(*(half2*)buf51);
6519 *(half2*)buf66 = acospi(*(half2*)buf67);
6527 *(half2*)buf82 = asin(*(half2*)buf83);
6535 *(half2*)buf98 = asinh(*(half2*)buf99);
6543 *(half2*)buf114 = asinpi(*(half2*)buf115);
6551 *(half2*)buf130 = atan(*(half2*)buf131);
6559 *(half2*)buf151 = atan2(*(half2*)buf152, *(half2*)buf153);
6567 *(half2*)buf175 = atan2pi(*(half2*)buf176, *(half2*)buf177);
6575 *(half2*)buf194 = atanh(*(half2*)buf195);
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c1690 extern half2 __attribute__((overloadable)) fn(half2 v) { \
1708 extern half2 __attribute__((overloadable)) fn(half2 v1, half2 v2) { \
1726 extern half2 __attribute__((overloadable)) fn(half2 v1, half v2) { \
1744 extern half2 __attribute__((overloadable)) fn(half2 v1, half2 v2, half2 v3) { \
1769 extern half2 __attribute__((overloadable)) fn(half2 v1, int2 v2) { \
1787 extern half __attribute__((overloadable)) fn(half2 v) { \
1805 extern half __attribute__((overloadable)) fn(half2 v1, half2 v2) { \
1816 extern half2 __attribute__((overloadable)) fnc(half2 v1, half2 *v2) { \
1817 half2 ret; \
1856 extern half2 __attribute__((overloadable)) fn(half2 v1, half2 v2) { \
[all …]
Drs_core.c296 extern void __attribute__((overloadable)) rsDebug(const char *s, half2 h2) { in rsDebug()
Drs_allocation.c340 ELEMENT_AT(half2)
/frameworks/rs/tests/cppf16/
Dcompute.cpp29 sp<const Element> half2 = Element::F16_2(rs); in main() local
35 testAllocationCreation(rs, half2, nDims); in main()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs24 static void my_half_half2_0_accum(int *accum, half a, half2 b) { }
27 static void my_half_half2_1_accum(int *accum, half a, half2 b, rs_kernel_context context) { }
144 static void my_half2_half_0_accum(int *accum, half2 a, half b) { }
147 static void my_half2_half_1_accum(int *accum, half2 a, half b, rs_kernel_context context) { }
150 static void my_half2_half2_0_accum(int *accum, half2 a, half2 b) { }
153 static void my_half2_half2_1_accum(int *accum, half2 a, half2 b, rs_kernel_context context) { }
156 static void my_half2_half4_0_accum(int *accum, half2 a, half4 b) { }
159 static void my_half2_half4_1_accum(int *accum, half2 a, half4 b, rs_kernel_context context) { }
162 static void my_half2_float_0_accum(int *accum, half2 a, float b) { }
165 static void my_half2_float_1_accum(int *accum, half2 a, float b, rs_kernel_context context) { }
[all …]
DScriptC_reduce_general_inputs.java.expect281 // ain2 = "half2 b"
287 // ain2 = "half2 b"
349 // ain2 = "half2 b"
355 // ain2 = "half2 b"
2822 // ain1 = "half2 a"
2828 // ain1 = "half2 a"
2890 // ain1 = "half2 a"
2896 // ain1 = "half2 a"
2962 // ain1 = "half2 a"
2963 // ain2 = "half2 b"
[all …]
/frameworks/compile/slang/tests/P_invoke_half_parameter/
Dinvoke_half_parameter.rs4 void test(half h, half2 h2, half3 h3, half4 h4) {
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs18 static void my_half2_accum(half2 *accum, half2 val) { }
19 static void my_half2_comb(half2 *accum, const half2 *other) { } constant
31 typedef half2 array_half2[7];
32 static void my_array_half2_accum(array_half2 *accum, half2 val) { }
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs5 half2 h2 = {(half) 1.2f, (half) 2.3f};
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rs35 static void my_half2_accum(half2 *accum, int val) { }
36 static void my_half2_comb(half2 *accum, const half2 *other) { } constant
37 static void my_half2_out(int *out, const half2 *accum) { } constant
51 typedef half2 array_half2[7];
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rs66 static void my_half2_0_accum(int *accum, half2 in) { }
69 static void my_half2_1_accum(int *accum, half2 in, rs_kernel_context context) { }
72 static void my_half2_2_accum(int *accum, half2 in, uint x) { }
75 static void my_half2_3_accum(int *accum, half2 in, rs_kernel_context context, uint x) { }
78 static void my_half2_4_accum(int *accum, half2 in, uint y) { }
81 static void my_half2_5_accum(int *accum, half2 in, rs_kernel_context context, uint y) { }
84 static void my_half2_6_accum(int *accum, half2 in, uint x, uint y) { }
87 static void my_half2_7_accum(int *accum, half2 in, rs_kernel_context context, uint x, uint y) { }
90 static void my_half2_8_accum(int *accum, half2 in, uint z) { }
93 static void my_half2_9_accum(int *accum, half2 in, rs_kernel_context context, uint z) { }
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd174 <a href='rs_value_types.html#android_rs:half2'>half2</a>
654 <a name='android_rs:half2'></a>
657 <span class='sympad'>half2</span>
Drs_allocation_data.jd1599 …<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_obje…
1605 …<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_obje…
1611 …<td><a href='rs_value_types.html#android_rs:half2'>half2</a> rsGetElementAt_half2(<a href='rs_obje…
2490 …ocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a hre…
2496 …ocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a hre…
2502 …ocation'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half2'>half2</a> val, <a hre…
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp39 typedef half half2 __attribute__((ext_vector_type(2))); typedef
583 ELEMENT_AT(half2, RS_TYPE_FLOAT_16, 2)

12