Home
last modified time | relevance | path

Searched refs:half3 (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.h39 const half3 RED = half3(1.0f, 0.0f, 0.0f);
40 const half3 GREEN = half3(0.0f, 1.0f, 0.0f);
DColorLayer.h36 bool setColor(const half3& color) override;
DRefreshRateOverlay.cpp55 const half3& color = (type == RefreshRateType::PERFORMANCE) ? GREEN : RED; in changeRefreshRate()
DColorLayer.cpp58 half3 solidColor(color.r, color.g, color.b); in prepareClientLayer()
67 bool ColorLayer::setColor(const half3& color) { in setColor()
/frameworks/rs/script_api/include/
Drs_math.rsh229 extern half3 __attribute__((const, overloadable))
230 acos(half3 v);
268 extern half3 __attribute__((const, overloadable))
269 acosh(half3 v);
309 extern half3 __attribute__((const, overloadable))
310 acospi(half3 v);
348 extern half3 __attribute__((const, overloadable))
349 asin(half3 v);
387 extern half3 __attribute__((const, overloadable))
388 asinh(half3 v);
[all …]
Drs_vector_math.rsh53 extern half3 __attribute__((const, overloadable))
54 cross(half3 left_vector, half3 right_vector);
93 distance(half3 left_vector, half3 right_vector);
130 dot(half3 left_vector, half3 right_vector);
262 length(half3 v);
309 native_distance(half3 left_vector, half3 right_vector);
356 native_length(half3 v);
402 extern half3 __attribute__((const, overloadable))
403 native_normalize(half3 v);
444 extern half3 __attribute__((const, overloadable))
[all …]
Drs_convert.rsh1255 extern half3 __attribute__((const, overloadable))
1256 convert_half3(half3 v);
1271 convert_float3(half3 v);
1286 convert_double3(half3 v);
1301 convert_char3(half3 v);
1316 convert_uchar3(half3 v);
1331 convert_short3(half3 v);
1346 convert_ushort3(half3 v);
1361 convert_int3(half3 v);
1376 convert_uint3(half3 v);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rs38 static half3 ElementAt_half3(int x, int y, int z) { constant
40 half3 ret = {r, r + gIncr, r + gIncr * 2};
66 static void compare_half3(half3 x, half3 y) {
94 SET_KERNEL(half3)
110 INVOKE_SET(half3)
120 VERIFY_KERNEL(half3);
139 INVOKE_VERIFY(half3)
Dfp16_globals.rs21 half3 gHalf3;
35 void validateHalf3(half3 h3) {
48 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug_24.rs28 half3 half3Test = {(half) 1.5f, (half) 2.5f, (half) 3.5f};
Dmath_fp16.rs21 static volatile half3 h3;
80 h3 = fn(h3, (half3 *) &h3); \
/frameworks/native/libs/gui/tests/
DSamplingDemo.cpp53 .setColor(mButton, half3{1, 1, 1}) in Button()
67 .setColor(mButtonBlend, half3{1, 1, 1}) in Button()
82 .setColor(mSamplingArea, half3{0, 1, 0}) in Button()
99 .setColor(mButton, half3{complement, complement, complement}) in setColor()
100 .setColor(mButtonBlend, half3{color, color, color}) in setColor()
DRegionSampling_test.cpp191 .setColor(mBackgroundLayer, half3{0.5, 0.5, 0.5}) in SetUp()
201 .setColor(mContentLayer, half3{0.5, 0.5, 0.5}) in SetUp()
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs6504 *(half3*)buf36 = acos(*(half3*)buf37);
6512 *(half3*)buf52 = acosh(*(half3*)buf53);
6520 *(half3*)buf68 = acospi(*(half3*)buf69);
6528 *(half3*)buf84 = asin(*(half3*)buf85);
6536 *(half3*)buf100 = asinh(*(half3*)buf101);
6544 *(half3*)buf116 = asinpi(*(half3*)buf117);
6552 *(half3*)buf132 = atan(*(half3*)buf133);
6560 *(half3*)buf154 = atan2(*(half3*)buf155, *(half3*)buf156);
6568 *(half3*)buf178 = atan2pi(*(half3*)buf179, *(half3*)buf180);
6576 *(half3*)buf196 = atanh(*(half3*)buf197);
[all …]
/frameworks/rs/driver/runtime/
Drs_cl.c1696 extern half3 __attribute__((overloadable)) fn(half3 v) { \
1715 extern half3 __attribute__((overloadable)) fn(half3 v1, half3 v2) { \
1732 extern half3 __attribute__((overloadable)) fn(half3 v1, half v2) { \
1752 extern half3 __attribute__((overloadable)) fn(half3 v1, half3 v2, half3 v3) { \
1775 extern half3 __attribute__((overloadable)) fn(half3 v1, int3 v2) { \
1793 extern half __attribute__((overloadable)) fn(half3 v) { \
1811 extern half __attribute__((overloadable)) fn(half3 v1, half3 v2) { \
1828 extern half3 __attribute__((overloadable)) fnc(half3 v1, half3 *v2) { \
1829 half3 ret; \
1865 extern half3 __attribute__((overloadable)) fn(half3 v1, half3 v2) { \
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h96 half3 solidColor = half3(0.0f, 0.0f, 0.0f);
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp36 sp<const Element> half3 = Element::F16_3(rs); in main() local
42 testAllocationCreation(rs, half3, nDims); in main()
/frameworks/compile/slang/tests/P_invoke_half_parameter/
Dinvoke_half_parameter.rs4 void test(half h, half2 h2, half3 h3, half4 h4) {
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drsdebug_24.rs30 half3 half3Test = {(half) 1.5f, (half) 2.5f, (half) 3.5f};
/frameworks/native/libs/ui/tools/
Dlutgen.cpp169 half3 rgb = half3(*data++); in main()
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs6 half3 h3 = {(half) 1.2f, (half) 2.3f, (half) 3.4f};
/frameworks/native/libs/math/tests/
Dhalf_test.cpp88 half3 h3(f4.xyz); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp394 t.setColor(colorLayer, half3{color.r / 255.0f, color.g / 255.0f, color.b / 255.0f}); in createColorLayer()
569 t.setColor(mBlackBgSurface, half3{0, 0, 0}); in SetUpDisplay()
1083 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P()
1084 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P()
1133 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P()
1134 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P()
1135 .setColor(relativeParent, half3{0.0f, 1.0f, 0.0f}) in TEST_P()
1658 const half3 color(15.0f / 255.0f, 51.0f / 255.0f, 85.0f / 255.0f); in TEST_P()
1689 .setColor(layer, half3(1.0f, 0, 0)) in setBackgroundColorHelper()
1716 .setBackgroundColor(layer, half3(0, 0, 1.0f), 1.0f, ui::Dataspace::UNKNOWN) in setBackgroundColorHelper()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rs78 half3 blurredPixel = 0;
/frameworks/native/libs/math/include/math/
Dvec3.h119 typedef details::TVec3<half> half3; typedef

12