Home
last modified time | relevance | path

Searched refs:half4 (Results 1 – 25 of 46) 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 …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rs44 static half4 ElementAt_half4(int x, int y, int z) { constant
46 half4 ret = {r, r + gIncr, r + gIncr * 2, r + gIncr * 3};
76 static void compare_half4(half4 x, half4 y) {
95 SET_KERNEL(half4)
111 INVOKE_SET(half4)
121 VERIFY_KERNEL(half4);
140 INVOKE_VERIFY(half4)
Dfp16_globals.rs22 half4 gHalf4;
41 void validateHalf4(half4 h4) {
48 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug_24.rs29 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f};
Dmath_fp16.rs22 static volatile half4 h4;
81 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 …]
/frameworks/native/libs/gui/include/gui/
DLayerDebugInfo.h55 half4 mColor = half4(1.0_hf, 1.0_hf, 1.0_hf, 0.0_hf);
/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/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h100 half4 color;
101 half4 requestedColor;
/frameworks/native/libs/renderengine/include/renderengine/private/
DDescription.h64 half4 color;
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drsdebug_24.rs31 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f};
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h39 static void writeToProto(const half4 color, std::function<ColorProto*()> getColorProto);
DColorLayer.cpp57 half4 color(getColor()); in prepareClientLayer()
129 half4 color = getColor(); in setPerFrameData()
/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/compile/slang/tests/P_export_types/
Dexport_types.rs7 half4 h4 = {(half) 1.2f, (half) 2.3f, (half) 3.4f, (half) 4.5f};
/frameworks/native/libs/math/tests/
Dhalf_test.cpp87 half4 h4(f4); in TEST_F()
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h61 MOCK_METHOD5(setupLayerBlending, void(bool, bool, bool, const half4&, float));
/frameworks/native/libs/math/include/math/
Dvec4.h116 typedef details::TVec4<half> half4; typedef
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h134 const half4& color, float cornerRadius) = 0;

12