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

Side by Side Diff: webrtc/video/video_receive_stream.h

Issue 1751903002: Replace scoped_ptr with unique_ptr in webrtc/video/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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/video/video_quality_test.cc ('k') | webrtc/video/video_send_stream_tests.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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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_VIDEO_VIDEO_RECEIVE_STREAM_H_ 11 #ifndef WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
12 #define WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 12 #define WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
13 13
14 #include <memory>
14 #include <vector> 15 #include <vector>
15 16
16 #include "webrtc/base/scoped_ptr.h"
17 #include "webrtc/call.h" 17 #include "webrtc/call.h"
18 #include "webrtc/call/transport_adapter.h" 18 #include "webrtc/call/transport_adapter.h"
19 #include "webrtc/common_video/include/incoming_video_stream.h" 19 #include "webrtc/common_video/include/incoming_video_stream.h"
20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
21 #include "webrtc/modules/video_render/video_render_defines.h" 21 #include "webrtc/modules/video_render/video_render_defines.h"
22 #include "webrtc/system_wrappers/include/clock.h" 22 #include "webrtc/system_wrappers/include/clock.h"
23 #include "webrtc/video/encoded_frame_callback_adapter.h" 23 #include "webrtc/video/encoded_frame_callback_adapter.h"
24 #include "webrtc/video/receive_statistics_proxy.h" 24 #include "webrtc/video/receive_statistics_proxy.h"
25 #include "webrtc/video/vie_channel.h" 25 #include "webrtc/video/vie_channel.h"
26 #include "webrtc/video/vie_encoder.h" 26 #include "webrtc/video/vie_encoder.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const VideoReceiveStream::Config config_; 88 const VideoReceiveStream::Config config_;
89 ProcessThread* const process_thread_; 89 ProcessThread* const process_thread_;
90 Clock* const clock_; 90 Clock* const clock_;
91 91
92 rtc::PlatformThread decode_thread_; 92 rtc::PlatformThread decode_thread_;
93 93
94 CongestionController* const congestion_controller_; 94 CongestionController* const congestion_controller_;
95 CallStats* const call_stats_; 95 CallStats* const call_stats_;
96 VieRemb* const remb_; 96 VieRemb* const remb_;
97 97
98 rtc::scoped_ptr<VideoCodingModule> vcm_; 98 std::unique_ptr<VideoCodingModule> vcm_;
99 IncomingVideoStream incoming_video_stream_; 99 IncomingVideoStream incoming_video_stream_;
100 ReceiveStatisticsProxy stats_proxy_; 100 ReceiveStatisticsProxy stats_proxy_;
101 ViEChannel vie_channel_; 101 ViEChannel vie_channel_;
102 ViEReceiver* const vie_receiver_; 102 ViEReceiver* const vie_receiver_;
103 ViESyncModule vie_sync_; 103 ViESyncModule vie_sync_;
104 RtpRtcp* const rtp_rtcp_; 104 RtpRtcp* const rtp_rtcp_;
105 }; 105 };
106 } // namespace internal 106 } // namespace internal
107 } // namespace webrtc 107 } // namespace webrtc
108 108
109 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 109 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_quality_test.cc ('k') | webrtc/video/video_send_stream_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698