| OLD | NEW |
| (Empty) |
| 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. | |
| 8 | |
| 9 { | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'video_processing', | |
| 13 'type': 'static_library', | |
| 14 'dependencies': [ | |
| 15 'webrtc_utility', | |
| 16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 17 '<(webrtc_root)/common_video/common_video.gyp:common_video', | |
| 18 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 19 ], | |
| 20 'sources': [ | |
| 21 'include/video_processing.h', | |
| 22 'include/video_processing_defines.h', | |
| 23 'frame_preprocessor.cc', | |
| 24 'frame_preprocessor.h', | |
| 25 'spatial_resampler.cc', | |
| 26 'spatial_resampler.h', | |
| 27 'video_decimator.cc', | |
| 28 'video_decimator.h', | |
| 29 'video_processing_impl.cc', | |
| 30 'video_processing_impl.h', | |
| 31 'video_denoiser.cc', | |
| 32 'video_denoiser.h', | |
| 33 'util/denoiser_filter.cc', | |
| 34 'util/denoiser_filter.h', | |
| 35 'util/denoiser_filter_c.cc', | |
| 36 'util/denoiser_filter_c.h', | |
| 37 'util/noise_estimation.cc', | |
| 38 'util/noise_estimation.h', | |
| 39 'util/skin_detection.cc', | |
| 40 'util/skin_detection.h', | |
| 41 ], | |
| 42 'conditions': [ | |
| 43 ['target_arch=="ia32" or target_arch=="x64"', { | |
| 44 'dependencies': [ 'video_processing_sse2', ], | |
| 45 }], | |
| 46 ['target_arch=="arm" or target_arch == "arm64"', { | |
| 47 'dependencies': [ 'video_processing_neon', ], | |
| 48 }], | |
| 49 ], | |
| 50 }, | |
| 51 ], | |
| 52 'conditions': [ | |
| 53 ['target_arch=="ia32" or target_arch=="x64"', { | |
| 54 'targets': [ | |
| 55 { | |
| 56 'target_name': 'video_processing_sse2', | |
| 57 'type': 'static_library', | |
| 58 'sources': [ | |
| 59 'util/denoiser_filter_sse2.cc', | |
| 60 'util/denoiser_filter_sse2.h', | |
| 61 ], | |
| 62 'conditions': [ | |
| 63 ['os_posix==1 and OS!="mac"', { | |
| 64 'cflags': [ '-msse2', ], | |
| 65 }], | |
| 66 ['OS=="mac"', { | |
| 67 'xcode_settings': { | |
| 68 'OTHER_CFLAGS': [ '-msse2', ], | |
| 69 }, | |
| 70 }], | |
| 71 ], | |
| 72 }, | |
| 73 ], | |
| 74 }], | |
| 75 ['target_arch=="arm" or target_arch == "arm64"', { | |
| 76 'targets': [ | |
| 77 { | |
| 78 'target_name': 'video_processing_neon', | |
| 79 'type': 'static_library', | |
| 80 'includes': [ '../../build/arm_neon.gypi', ], | |
| 81 'sources': [ | |
| 82 'util/denoiser_filter_neon.cc', | |
| 83 'util/denoiser_filter_neon.h', | |
| 84 ], | |
| 85 }, | |
| 86 ], | |
| 87 }], | |
| 88 ], | |
| 89 } | |
| 90 | |
| OLD | NEW |