| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 5 #ifndef MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| 6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 6 #define MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include "base/big_endian.h" | 11 #include "base/big_endian.h" |
| 9 #include "base/macros.h" | 12 #include "base/macros.h" |
| 10 #include "media/cast/logging/logging_defines.h" | 13 #include "media/cast/logging/logging_defines.h" |
| 11 #include "media/cast/net/cast_transport_config.h" | 14 #include "media/cast/net/cast_transport_config.h" |
| 12 #include "media/cast/net/rtcp/rtcp_defines.h" | 15 #include "media/cast/net/rtcp/rtcp_defines.h" |
| 13 | 16 |
| 14 namespace media { | 17 namespace media { |
| 15 namespace cast { | 18 namespace cast { |
| 16 | 19 |
| 17 // RFC 3550 page 44, including end null. | 20 // RFC 3550 page 44, including end null. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 131 |
| 129 // Maps an NTP timestamp, comprised of two components, to a base::TimeTicks | 132 // Maps an NTP timestamp, comprised of two components, to a base::TimeTicks |
| 130 // value. | 133 // value. |
| 131 base::TimeTicks ConvertNtpToTimeTicks(uint32_t ntp_seconds, | 134 base::TimeTicks ConvertNtpToTimeTicks(uint32_t ntp_seconds, |
| 132 uint32_t ntp_fractions); | 135 uint32_t ntp_fractions); |
| 133 | 136 |
| 134 } // namespace cast | 137 } // namespace cast |
| 135 } // namespace media | 138 } // namespace media |
| 136 | 139 |
| 137 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ | 140 #endif // MEDIA_CAST_RTCP_RTCP_UTILITY_H_ |
| OLD | NEW |