Home
last modified time | relevance | path

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

123

/frameworks/native/services/surfaceflinger/tests/utils/
DColorUtils.h54 static void DegammaColor(half3& color) { in DegammaColor()
68 static void GammaColor(half3& color) { in GammaColor()
74 static void applyMatrix(half3& color, const mat3& mat) { in applyMatrix()
75 half3 ret = half3(0); in applyMatrix()
/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/native/libs/gui/tests/
DSamplingDemo.cpp52 .setColor(mButton, half3{1, 1, 1}) in Button()
65 .setColor(mButtonBlend, half3{1, 1, 1}) in Button()
80 .setColor(mSamplingArea, half3{0, 1, 0}) in Button()
97 .setColor(mButton, half3{complement, complement, complement}) in setColor()
98 .setColor(mButtonBlend, half3{color, color, color}) in setColor()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.h88 const half3 LOW_FPS_COLOR = half3(1.0f, 0.0f, 0.0f);
89 const half3 HIGH_FPS_COLOR = half3(0.0f, 1.0f, 0.0f);
DEffectLayer.h41 bool setColor(const half3& color) override;
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript6504 *(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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dfp16.rscript38 static half3 ElementAt_half3(int x, int y, int z) {
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.rscript21 half3 gHalf3;
35 void validateHalf3(half3 h3) {
48 void test(half h, half2 h2, half3 h3, half4 h4) {
Drsdebug_24.rscript28 half3 half3Test = {(half) 1.5f, (half) 2.5f, (half) 3.5f};
/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/services/surfaceflinger/tests/
DLayerTypeTransaction_test.cpp84 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P()
85 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P()
129 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P()
130 .setColor(parent, half3{0.0f, 0.0f, 0.0f}) in TEST_P()
131 .setColor(relativeParent, half3{0.0f, 1.0f, 0.0f}) in TEST_P()
DLayerUpdate_test.cpp613 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
639 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
665 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
699 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
737 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
766 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
DLayerRenderTypeTransaction_test.cpp473 const half3 color(15.0f / 255.0f, 51.0f / 255.0f, 85.0f / 255.0f); in TEST_P()
504 .setColor(layer, half3(1.0f, 0, 0)) in setBackgroundColorHelper()
531 .setBackgroundColor(layer, half3(0, 0, 1.0f), 1.0f, ui::Dataspace::UNKNOWN) in setBackgroundColorHelper()
543 .setBackgroundColor(layer, half3(0, 1.0f, 0), alpha, ui::Dataspace::UNKNOWN) in setBackgroundColorHelper()
639 .setColor(colorLayer, half3(2.0f, 0.0f, 0.0f)) in TEST_P()
653 .setColor(colorLayer, half3(1.0f, -1.0f, 0.5f)) in TEST_P()
669 const half3 color(15.0f / 255.0f, 51.0f / 255.0f, 85.0f / 255.0f); in TEST_P()
695 const half3 color(15.0f / 255.0f, 51.0f / 255.0f, 85.0f / 255.0f); in TEST_P()
1467 const half3 color(50.0f / 255.0f, 100.0f / 255.0f, 150.0f / 255.0f); in TEST_P()
1468 half3 expected = color; in TEST_P()
[all …]
DMirrorLayer_test.cpp88 Transaction().setColor(grandchild, half3{1, 1, 1}).apply(); in TEST_F()
99 Transaction().setColor(mChildLayer, half3{0, 0, 0}).apply(); in TEST_F()
/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.rscript4 void test(half h, half2 h2, half3 h3, half4 h4) {
/frameworks/native/libs/renderengine/skia/
DCache.cpp93 .solidColor = half3(0.f, 0.f, 0.f), in drawShadowLayers()
172 .solidColor = half3(0.1f, 0.2f, 0.3f), in drawSolidLayers()
231 PixelSource colorSource{.solidColor = half3(0.1f, 0.2f, 0.3f)}; in drawClippedLayers()
311 .solidColor = half3(0.f, 0.f, 0.f), in drawHolePunchLayer()
/frameworks/native/libs/ui/tools/
Dlutgen.cpp169 half3 rgb = half3(*data++); in main()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h100 half3 solidColor = half3(0.0f, 0.0f, 0.0f);
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rscript6 half3 h3 = {(half) 1.2f, (half) 2.3f, (half) 3.4f};
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h102 half3 solidColor = half3(0.0f, 0.0f, 0.0f);
/frameworks/native/libs/math/tests/
Dhalf_test.cpp89 half3 h3(f4.xyz); in TEST_F()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Drsdebug_24.rscript30 half3 half3Test = {(half) 1.5f, (half) 2.5f, (half) 3.5f};

123