| 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 #include "webrtc/base/checks.h" | |
| 12 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
| 13 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | |
| 14 | 12 |
| 15 #include <assert.h> | 13 #include <assert.h> |
| 16 #include <math.h> // ceil | 14 #include <math.h> // ceil |
| 17 #include <string.h> // memcpy | 15 #include <string.h> // memcpy |
| 18 | 16 |
| 19 #include "webrtc/base/checks.h" | 17 #include "webrtc/base/checks.h" |
| 20 #include "webrtc/base/logging.h" | 18 #include "webrtc/base/logging.h" |
| 21 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 22 | 21 |
| 23 namespace webrtc { | 22 namespace webrtc { |
| 24 | 23 |
| 25 namespace RTCPUtility { | 24 namespace RTCPUtility { |
| 26 | 25 |
| 27 NackStats::NackStats() | 26 NackStats::NackStats() |
| 28 : max_sequence_number_(0), | 27 : max_sequence_number_(0), |
| 29 requests_(0), | 28 requests_(0), |
| 30 unique_requests_(0) {} | 29 unique_requests_(0) {} |
| 31 | 30 |
| (...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 const RTCPUtility::RtcpCommonHeader* | 1702 const RTCPUtility::RtcpCommonHeader* |
| 1704 RTCPUtility::RTCPPacketIterator::Current() { | 1703 RTCPUtility::RTCPPacketIterator::Current() { |
| 1705 if (!_ptrBlock) | 1704 if (!_ptrBlock) |
| 1706 { | 1705 { |
| 1707 return NULL; | 1706 return NULL; |
| 1708 } | 1707 } |
| 1709 | 1708 |
| 1710 return &_header; | 1709 return &_header; |
| 1711 } | 1710 } |
| 1712 } // namespace webrtc | 1711 } // namespace webrtc |
| OLD | NEW |