OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
11 | 11 |
12 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" | 12 build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64" |
13 | 13 |
14 rtc_static_library("video_processing") { | 14 rtc_static_library("video_processing") { |
15 sources = [ | 15 sources = [ |
16 "frame_preprocessor.cc", | |
17 "frame_preprocessor.h", | |
18 "include/video_processing.h", | |
19 "include/video_processing_defines.h", | |
20 "spatial_resampler.cc", | |
21 "spatial_resampler.h", | |
22 "util/denoiser_filter.cc", | 16 "util/denoiser_filter.cc", |
23 "util/denoiser_filter.h", | 17 "util/denoiser_filter.h", |
24 "util/denoiser_filter_c.cc", | 18 "util/denoiser_filter_c.cc", |
25 "util/denoiser_filter_c.h", | 19 "util/denoiser_filter_c.h", |
26 "util/noise_estimation.cc", | 20 "util/noise_estimation.cc", |
27 "util/noise_estimation.h", | 21 "util/noise_estimation.h", |
28 "util/skin_detection.cc", | 22 "util/skin_detection.cc", |
29 "util/skin_detection.h", | 23 "util/skin_detection.h", |
30 "video_decimator.cc", | |
31 "video_decimator.h", | |
32 "video_denoiser.cc", | 24 "video_denoiser.cc", |
33 "video_denoiser.h", | 25 "video_denoiser.h", |
34 "video_processing_impl.cc", | |
35 "video_processing_impl.h", | |
36 ] | 26 ] |
37 | 27 |
38 deps = [ | 28 deps = [ |
39 "../../common_audio", | 29 "../../common_audio", |
40 "../../common_video", | 30 "../../common_video", |
41 "../../modules/utility", | 31 "../../modules/utility", |
42 "../../system_wrappers", | 32 "../../system_wrappers", |
43 ] | 33 ] |
44 if (build_video_processing_sse2) { | 34 if (build_video_processing_sse2) { |
45 deps += [ ":video_processing_sse2" ] | 35 deps += [ ":video_processing_sse2" ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 sources = [ | 67 sources = [ |
78 "util/denoiser_filter_neon.cc", | 68 "util/denoiser_filter_neon.cc", |
79 "util/denoiser_filter_neon.h", | 69 "util/denoiser_filter_neon.h", |
80 ] | 70 ] |
81 if (current_cpu != "arm64") { | 71 if (current_cpu != "arm64") { |
82 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] | 72 suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ] |
83 cflags = [ "-mfpu=neon" ] | 73 cflags = [ "-mfpu=neon" ] |
84 } | 74 } |
85 } | 75 } |
86 } | 76 } |
OLD | NEW |