Home
last modified time | relevance | path

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

12

/frameworks/rs/script_api/include/
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);
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript6503 *(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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rscript32 static half2 ElementAt_half2(int x, int y, int z) {
34 half2 ret = {r, r + gIncr};
57 static void compare_half2(half2 x, half2 y) {
93 SET_KERNEL(half2)
109 INVOKE_SET(half2)
119 VERIFY_KERNEL(half2);
138 INVOKE_VERIFY(half2)
Dfp16_globals.rscript20 half2 gHalf2;
30 void validateHalf2(half2 h2) {
48 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug_24.rscript27 half2 half2Test = {(half) 1.5f, (half) 2.5f};
Dmath_fp16.rscript20 static volatile half2 h2;
79 h2 = fn(h2, (half2 *) &h2); \
/frameworks/rs/driver/runtime/
Drs_cl.c1693 extern half2 __attribute__((overloadable)) fn(half2 v) { \
1711 extern half2 __attribute__((overloadable)) fn(half2 v1, half2 v2) { \
1729 extern half2 __attribute__((overloadable)) fn(half2 v1, half v2) { \
1747 extern half2 __attribute__((overloadable)) fn(half2 v1, half2 v2, half2 v3) { \
1772 extern half2 __attribute__((overloadable)) fn(half2 v1, int2 v2) { \
1790 extern half __attribute__((overloadable)) fn(half2 v) { \
1808 extern half __attribute__((overloadable)) fn(half2 v1, half2 v2) { \
1819 extern half2 __attribute__((overloadable)) fnc(half2 v1, half2 *v2) { \
1820 half2 ret; \
1859 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.c277 ELEMENT_AT(half2)
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp35 sp<const Element> half2 = Element::F16_2(rs); in main() local
41 testAllocationCreation(rs, half2, nDims); in main()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript24 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.expect284 // ain2 = "half2 b"
290 // ain2 = "half2 b"
352 // ain2 = "half2 b"
358 // ain2 = "half2 b"
2825 // ain1 = "half2 a"
2831 // ain1 = "half2 a"
2893 // ain1 = "half2 a"
2899 // ain1 = "half2 a"
2965 // ain1 = "half2 a"
2966 // ain2 = "half2 b"
[all …]
/frameworks/compile/slang/tests/P_invoke_half_parameter/
Dinvoke_half_parameter.rscript4 void test(half h, half2 h2, half3 h3, half4 h4) {
/frameworks/native/libs/renderengine/include/renderengine/private/
DDescription.h57 half2 cropSize;
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rscript5 half2 h2 = {(half) 1.2f, (half) 2.3f};
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript18 static void my_half2_accum(half2 *accum, half2 val) { }
19 static void my_half2_comb(half2 *accum, const half2 *other) { }
31 typedef half2 array_half2[7];
32 static void my_array_half2_accum(array_half2 *accum, half2 val) { }
/frameworks/native/libs/math/tests/
Dhalf_test.cpp89 half2 h2(f4.xy); in TEST_F()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drsdebug_24.rscript29 half2 half2Test = {(half) 1.5f, (half) 2.5f};
/frameworks/native/libs/math/include/math/
Dvec2.h113 typedef details::TVec2<half> half2; typedef
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rscript35 static void my_half2_accum(half2 *accum, int val) { }
36 static void my_half2_comb(half2 *accum, const half2 *other) { }
37 static void my_half2_out(int *out, const half2 *accum) { }
51 typedef half2 array_half2[7];
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rscript66 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 …]

12