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

Side by Side Diff: webrtc/config.h

Issue 2067103002: Avoid unnecessary HW video encoder reconfiguration (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: ReconfigureEncoderIfNecessary -> ReconfigureEncoder() Created 4 years, 6 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/common_types.h ('k') | webrtc/config.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
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 std::vector<VideoStream> streams; 135 std::vector<VideoStream> streams;
136 std::vector<SpatialLayer> spatial_layers; 136 std::vector<SpatialLayer> spatial_layers;
137 ContentType content_type; 137 ContentType content_type;
138 void* encoder_specific_settings; 138 void* encoder_specific_settings;
139 139
140 // Padding will be used up to this bitrate regardless of the bitrate produced 140 // Padding will be used up to this bitrate regardless of the bitrate produced
141 // by the encoder. Padding above what's actually produced by the encoder helps 141 // by the encoder. Padding above what's actually produced by the encoder helps
142 // maintaining a higher bitrate estimate. Padding will however not be sent 142 // maintaining a higher bitrate estimate. Padding will however not be sent
143 // unless the estimated bandwidth indicates that the link can handle it. 143 // unless the estimated bandwidth indicates that the link can handle it.
144 int min_transmit_bitrate_bps; 144 int min_transmit_bitrate_bps;
145 bool expect_encode_from_texture;
145 }; 146 };
146 147
147 // Controls the capacity of the packet buffer in NetEq. The capacity is the 148 // Controls the capacity of the packet buffer in NetEq. The capacity is the
148 // maximum number of packets that the buffer can contain. If the limit is 149 // maximum number of packets that the buffer can contain. If the limit is
149 // exceeded, the buffer will be flushed. The capacity does not affect the actual 150 // exceeded, the buffer will be flushed. The capacity does not affect the actual
150 // audio delay in the general case, since this is governed by the target buffer 151 // audio delay in the general case, since this is governed by the target buffer
151 // level (calculated from the jitter profile). It is only in the rare case of 152 // level (calculated from the jitter profile). It is only in the rare case of
152 // severe network freezes that a higher capacity will lead to a (transient) 153 // severe network freezes that a higher capacity will lead to a (transient)
153 // increase in audio delay. 154 // increase in audio delay.
154 struct NetEqCapacityConfig { 155 struct NetEqCapacityConfig {
(...skipping 14 matching lines...) Expand all
169 struct VoicePacing { 170 struct VoicePacing {
170 VoicePacing() : enabled(false) {} 171 VoicePacing() : enabled(false) {}
171 explicit VoicePacing(bool value) : enabled(value) {} 172 explicit VoicePacing(bool value) : enabled(value) {}
172 static const ConfigOptionID identifier = ConfigOptionID::kVoicePacing; 173 static const ConfigOptionID identifier = ConfigOptionID::kVoicePacing;
173 bool enabled; 174 bool enabled;
174 }; 175 };
175 176
176 } // namespace webrtc 177 } // namespace webrtc
177 178
178 #endif // WEBRTC_CONFIG_H_ 179 #endif // WEBRTC_CONFIG_H_
OLDNEW
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698