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

Side by Side Diff: webrtc/modules/video_processing/util/noise_estimation.h

Issue 1923133002: Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Don't remove #include "scoped_ptr.h" from .h files Created 4 years, 7 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/packet_buffer_unittest.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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_
12 #define WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_ 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_
13 13
14 #include <memory>
15
14 #include "webrtc/base/scoped_ptr.h" 16 #include "webrtc/base/scoped_ptr.h"
15 #include "webrtc/modules/include/module_common_types.h" 17 #include "webrtc/modules/include/module_common_types.h"
16 #include "webrtc/modules/video_processing/include/video_processing_defines.h" 18 #include "webrtc/modules/video_processing/include/video_processing_defines.h"
17 #include "webrtc/modules/video_processing/util/denoiser_filter.h" 19 #include "webrtc/modules/video_processing/util/denoiser_filter.h"
18 20
19 namespace webrtc { 21 namespace webrtc {
20 22
21 #define DISPLAY 0 // Rectangle diagnostics 23 #define DISPLAY 0 // Rectangle diagnostics
22 #define DISPLAYNEON 0 // Rectangle diagnostics on NEON 24 #define DISPLAYNEON 0 // Rectangle diagnostics on NEON
23 25
(...skipping 30 matching lines...) Expand all
54 CpuType cpu_type_; 56 CpuType cpu_type_;
55 uint32_t noise_var_; 57 uint32_t noise_var_;
56 double noise_var_accum_; 58 double noise_var_accum_;
57 double percent_static_block_; 59 double percent_static_block_;
58 std::unique_ptr<uint32_t[]> consec_low_var_; 60 std::unique_ptr<uint32_t[]> consec_low_var_;
59 }; 61 };
60 62
61 } // namespace webrtc 63 } // namespace webrtc
62 64
63 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_ 65 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_NOISE_ESTIMATION_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/packet_buffer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698