From f2d8c89c4f029506e3eed389fcbc30769c3040f0 Mon Sep 17 00:00:00 2001 From: zyyj208 Date: Sat, 23 Aug 2025 12:47:49 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E5=88=A0=E9=99=A4"-fvisibility=3Dhidden"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zyyj208 --- frameworks/native/BUILD.gn | 2 -- 1 file changed, 2 deletions(-) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index aa42ec8..26a38fa 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -150,7 +150,6 @@ ohos_shared_library("image_effect_impl") { "-fdata-sections", "-fno-rtti", "-Os", - "-fvisibility=hidden", ] ldflags = [ "-Wl,--gc-sections" ] @@ -185,7 +184,6 @@ ohos_shared_library("image_effect") { "$image_effect_root_dir/frameworks/native/capi/image_effect.cpp", "$image_effect_root_dir/frameworks/native/capi/image_effect_filter.cpp", "$image_effect_root_dir/frameworks/native/capi/native_common_utils.cpp", - "$image_effect_root_dir/frameworks/native/utils/common/any.cpp", ] use_exceptions = true -- Gitee From 5ce2249b9aa2ecb1003dc4ee814769f09b2736cf Mon Sep 17 00:00:00 2001 From: zyyj208 Date: Sat, 23 Aug 2025 12:49:48 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E5=88=A0=E9=99=A4"-fvisibility=3Dhidden"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zyyj208 --- frameworks/native/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index 26a38fa..d0c4aa5 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -184,6 +184,7 @@ ohos_shared_library("image_effect") { "$image_effect_root_dir/frameworks/native/capi/image_effect.cpp", "$image_effect_root_dir/frameworks/native/capi/image_effect_filter.cpp", "$image_effect_root_dir/frameworks/native/capi/native_common_utils.cpp", + "$image_effect_root_dir/frameworks/native/utils/common/any.cpp", ] use_exceptions = true -- Gitee From 9a4b2d8b067fbcac44d39b1dd60deb8d0b913971 Mon Sep 17 00:00:00 2001 From: zyyj208 Date: Mon, 25 Aug 2025 02:47:12 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BD=BF=E7=94=A8export=E8=AE=A9RenderStra?= =?UTF-8?q?tegy=E7=B1=BB=E7=9A=84=E7=AC=A6=E5=8F=B7=E5=8F=AF=E8=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zyyj208 --- frameworks/native/BUILD.gn | 1 + frameworks/native/efilter/base/render_strategy.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frameworks/native/BUILD.gn b/frameworks/native/BUILD.gn index d0c4aa5..aa42ec8 100644 --- a/frameworks/native/BUILD.gn +++ b/frameworks/native/BUILD.gn @@ -150,6 +150,7 @@ ohos_shared_library("image_effect_impl") { "-fdata-sections", "-fno-rtti", "-Os", + "-fvisibility=hidden", ] ldflags = [ "-Wl,--gc-sections" ] diff --git a/frameworks/native/efilter/base/render_strategy.h b/frameworks/native/efilter/base/render_strategy.h index 20312d3..ff9795a 100644 --- a/frameworks/native/efilter/base/render_strategy.h +++ b/frameworks/native/efilter/base/render_strategy.h @@ -22,7 +22,8 @@ namespace OHOS { namespace Media { namespace Effect { -class RenderStrategy { +#define EXPORT __attribute__ ((visibility ("default"))) +class EXPORT RenderStrategy { public: RenderStrategy() = default; ~RenderStrategy() = default; -- Gitee