Home
last modified time | relevance | path

Searched refs:half4 (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rs73 half4 RS_KERNEL copyIn(uchar4 in) {
83 half4 i = rsGetElementAt_half4(ScratchPixel2, x, y + r);
89 half4 i = rsGetElementAt_half4(ScratchPixel2, x, validH);
99 half4 RS_KERNEL horz(uint32_t x, uint32_t y) {
100 half4 blurredPixel = 0;
104 half4 i = rsGetElementAt_half4(ScratchPixel1, x + r, y);
111 half4 i = rsGetElementAt_half4(ScratchPixel1, validX, y);
/frameworks/rs/script_api/include/
Drs_math.rsh234 extern half4 __attribute__((const, overloadable))
235 acos(half4 v);
273 extern half4 __attribute__((const, overloadable))
274 acosh(half4 v);
314 extern half4 __attribute__((const, overloadable))
315 acospi(half4 v);
353 extern half4 __attribute__((const, overloadable))
354 asin(half4 v);
392 extern half4 __attribute__((const, overloadable))
393 asinh(half4 v);
[all …]
Drs_vector_math.rsh58 extern half4 __attribute__((const, overloadable))
59 cross(half4 left_vector, half4 right_vector);
98 distance(half4 left_vector, half4 right_vector);
135 dot(half4 left_vector, half4 right_vector);
267 length(half4 v);
314 native_distance(half4 left_vector, half4 right_vector);
361 native_length(half4 v);
407 extern half4 __attribute__((const, overloadable))
408 native_normalize(half4 v);
449 extern half4 __attribute__((const, overloadable))
[all …]
Drs_convert.rsh1260 extern half4 __attribute__((const, overloadable))
1261 convert_half4(half4 v);
1276 convert_float4(half4 v);
1291 convert_double4(half4 v);
1306 convert_char4(half4 v);
1321 convert_uchar4(half4 v);
1336 convert_short4(half4 v);
1351 convert_ushort4(half4 v);
1366 convert_int4(half4 v);
1381 convert_uint4(half4 v);
[all …]
Drs_value_types.rsh124 * half4: Four 16 bit floats
130 typedef half __attribute__((ext_vector_type(4))) half4;
Drs_debug.rsh159 rsDebug(const char* message, half4 a);
Drs_allocation_data.rsh2551 extern half4 __attribute__((overloadable))
2571 extern half4 __attribute__((overloadable))
2591 extern half4 __attribute__((overloadable))
3322 rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x);
3342 rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x, uint32_t y);
3362 rsSetElementAt_half4(rs_allocation a, half4 val, uint32_t x, uint32_t y, uint32_t z);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
Dfp16.rs28 static half4 ElementAt_half4(int x, int y, int z) { variable
30 half4 ret = {r, r + gIncr, r + gIncr * 2, r + gIncr * 3};
60 static void compare_half4(half4 x, half4 y) {
79 SET_KERNEL(half4)
95 INVOKE_SET(half4)
105 VERIFY_KERNEL(half4);
124 INVOKE_VERIFY(half4)
Dfp16_globals.rs6 half4 gHalf4;
25 void validateHalf4(half4 h4) {
32 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug.rs35 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f};
Dmath_fp16.rs6 static volatile half4 h4;
65 h4 = fn(h4, (half4 *) &h4); \
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs6505 *(half4*)buf38 = acos(*(half4*)buf39);
6513 *(half4*)buf54 = acosh(*(half4*)buf55);
6521 *(half4*)buf70 = acospi(*(half4*)buf71);
6529 *(half4*)buf86 = asin(*(half4*)buf87);
6537 *(half4*)buf102 = asinh(*(half4*)buf103);
6545 *(half4*)buf118 = asinpi(*(half4*)buf119);
6553 *(half4*)buf134 = atan(*(half4*)buf135);
6561 *(half4*)buf157 = atan2(*(half4*)buf158, *(half4*)buf159);
6569 *(half4*)buf181 = atan2pi(*(half4*)buf182, *(half4*)buf183);
6577 *(half4*)buf198 = atanh(*(half4*)buf199);
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c1699 extern half4 __attribute__((overloadable)) fn(half4 v) { \
1719 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2) { \
1735 extern half4 __attribute__((overloadable)) fn(half4 v1, half v2) { \
1757 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2, half4 v3) { \
1778 extern half4 __attribute__((overloadable)) fn(half4 v1, int4 v2) { \
1796 extern half __attribute__((overloadable)) fn(half4 v) { \
1814 extern half __attribute__((overloadable)) fn(half4 v1, half4 v2) { \
1839 extern half4 __attribute__((overloadable)) fnc(half4 v1, half4 *v2) { \
1840 half4 ret; \
1872 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2) { \
[all …]
Drs_core.c312 extern void __attribute__((overloadable)) rsDebug(const char *s, half4 h4) { in rsDebug()
Drs_allocation.c341 ELEMENT_AT(half4)
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp37 sp<const Element> half4 = Element::F16_4(rs); in main() local
43 testAllocationCreation(rs, half4, nDims); in main()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs30 static void my_half_half4_0_accum(int *accum, half a, half4 b) { }
33 static void my_half_half4_1_accum(int *accum, half a, half4 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) { }
270 static void my_half4_half_0_accum(int *accum, half4 a, half b) { }
273 static void my_half4_half_1_accum(int *accum, half4 a, half b, rs_kernel_context context) { }
276 static void my_half4_half2_0_accum(int *accum, half4 a, half2 b) { }
279 static void my_half4_half2_1_accum(int *accum, half4 a, half2 b, rs_kernel_context context) { }
282 static void my_half4_half4_0_accum(int *accum, half4 a, half4 b) { }
285 static void my_half4_half4_1_accum(int *accum, half4 a, half4 b, rs_kernel_context context) { }
[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_export_types/
Dexport_types.rs7 half4 h4 = {(half) 1.2f, (half) 2.3f, (half) 3.4f, (half) 4.5f};
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs22 static void my_half4_accum(half4 *accum, half4 val) { }
23 static void my_half4_comb(half4 *accum, const half4 *other) { } constant
36 typedef half4 array_half4[7];
37 static void my_array_half4_accum(array_half4 *accum, half4 val) { }
/frameworks/native/libs/math/tests/
Dhalf_test.cpp87 half4 h4(f4); in TEST_F()
/frameworks/native/libs/math/include/math/
Dvec4.h116 typedef details::TVec4<half> half4; typedef
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rs40 static void my_half4_accum(half4 *accum, int val) { }
41 static void my_half4_comb(half4 *accum, const half4 *other) { } constant
42 static void my_half4_out(int *out, const half4 *accum) { } constant
57 typedef half4 array_half4[7];
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rs114 static void my_half4_0_accum(int *accum, half4 in) { }
117 static void my_half4_1_accum(int *accum, half4 in, rs_kernel_context context) { }
120 static void my_half4_2_accum(int *accum, half4 in, uint x) { }
123 static void my_half4_3_accum(int *accum, half4 in, rs_kernel_context context, uint x) { }
126 static void my_half4_4_accum(int *accum, half4 in, uint y) { }
129 static void my_half4_5_accum(int *accum, half4 in, rs_kernel_context context, uint y) { }
132 static void my_half4_6_accum(int *accum, half4 in, uint x, uint y) { }
135 static void my_half4_7_accum(int *accum, half4 in, rs_kernel_context context, uint x, uint y) { }
138 static void my_half4_8_accum(int *accum, half4 in, uint z) { }
141 static void my_half4_9_accum(int *accum, half4 in, rs_kernel_context context, uint z) { }
[all …]
/frameworks/rs/rsov/driver/
DrsovRuntimeStubs.cpp37 typedef half half4 __attribute__((ext_vector_type(4))); typedef
585 ELEMENT_AT(half4, RS_TYPE_FLOAT_16, 4)

12