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

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

Issue 1652983002: Remove mutable from rtc::CriticalSections. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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/video/vie_channel.h ('k') | webrtc/video/vie_remb.h » ('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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 151 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
152 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 152 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
153 153
154 const uint32_t number_of_cores_; 154 const uint32_t number_of_cores_;
155 155
156 const rtc::scoped_ptr<VideoProcessing> vp_; 156 const rtc::scoped_ptr<VideoProcessing> vp_;
157 const rtc::scoped_ptr<QMVideoSettingsCallback> qm_callback_; 157 const rtc::scoped_ptr<QMVideoSettingsCallback> qm_callback_;
158 const rtc::scoped_ptr<VideoCodingModule> vcm_; 158 const rtc::scoped_ptr<VideoCodingModule> vcm_;
159 rtc::scoped_refptr<PayloadRouter> send_payload_router_; 159 rtc::scoped_refptr<PayloadRouter> send_payload_router_;
160 160
161 mutable rtc::CriticalSection data_cs_; 161 rtc::CriticalSection data_cs_;
162 rtc::scoped_ptr<BitrateObserver> bitrate_observer_; 162 rtc::scoped_ptr<BitrateObserver> bitrate_observer_;
163 163
164 SendStatisticsProxy* const stats_proxy_; 164 SendStatisticsProxy* const stats_proxy_;
165 I420FrameCallback* const pre_encode_callback_; 165 I420FrameCallback* const pre_encode_callback_;
166 PacedSender* const pacer_; 166 PacedSender* const pacer_;
167 BitrateAllocator* const bitrate_allocator_; 167 BitrateAllocator* const bitrate_allocator_;
168 168
169 // The time we last received an input frame or encoded frame. This is used to 169 // The time we last received an input frame or encoded frame. This is used to
170 // track when video is stopped long enough that we also want to stop sending 170 // track when video is stopped long enough that we also want to stop sending
171 // padding. 171 // padding.
(...skipping 15 matching lines...) Expand all
187 bool has_received_rpsi_ GUARDED_BY(data_cs_); 187 bool has_received_rpsi_ GUARDED_BY(data_cs_);
188 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 188 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
189 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); 189 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_);
190 190
191 bool video_suspended_ GUARDED_BY(data_cs_); 191 bool video_suspended_ GUARDED_BY(data_cs_);
192 }; 192 };
193 193
194 } // namespace webrtc 194 } // namespace webrtc
195 195
196 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ 196 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/video/vie_channel.h ('k') | webrtc/video/vie_remb.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698