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

Side by Side Diff: webrtc/modules/include/module_common_types.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_INCLUDE_MODULE_COMMON_TYPES_H_ 11 #ifndef WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_
12 #define WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ 12 #define WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_
13 13
14 #include <assert.h> 14 #include <assert.h>
15 #include <string.h> // memcpy 15 #include <string.h> // memcpy
16 16
17 #include <algorithm> 17 #include <algorithm>
18 #include <limits> 18 #include <limits>
19 19
20 #include "webrtc/api/optional.h"
20 #include "webrtc/api/video/video_rotation.h" 21 #include "webrtc/api/video/video_rotation.h"
21 #include "webrtc/common_types.h" 22 #include "webrtc/common_types.h"
22 #include "webrtc/modules/video_coding/codecs/h264/include/h264_globals.h" 23 #include "webrtc/modules/video_coding/codecs/h264/include/h264_globals.h"
23 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h" 24 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h"
24 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h" 25 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h"
25 #include "webrtc/rtc_base/constructormagic.h" 26 #include "webrtc/rtc_base/constructormagic.h"
26 #include "webrtc/rtc_base/deprecation.h" 27 #include "webrtc/rtc_base/deprecation.h"
27 #include "webrtc/rtc_base/optional.h"
28 #include "webrtc/rtc_base/safe_conversions.h" 28 #include "webrtc/rtc_base/safe_conversions.h"
29 #include "webrtc/typedefs.h" 29 #include "webrtc/typedefs.h"
30 30
31 namespace webrtc { 31 namespace webrtc {
32 32
33 struct RTPAudioHeader { 33 struct RTPAudioHeader {
34 uint8_t numEnergy; // number of valid entries in arrOfEnergy 34 uint8_t numEnergy; // number of valid entries in arrOfEnergy
35 uint8_t arrOfEnergy[kRtpCsrcSize]; // one energy byte (0-9) per channel 35 uint8_t arrOfEnergy[kRtpCsrcSize]; // one energy byte (0-9) per channel
36 bool isCNG; // is this CNG 36 bool isCNG; // is this CNG
37 size_t channel; // number of channels 2 = stereo 37 size_t channel; // number of channels 2 = stereo
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 static constexpr int kNotAProbe = -1; 638 static constexpr int kNotAProbe = -1;
639 int send_bitrate_bps = -1; 639 int send_bitrate_bps = -1;
640 int probe_cluster_id = kNotAProbe; 640 int probe_cluster_id = kNotAProbe;
641 int probe_cluster_min_probes = -1; 641 int probe_cluster_min_probes = -1;
642 int probe_cluster_min_bytes = -1; 642 int probe_cluster_min_bytes = -1;
643 }; 643 };
644 644
645 } // namespace webrtc 645 } // namespace webrtc
646 646
647 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ 647 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/congestion_controller/trendline_estimator.cc ('k') | webrtc/modules/pacing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698