xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 8 | |
| 9 | { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'video_processing', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 14 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 15 | 'webrtc_utility', |
andrew@webrtc.org | 3423537 | 2013-04-30 23:43:26 +0000 | [diff] [blame] | 16 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
andrew@webrtc.org | fa418ac | 2012-09-11 01:34:21 +0000 | [diff] [blame] | 17 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 18 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 19 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 20 | 'sources': [ |
Henrik Kjellander | 0f59a88 | 2015-11-18 22:31:24 +0100 | [diff] [blame] | 21 | 'include/video_processing.h', |
| 22 | 'include/video_processing_defines.h', |
Henrik Kjellander | 0f59a88 | 2015-11-18 22:31:24 +0100 | [diff] [blame] | 23 | 'brightness_detection.cc', |
| 24 | 'brightness_detection.h', |
| 25 | 'content_analysis.cc', |
| 26 | 'content_analysis.h', |
| 27 | 'deflickering.cc', |
| 28 | 'deflickering.h', |
| 29 | 'frame_preprocessor.cc', |
| 30 | 'frame_preprocessor.h', |
| 31 | 'spatial_resampler.cc', |
| 32 | 'spatial_resampler.h', |
| 33 | 'video_decimator.cc', |
| 34 | 'video_decimator.h', |
| 35 | 'video_processing_impl.cc', |
| 36 | 'video_processing_impl.h', |
jackychen | 8f9902a | 2015-11-26 02:59:48 -0800 | [diff] [blame] | 37 | 'video_denoiser.cc', |
| 38 | 'video_denoiser.h', |
| 39 | 'util/denoiser_filter.cc', |
| 40 | 'util/denoiser_filter.h', |
| 41 | 'util/denoiser_filter_c.cc', |
| 42 | 'util/denoiser_filter_c.h', |
jackychen | fa0befe | 2016-04-01 07:46:58 -0700 | [diff] [blame^] | 43 | 'util/noise_estimation.cc', |
| 44 | 'util/noise_estimation.h', |
jackychen | 8f9902a | 2015-11-26 02:59:48 -0800 | [diff] [blame] | 45 | 'util/skin_detection.cc', |
| 46 | 'util/skin_detection.h', |
andrew@webrtc.org | c8d012f | 2012-01-13 19:43:09 +0000 | [diff] [blame] | 47 | ], |
| 48 | 'conditions': [ |
| 49 | ['target_arch=="ia32" or target_arch=="x64"', { |
| 50 | 'dependencies': [ 'video_processing_sse2', ], |
| 51 | }], |
jackychen | 8f9902a | 2015-11-26 02:59:48 -0800 | [diff] [blame] | 52 | ['target_arch=="arm" or target_arch == "arm64"', { |
| 53 | 'dependencies': [ 'video_processing_neon', ], |
| 54 | }], |
andrew@webrtc.org | c8d012f | 2012-01-13 19:43:09 +0000 | [diff] [blame] | 55 | ], |
| 56 | }, |
andrew@webrtc.org | 737c023 | 2012-02-14 19:57:50 +0000 | [diff] [blame] | 57 | ], |
| 58 | 'conditions': [ |
| 59 | ['target_arch=="ia32" or target_arch=="x64"', { |
| 60 | 'targets': [ |
| 61 | { |
| 62 | 'target_name': 'video_processing_sse2', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 63 | 'type': 'static_library', |
andrew@webrtc.org | 737c023 | 2012-02-14 19:57:50 +0000 | [diff] [blame] | 64 | 'sources': [ |
Henrik Kjellander | 0f59a88 | 2015-11-18 22:31:24 +0100 | [diff] [blame] | 65 | 'content_analysis_sse2.cc', |
jackychen | 8f9902a | 2015-11-26 02:59:48 -0800 | [diff] [blame] | 66 | 'util/denoiser_filter_sse2.cc', |
| 67 | 'util/denoiser_filter_sse2.h', |
andrew@webrtc.org | 737c023 | 2012-02-14 19:57:50 +0000 | [diff] [blame] | 68 | ], |
andrew@webrtc.org | 737c023 | 2012-02-14 19:57:50 +0000 | [diff] [blame] | 69 | 'conditions': [ |
| 70 | ['os_posix==1 and OS!="mac"', { |
| 71 | 'cflags': [ '-msse2', ], |
| 72 | }], |
| 73 | ['OS=="mac"', { |
| 74 | 'xcode_settings': { |
| 75 | 'OTHER_CFLAGS': [ '-msse2', ], |
| 76 | }, |
| 77 | }], |
| 78 | ], |
| 79 | }, |
andrew@webrtc.org | c8d012f | 2012-01-13 19:43:09 +0000 | [diff] [blame] | 80 | ], |
andrew@webrtc.org | 737c023 | 2012-02-14 19:57:50 +0000 | [diff] [blame] | 81 | }], |
jackychen | 8f9902a | 2015-11-26 02:59:48 -0800 | [diff] [blame] | 82 | ['target_arch=="arm" or target_arch == "arm64"', { |
| 83 | 'targets': [ |
| 84 | { |
| 85 | 'target_name': 'video_processing_neon', |
| 86 | 'type': 'static_library', |
| 87 | 'includes': [ '../../build/arm_neon.gypi', ], |
| 88 | 'sources': [ |
| 89 | 'util/denoiser_filter_neon.cc', |
| 90 | 'util/denoiser_filter_neon.h', |
| 91 | ], |
| 92 | }, |
| 93 | ], |
| 94 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 95 | ], |
| 96 | } |
| 97 | |