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 <array> | 14 #include <array> |
15 #include <map> | 15 #include <map> |
16 #include <memory> | 16 #include <memory> |
17 #include <queue> | 17 #include <queue> |
18 #include <set> | 18 #include <set> |
19 #include <utility> | 19 #include <utility> |
20 #include <vector> | 20 #include <vector> |
21 | 21 |
22 #include "webrtc/base/criticalsection.h" | 22 #include "webrtc/base/criticalsection.h" |
| 23 #include "webrtc/base/scoped_ptr.h" |
23 #include "webrtc/base/thread_annotations.h" | 24 #include "webrtc/base/thread_annotations.h" |
24 #include "webrtc/modules/include/module_common_types.h" | 25 #include "webrtc/modules/include/module_common_types.h" |
25 #include "webrtc/modules/video_coding/packet.h" | 26 #include "webrtc/modules/video_coding/packet.h" |
26 #include "webrtc/modules/video_coding/sequence_number_util.h" | 27 #include "webrtc/modules/video_coding/sequence_number_util.h" |
27 | 28 |
28 namespace webrtc { | 29 namespace webrtc { |
29 namespace video_coding { | 30 namespace video_coding { |
30 | 31 |
31 class FrameObject; | 32 class FrameObject; |
32 class RtpFrameObject; | 33 class RtpFrameObject; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // For every temporal layer, keep a set of which frames that are missing. | 225 // For every temporal layer, keep a set of which frames that are missing. |
225 std::array<std::set<uint16_t, DescendingSeqNumComp<uint16_t, kPicIdLength>>, | 226 std::array<std::set<uint16_t, DescendingSeqNumComp<uint16_t, kPicIdLength>>, |
226 kMaxTemporalLayers> | 227 kMaxTemporalLayers> |
227 missing_frames_for_layer_ GUARDED_BY(crit_); | 228 missing_frames_for_layer_ GUARDED_BY(crit_); |
228 }; | 229 }; |
229 | 230 |
230 } // namespace video_coding | 231 } // namespace video_coding |
231 } // namespace webrtc | 232 } // namespace webrtc |
232 | 233 |
233 #endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ | 234 #endif // WEBRTC_MODULES_VIDEO_CODING_PACKET_BUFFER_H_ |
OLD | NEW |