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

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

Issue 2616393003: Periodically update channel parameters and send TargetBitrate message. (Closed)
Patch Set: Rebase Created 3 years, 11 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/video_sender_unittest.cc ('k') | webrtc/video/vie_encoder.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) 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Used to make sure incoming time stamp is increasing for every frame. 228 // Used to make sure incoming time stamp is increasing for every frame.
229 int64_t last_captured_timestamp_ GUARDED_BY(incoming_frame_race_checker_); 229 int64_t last_captured_timestamp_ GUARDED_BY(incoming_frame_race_checker_);
230 // Delta used for translating between NTP and internal timestamps. 230 // Delta used for translating between NTP and internal timestamps.
231 const int64_t delta_ntp_internal_ms_ GUARDED_BY(incoming_frame_race_checker_); 231 const int64_t delta_ntp_internal_ms_ GUARDED_BY(incoming_frame_race_checker_);
232 232
233 int64_t last_frame_log_ms_ GUARDED_BY(incoming_frame_race_checker_); 233 int64_t last_frame_log_ms_ GUARDED_BY(incoming_frame_race_checker_);
234 int captured_frame_count_ ACCESS_ON(&encoder_queue_); 234 int captured_frame_count_ ACCESS_ON(&encoder_queue_);
235 int dropped_frame_count_ ACCESS_ON(&encoder_queue_); 235 int dropped_frame_count_ ACCESS_ON(&encoder_queue_);
236 236
237 VideoBitrateAllocationObserver* bitrate_observer_ ACCESS_ON(&encoder_queue_); 237 VideoBitrateAllocationObserver* bitrate_observer_ ACCESS_ON(&encoder_queue_);
238 rtc::Optional<int64_t> last_parameters_update_ms_ ACCESS_ON(&encoder_queue_);
238 239
239 // All public methods are proxied to |encoder_queue_|. It must must be 240 // All public methods are proxied to |encoder_queue_|. It must must be
240 // destroyed first to make sure no tasks are run that use other members. 241 // destroyed first to make sure no tasks are run that use other members.
241 rtc::TaskQueue encoder_queue_; 242 rtc::TaskQueue encoder_queue_;
242 243
243 RTC_DISALLOW_COPY_AND_ASSIGN(ViEEncoder); 244 RTC_DISALLOW_COPY_AND_ASSIGN(ViEEncoder);
244 }; 245 };
245 246
246 } // namespace webrtc 247 } // namespace webrtc
247 248
248 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ 249 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_sender_unittest.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698