/aosp12/frameworks/rs/script_api/include/ |
H A D | rs_math.rsh | 1058 clamp(half4 value, half4 min_value, half4 max_value); 1657 fdim(half4 a, half4 b); 1739 fma(half4 multiplicand1, half4 multiplicand2, half4 offset); 1778 fmax(half4 a, half4 b); 1841 fmin(half4 a, half4 b); 2002 fract(half4 v, half4* floor); 2193 hypot(half4 a, half4 b); 2658 max(half4 a, half4 b); 3119 min(half4 a, half4 b); 3583 mix(half4 start, half4 stop, half4 fraction); [all …]
|
H A D | rs_vector_math.rsh | 58 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 …]
|
H A D | rs_convert.rsh | 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); 1396 convert_long4(half4 v); [all …]
|
/aosp12/frameworks/compile/slang/tests/P_all_api_24/ |
H A D | all24.rscript | 6561 *(half4*)buf157 = atan2(*(half4*)buf158, *(half4*)buf159); 6569 *(half4*)buf181 = atan2pi(*(half4*)buf182, *(half4*)buf183); 6668 *(half4*)buf512 = clamp(*(half4*)buf513, *(half4*)buf514, *(half4*)buf515); 7194 *(half4*)buf1611 = fdim(*(half4*)buf1612, *(half4*)buf1613); 7210 *(half4*)buf1658 = fma(*(half4*)buf1659, *(half4*)buf1660, *(half4*)buf1661); 7218 *(half4*)buf1683 = fmax(*(half4*)buf1684, *(half4*)buf1685); 7384 *(half4*)buf2104 = mad(*(half4*)buf2105, *(half4*)buf2106, *(half4*)buf2107); 7392 *(half4*)buf2129 = max(*(half4*)buf2130, *(half4*)buf2131); 7438 *(half4*)buf2267 = min(*(half4*)buf2268, *(half4*)buf2269); 7484 *(half4*)buf2412 = mix(*(half4*)buf2413, *(half4*)buf2414, *(half4*)buf2415); [all …]
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | fp16.rscript | 44 static half4 ElementAt_half4(int x, int y, int z) { 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)
|
H A D | fp16_globals.rscript | 22 half4 gHalf4; 41 void validateHalf4(half4 h4) { 48 void test(half h, half2 h2, half3 h3, half4 h4) {
|
H A D | rsdebug_24.rscript | 29 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f};
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | threshold_half.rscript | 73 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);
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1719 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2) { \ 1757 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2, half4 v3) { \ 1839 extern half4 __attribute__((overloadable)) fnc(half4 v1, half4 *v2) { \ 1872 extern half4 __attribute__((overloadable)) fn(half4 v1, half4 v2) { \ 1911 extern half4 __attribute__((overloadable)) cross(half4 lhs, half4 rhs) { in cross() 2088 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half4 amount) { in mix() 2097 extern half4 __attribute__((overloadable)) mix(half4 start, half4 stop, half amount) { in mix() 2131 extern half4 __attribute__((overloadable)) remquo(half4 n, half4 d, int4 *quo) { in remquo() 2182 extern half4 __attribute__((overloadable)) sincos(half4 v, half4 *cosptr) { in sincos() 2207 extern half4 __attribute__((overloadable)) step(half4 edge, half4 v) { in step() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | RefreshRateOverlay.h | 50 static std::vector<sp<GraphicBuffer>> drawNumber(int number, const half4& color, 58 static void drawRect(const Rect& r, const half4& color, const sp<GraphicBuffer>& buffer, 60 static void drawSegment(Segment segment, int left, const half4& color, 62 static void drawDigit(int digit, int left, const half4& color,
|
H A D | RefreshRateOverlay.cpp | 35 void RefreshRateOverlay::SevenSegmentDrawer::drawRect(const Rect& r, const half4& color, in drawRect() 58 const half4& color, in drawSegment() 86 void RefreshRateOverlay::SevenSegmentDrawer::drawDigit(int digit, int left, const half4& color, in drawDigit() 113 int number, const half4& color, bool showSpinner) { in drawNumber() 134 drawRect(Rect(BUFFER_WIDTH, BUFFER_HEIGHT), half4(0), buffer, pixels); in drawNumber() 225 half4 color; in getOrCreateBuffers()
|
H A D | LayerProtoHelper.h | 39 static void writeToProto(const half4 color, std::function<ColorProto*()> getColorProto);
|
/aosp12/frameworks/native/libs/math/tests/ |
H A D | half_test.cpp | 88 half4 h4(f4); in TEST_F() 101 half4 h4a(f4a), h4b(f4b); in TEST_F() 103 EXPECT_NE(std::hash<half4>{}(h4a), std::hash<half4>{}(h4b)); in TEST_F()
|
/aosp12/frameworks/native/libs/gui/include/gui/ |
H A D | LayerDebugInfo.h | 56 half4 mColor = half4(1.0_hf, 1.0_hf, 1.0_hf, 0.0_hf);
|
H A D | ISurfaceComposer.h | 506 virtual status_t setGlobalShadowSettings(const half4& ambientColor, const half4& spotColor,
|
/aosp12/frameworks/rs/tests/cpp_api/cppf16/ |
H A D | compute.cpp | 37 sp<const Element> half4 = Element::F16_4(rs); in main() local 43 testAllocationCreation(rs, half4, nDims); in main()
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | reduce_general_inputs.rscript | 30 static void my_half_half4_0_accum(int *accum, half a, half4 b) { } 156 static void my_half2_half4_0_accum(int *accum, half2 a, half4 b) { } 270 static void my_half4_half_0_accum(int *accum, half4 a, half b) { } 276 static void my_half4_half2_0_accum(int *accum, half4 a, half2 b) { } 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) { } 288 static void my_half4_float_0_accum(int *accum, half4 a, float b) { } 306 static void my_half4_char_0_accum(int *accum, half4 a, char b) { } 312 static void my_half4_char2_0_accum(int *accum, half4 a, char2 b) { } 378 static void my_half4_bool_0_accum(int *accum, half4 a, bool b) { } [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
H A D | LayerProtoParser.h | 100 half4 color; 101 half4 requestedColor;
|
/aosp12/frameworks/compile/slang/tests/P_invoke_half_parameter/ |
H A D | invoke_half_parameter.rscript | 4 void test(half h, half2 h2, half3 h3, half4 h4) {
|
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/private/ |
H A D | Description.h | 64 half4 color;
|
/aosp12/frameworks/native/libs/renderengine/include/renderengine/private/ |
H A D | Description.h | 65 half4 color;
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | reduce_general_result.rscript | 22 static void my_half4_accum(half4 *accum, half4 val) { } 23 static void my_half4_comb(half4 *accum, const half4 *other) { } 36 typedef half4 array_half4[7]; 37 static void my_array_half4_accum(array_half4 *accum, half4 val) { }
|
/aosp12/frameworks/compile/slang/tests/P_export_types/ |
H A D | export_types.rscript | 7 half4 h4 = {(half) 1.2f, (half) 2.3f, (half) 3.4f, (half) 4.5f};
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
H A D | LayerFECompositionState.h | 172 half4 color;
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | rsdebug_24.rscript | 31 half4 half4Test = {(half) 0.f, (half) -0.f, (half) 1.f/0.f, (half) 0.f/0.f};
|