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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h

Issue 2624073003: Rename incoming_framerate_ to capture_framerate_ in screenshare_layers. (Closed)
Patch Set: 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 | « no previous file | webrtc/modules/video_coding/codecs/vp8/screenshare_layers.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 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
2 * 2 *
3 * Use of this source code is governed by a BSD-style license 3 * Use of this source code is governed by a BSD-style license
4 * that can be found in the LICENSE file in the root of the source 4 * that can be found in the LICENSE file in the root of the source
5 * tree. An additional intellectual property rights grant can be found 5 * tree. An additional intellectual property rights grant can be found
6 * in the file PATENTS. All contributing project authors may 6 * in the file PATENTS. All contributing project authors may
7 * be found in the AUTHORS file in the root of the source tree. 7 * be found in the AUTHORS file in the root of the source tree.
8 */ 8 */
9 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_ 9 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_
10 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_ 10 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int64_t last_sync_timestamp_; 72 int64_t last_sync_timestamp_;
73 int64_t last_emitted_tl0_timestamp_; 73 int64_t last_emitted_tl0_timestamp_;
74 rtc::TimestampWrapAroundHandler time_wrap_handler_; 74 rtc::TimestampWrapAroundHandler time_wrap_handler_;
75 int min_qp_; 75 int min_qp_;
76 int max_qp_; 76 int max_qp_;
77 uint32_t max_debt_bytes_; 77 uint32_t max_debt_bytes_;
78 78
79 // Configured max framerate. 79 // Configured max framerate.
80 rtc::Optional<uint32_t> target_framerate_; 80 rtc::Optional<uint32_t> target_framerate_;
81 // Incoming framerate from capturer. 81 // Incoming framerate from capturer.
82 rtc::Optional<uint32_t> incoming_framerate_; 82 rtc::Optional<uint32_t> capture_framerate_;
83 // Tracks what framerate we actually encode, and drops frames on overshoot. 83 // Tracks what framerate we actually encode, and drops frames on overshoot.
84 RateStatistics encode_framerate_; 84 RateStatistics encode_framerate_;
85 bool bitrate_updated_; 85 bool bitrate_updated_;
86 86
87 static const int kMaxNumTemporalLayers = 2; 87 static const int kMaxNumTemporalLayers = 2;
88 struct TemporalLayer { 88 struct TemporalLayer {
89 TemporalLayer() 89 TemporalLayer()
90 : state(State::kNormal), 90 : state(State::kNormal),
91 enhanced_max_qp(-1), 91 enhanced_max_qp(-1),
92 last_qp(-1), 92 last_qp(-1),
(...skipping 25 matching lines...) Expand all
118 int64_t num_overshoots_ = 0; 118 int64_t num_overshoots_ = 0;
119 int64_t tl0_qp_sum_ = 0; 119 int64_t tl0_qp_sum_ = 0;
120 int64_t tl1_qp_sum_ = 0; 120 int64_t tl1_qp_sum_ = 0;
121 int64_t tl0_target_bitrate_sum_ = 0; 121 int64_t tl0_target_bitrate_sum_ = 0;
122 int64_t tl1_target_bitrate_sum_ = 0; 122 int64_t tl1_target_bitrate_sum_ = 0;
123 } stats_; 123 } stats_;
124 }; 124 };
125 } // namespace webrtc 125 } // namespace webrtc
126 126
127 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_ 127 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SCREENSHARE_LAYERS_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/screenshare_layers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698