OLD | NEW |
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/video/video_rotation.h" |
20 #include "webrtc/base/constructormagic.h" | 21 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/base/deprecation.h" | 22 #include "webrtc/base/deprecation.h" |
22 #include "webrtc/base/safe_conversions.h" | 23 #include "webrtc/base/safe_conversions.h" |
23 #include "webrtc/common_types.h" | 24 #include "webrtc/common_types.h" |
24 #include "webrtc/common_video/rotation.h" | |
25 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h" | 25 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_globals.h" |
26 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h" | 26 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9_globals.h" |
27 #include "webrtc/modules/video_coding/codecs/h264/include/h264_globals.h" | 27 #include "webrtc/modules/video_coding/codecs/h264/include/h264_globals.h" |
28 #include "webrtc/typedefs.h" | 28 #include "webrtc/typedefs.h" |
29 | 29 |
30 namespace webrtc { | 30 namespace webrtc { |
31 | 31 |
32 struct RTPAudioHeader { | 32 struct RTPAudioHeader { |
33 uint8_t numEnergy; // number of valid entries in arrOfEnergy | 33 uint8_t numEnergy; // number of valid entries in arrOfEnergy |
34 uint8_t arrOfEnergy[kRtpCsrcSize]; // one energy byte (0-9) per channel | 34 uint8_t arrOfEnergy[kRtpCsrcSize]; // one energy byte (0-9) per channel |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 return unwrapped; | 522 return unwrapped; |
523 } | 523 } |
524 | 524 |
525 private: | 525 private: |
526 int64_t last_seq_; | 526 int64_t last_seq_; |
527 }; | 527 }; |
528 | 528 |
529 } // namespace webrtc | 529 } // namespace webrtc |
530 | 530 |
531 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ | 531 #endif // WEBRTC_MODULES_INCLUDE_MODULE_COMMON_TYPES_H_ |
OLD | NEW |