OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_VIDEO_CODING_PACKET_BUFFER_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <set> | 15 #include <set> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/criticalsection.h" | |
19 #include "webrtc/base/scoped_ref_ptr.h" | |
20 #include "webrtc/base/thread_annotations.h" | |
21 #include "webrtc/modules/include/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
22 #include "webrtc/modules/video_coding/packet.h" | 19 #include "webrtc/modules/video_coding/packet.h" |
23 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" | 20 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" |
24 #include "webrtc/modules/video_coding/sequence_number_util.h" | 21 #include "webrtc/modules/video_coding/sequence_number_util.h" |
| 22 #include "webrtc/rtc_base/criticalsection.h" |
| 23 #include "webrtc/rtc_base/scoped_ref_ptr.h" |
| 24 #include "webrtc/rtc_base/thread_annotations.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 class Clock; | 28 class Clock; |
29 | 29 |
30 namespace video_coding { | 30 namespace video_coding { |
31 | 31 |
32 class FrameObject; | 32 class FrameObject; |
33 class RtpFrameObject; | 33 class RtpFrameObject; |
34 | 34 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 std::set<uint16_t, DescendingSeqNumComp<uint16_t>> missing_packets_ | 158 std::set<uint16_t, DescendingSeqNumComp<uint16_t>> missing_packets_ |
159 GUARDED_BY(crit_); | 159 GUARDED_BY(crit_); |
160 | 160 |
161 mutable volatile int ref_count_ = 0; | 161 mutable volatile int ref_count_ = 0; |
162 }; | 162 }; |
163 | 163 |
164 } // namespace video_coding | 164 } // namespace video_coding |
165 } // namespace webrtc | 165 } // namespace webrtc |
166 | 166 |
167 #endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ | 167 #endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ |
OLD | NEW |