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

Side by Side Diff: webrtc/media/base/videoadapter.h

Issue 1728503002: Replace scoped_ptr with unique_ptr in webrtc/media/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up1
Patch Set: Created 4 years, 10 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/media/base/testutils.cc ('k') | webrtc/media/base/videoadapter_unittest.cc » ('j') | 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) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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_MEDIA_BASE_VIDEOADAPTER_H_ // NOLINT 11 #ifndef WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ // NOLINT
12 #define WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ 12 #define WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_
13 13
14 #include "webrtc/base/common.h" // For ASSERT 14 #include "webrtc/base/common.h" // For ASSERT
15 #include "webrtc/base/criticalsection.h" 15 #include "webrtc/base/criticalsection.h"
16 #include "webrtc/base/scoped_ptr.h"
17 #include "webrtc/base/sigslot.h" 16 #include "webrtc/base/sigslot.h"
18 #include "webrtc/media/base/videocommon.h" 17 #include "webrtc/media/base/videocommon.h"
19 18
20 namespace cricket { 19 namespace cricket {
21 20
22 class VideoFrame; 21 class VideoFrame;
23 22
24 // VideoAdapter adapts an input video frame to an output frame based on the 23 // VideoAdapter adapts an input video frame to an output frame based on the
25 // specified input and output formats. The adaptation includes dropping frames 24 // specified input and output formats. The adaptation includes dropping frames
26 // to reduce frame rate and scaling frames. VideoAdapter is thread safe. 25 // to reduce frame rate and scaling frames. VideoAdapter is thread safe.
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // The weighted average of cpu load over time. It's always updated (if cpu 182 // The weighted average of cpu load over time. It's always updated (if cpu
184 // adaptation is on), but only used if cpu_smoothing_ is set. 183 // adaptation is on), but only used if cpu_smoothing_ is set.
185 float system_load_average_; 184 float system_load_average_;
186 185
187 RTC_DISALLOW_COPY_AND_ASSIGN(CoordinatedVideoAdapter); 186 RTC_DISALLOW_COPY_AND_ASSIGN(CoordinatedVideoAdapter);
188 }; 187 };
189 188
190 } // namespace cricket 189 } // namespace cricket
191 190
192 #endif // WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ // NOLINT 191 #endif // WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ // NOLINT
OLDNEW
« no previous file with comments | « webrtc/media/base/testutils.cc ('k') | webrtc/media/base/videoadapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698