Fix platform-specific header dependencies to be more precise
Make the GN conditionals match what happens in sources, or the other way around. Include headers only when they're used. Bug: None Change-Id: Ib8e3346e3c24eaa7e61ac4776dcd66efe2cc5c65 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/144880 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28500}
This commit is contained in:
@ -10,12 +10,16 @@
|
||||
|
||||
#include "modules/video_processing/util/denoiser_filter.h"
|
||||
#include "modules/video_processing/util/denoiser_filter_c.h"
|
||||
#include "modules/video_processing/util/denoiser_filter_neon.h"
|
||||
#include "modules/video_processing/util/denoiser_filter_sse2.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/system/arch.h"
|
||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||
|
||||
#if defined(WEBRTC_ARCH_X86_FAMILY)
|
||||
#include "modules/video_processing/util/denoiser_filter_sse2.h"
|
||||
#elif defined(WEBRTC_HAS_NEON)
|
||||
#include "modules/video_processing/util/denoiser_filter_neon.h"
|
||||
#endif
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
const int kMotionMagnitudeThreshold = 8 * 3;
|
||||
|
||||
Reference in New Issue
Block a user