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

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

Issue 1482913003: Initial VideoProcessing refactoring. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More lint. Created 5 years 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
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 uint8_t fraction_lost, 145 uint8_t fraction_lost,
146 int64_t round_trip_time_ms); 146 int64_t round_trip_time_ms);
147 147
148 private: 148 private:
149 bool EncoderPaused() const EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 149 bool EncoderPaused() const EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
150 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 150 void TraceFrameDropStart() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
151 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_); 151 void TraceFrameDropEnd() EXCLUSIVE_LOCKS_REQUIRED(data_cs_);
152 152
153 const uint32_t number_of_cores_; 153 const uint32_t number_of_cores_;
154 154
155 const rtc::scoped_ptr<VideoProcessingModule> vpm_; 155 const rtc::scoped_ptr<VideoProcessing> vp_;
156 const rtc::scoped_ptr<QMVideoSettingsCallback> qm_callback_; 156 const rtc::scoped_ptr<QMVideoSettingsCallback> qm_callback_;
157 const rtc::scoped_ptr<VideoCodingModule> vcm_; 157 const rtc::scoped_ptr<VideoCodingModule> vcm_;
158 rtc::scoped_refptr<PayloadRouter> send_payload_router_; 158 rtc::scoped_refptr<PayloadRouter> send_payload_router_;
159 159
160 rtc::scoped_ptr<CriticalSectionWrapper> data_cs_; 160 rtc::scoped_ptr<CriticalSectionWrapper> data_cs_;
161 rtc::scoped_ptr<BitrateObserver> bitrate_observer_; 161 rtc::scoped_ptr<BitrateObserver> bitrate_observer_;
162 162
163 SendStatisticsProxy* const stats_proxy_; 163 SendStatisticsProxy* const stats_proxy_;
164 I420FrameCallback* const pre_encode_callback_; 164 I420FrameCallback* const pre_encode_callback_;
165 PacedSender* const pacer_; 165 PacedSender* const pacer_;
(...skipping 20 matching lines...) Expand all
186 bool has_received_rpsi_ GUARDED_BY(data_cs_); 186 bool has_received_rpsi_ GUARDED_BY(data_cs_);
187 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 187 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
188 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); 188 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_);
189 189
190 bool video_suspended_ GUARDED_BY(data_cs_); 190 bool video_suspended_ GUARDED_BY(data_cs_);
191 }; 191 };
192 192
193 } // namespace webrtc 193 } // namespace webrtc
194 194
195 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_ 195 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698