| Index: webrtc/modules/video_processing/BUILD.gn
|
| diff --git a/webrtc/modules/video_processing/BUILD.gn b/webrtc/modules/video_processing/BUILD.gn
|
| index 43df0802adce5d78c8c5ef2e5c691e04d3975690..14bd457845daa3f8b758b2e1b8cacc42b492337e 100644
|
| --- a/webrtc/modules/video_processing/BUILD.gn
|
| +++ b/webrtc/modules/video_processing/BUILD.gn
|
| @@ -6,6 +6,7 @@
|
| # in the file PATENTS. All contributing project authors may
|
| # be found in the AUTHORS file in the root of the source tree.
|
|
|
| +import("//build/config/arm.gni")
|
| import("../../build/webrtc.gni")
|
|
|
| build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64"
|
| @@ -26,8 +27,14 @@ source_set("video_processing") {
|
| "include/video_processing_defines.h",
|
| "spatial_resampler.cc",
|
| "spatial_resampler.h",
|
| + "util/denoiser_filter.cc",
|
| + "util/denoiser_filter.h",
|
| + "util/skin_detection.cc",
|
| + "util/skin_detection.h",
|
| "video_decimator.cc",
|
| "video_decimator.h",
|
| + "video_denoiser.cc",
|
| + "video_denoiser.h",
|
| "video_processing_impl.cc",
|
| "video_processing_impl.h",
|
| ]
|
| @@ -41,6 +48,9 @@ source_set("video_processing") {
|
| if (build_video_processing_sse2) {
|
| deps += [ ":video_processing_sse2" ]
|
| }
|
| + if (rtc_build_with_neon) {
|
| + deps += [ ":video_processing_neon" ]
|
| + }
|
|
|
| configs += [ "../..:common_config" ]
|
| public_configs = [ "../..:common_inherited_config" ]
|
| @@ -56,6 +66,8 @@ if (build_video_processing_sse2) {
|
| source_set("video_processing_sse2") {
|
| sources = [
|
| "content_analysis_sse2.cc",
|
| + "util/denoiser_filter_sse2.cc",
|
| + "util/denoiser_filter_sse2.h",
|
| ]
|
|
|
| configs += [ "../..:common_config" ]
|
| @@ -72,3 +84,16 @@ if (build_video_processing_sse2) {
|
| }
|
| }
|
| }
|
| +
|
| +if (rtc_build_with_neon) {
|
| + source_set("video_processing_neon") {
|
| + sources = [
|
| + "util/denoiser_filter_neon.cc",
|
| + "util/denoiser_filter_neon.h",
|
| + ]
|
| + if (current_cpu != "arm64") {
|
| + configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
|
| + cflags = [ "-mfpu=neon" ]
|
| + }
|
| + }
|
| +}
|
|
|