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

Side by Side Diff: webrtc/config.h

Issue 1351693005: Read the number of TLs for VP9 too + cleanup (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing comments Created 5 years, 2 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
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 std::vector<VideoStream> streams; 106 std::vector<VideoStream> streams;
107 ContentType content_type; 107 ContentType content_type;
108 void* encoder_specific_settings; 108 void* encoder_specific_settings;
109 109
110 // Padding will be used up to this bitrate regardless of the bitrate produced 110 // Padding will be used up to this bitrate regardless of the bitrate produced
111 // by the encoder. Padding above what's actually produced by the encoder helps 111 // by the encoder. Padding above what's actually produced by the encoder helps
112 // maintaining a higher bitrate estimate. Padding will however not be sent 112 // maintaining a higher bitrate estimate. Padding will however not be sent
113 // unless the estimated bandwidth indicates that the link can handle it. 113 // unless the estimated bandwidth indicates that the link can handle it.
114 int min_transmit_bitrate_bps; 114 int min_transmit_bitrate_bps;
115
116 bool disable_generic_bitrate_frame_dropper;
stefan-webrtc 2015/10/01 09:58:04 Add a comment on which further describes this fram
ivica 2015/10/01 11:17:51 Done.
115 }; 117 };
116 118
117 // Controls the capacity of the packet buffer in NetEq. The capacity is the 119 // Controls the capacity of the packet buffer in NetEq. The capacity is the
118 // maximum number of packets that the buffer can contain. If the limit is 120 // maximum number of packets that the buffer can contain. If the limit is
119 // exceeded, the buffer will be flushed. The capacity does not affect the actual 121 // exceeded, the buffer will be flushed. The capacity does not affect the actual
120 // audio delay in the general case, since this is governed by the target buffer 122 // audio delay in the general case, since this is governed by the target buffer
121 // level (calculated from the jitter profile). It is only in the rare case of 123 // level (calculated from the jitter profile). It is only in the rare case of
122 // severe network freezes that a higher capacity will lead to a (transient) 124 // severe network freezes that a higher capacity will lead to a (transient)
123 // increase in audio delay. 125 // increase in audio delay.
124 struct NetEqCapacityConfig { 126 struct NetEqCapacityConfig {
125 NetEqCapacityConfig() : enabled(false), capacity(0) {} 127 NetEqCapacityConfig() : enabled(false), capacity(0) {}
126 explicit NetEqCapacityConfig(int value) : enabled(true), capacity(value) {} 128 explicit NetEqCapacityConfig(int value) : enabled(true), capacity(value) {}
127 bool enabled; 129 bool enabled;
128 int capacity; 130 int capacity;
129 }; 131 };
130 132
131 struct NetEqFastAccelerate { 133 struct NetEqFastAccelerate {
132 NetEqFastAccelerate() : enabled(false) {} 134 NetEqFastAccelerate() : enabled(false) {}
133 explicit NetEqFastAccelerate(bool value) : enabled(value) {} 135 explicit NetEqFastAccelerate(bool value) : enabled(value) {}
134 bool enabled; 136 bool enabled;
135 }; 137 };
136 138
137 } // namespace webrtc 139 } // namespace webrtc
138 140
139 #endif // WEBRTC_CONFIG_H_ 141 #endif // WEBRTC_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698