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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 years, 3 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) 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
11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_ 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_ 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_
13 13
14 #include "webrtc/rtc_base/optional.h" 14 #include "webrtc/api/optional.h"
15 #include "webrtc/typedefs.h" 15 #include "webrtc/typedefs.h"
16 16
17 #define BWE_MAX(a, b) ((a) > (b) ? (a) : (b)) 17 #define BWE_MAX(a, b) ((a) > (b) ? (a) : (b))
18 #define BWE_MIN(a, b) ((a) < (b) ? (a) : (b)) 18 #define BWE_MIN(a, b) ((a) < (b) ? (a) : (b))
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 namespace congestion_controller { 22 namespace congestion_controller {
23 int GetMinBitrateBps(); 23 int GetMinBitrateBps();
24 } // namespace congestion_controller 24 } // namespace congestion_controller
(...skipping 26 matching lines...) Expand all
51 double noise_var); 51 double noise_var);
52 ~RateControlInput(); 52 ~RateControlInput();
53 53
54 BandwidthUsage bw_state; 54 BandwidthUsage bw_state;
55 rtc::Optional<uint32_t> incoming_bitrate; 55 rtc::Optional<uint32_t> incoming_bitrate;
56 double noise_var; 56 double noise_var;
57 }; 57 };
58 } // namespace webrtc 58 } // namespace webrtc
59 59
60 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_ 60 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_BWE_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698