Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: webrtc/modules/video_processing/util/denoiser_filter.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_coding/video_sender.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/base/checks.h"
11 #include "webrtc/modules/video_processing/util/denoiser_filter.h" 12 #include "webrtc/modules/video_processing/util/denoiser_filter.h"
12 #include "webrtc/modules/video_processing/util/denoiser_filter_c.h" 13 #include "webrtc/modules/video_processing/util/denoiser_filter_c.h"
13 #include "webrtc/modules/video_processing/util/denoiser_filter_neon.h" 14 #include "webrtc/modules/video_processing/util/denoiser_filter_neon.h"
14 #include "webrtc/modules/video_processing/util/denoiser_filter_sse2.h" 15 #include "webrtc/modules/video_processing/util/denoiser_filter_sse2.h"
15 #include "webrtc/rtc_base/checks.h"
16 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" 16 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
17 17
18 namespace webrtc { 18 namespace webrtc {
19 19
20 const int kMotionMagnitudeThreshold = 8 * 3; 20 const int kMotionMagnitudeThreshold = 8 * 3;
21 const int kSumDiffThreshold = 96; 21 const int kSumDiffThreshold = 96;
22 const int kSumDiffThresholdHigh = 448; 22 const int kSumDiffThresholdHigh = 448;
23 23
24 std::unique_ptr<DenoiserFilter> DenoiserFilter::Create( 24 std::unique_ptr<DenoiserFilter> DenoiserFilter::Create(
25 bool runtime_cpu_detection, 25 bool runtime_cpu_detection,
(...skipping 24 matching lines...) Expand all
50 #endif 50 #endif
51 } else { 51 } else {
52 filter.reset(new DenoiserFilterC()); 52 filter.reset(new DenoiserFilterC());
53 } 53 }
54 54
55 RTC_DCHECK(filter.get() != nullptr); 55 RTC_DCHECK(filter.get() != nullptr);
56 return filter; 56 return filter;
57 } 57 }
58 58
59 } // namespace webrtc 59 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_sender.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698