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 #include <cstring> | 11 #include <cstring> |
12 #include <limits> | 12 #include <limits> |
| 13 #include <memory> |
13 | 14 |
14 #include "webrtc/modules/video_coding/frame_object.h" | 15 #include "webrtc/modules/video_coding/frame_object.h" |
15 #include "webrtc/modules/video_coding/packet_buffer.h" | 16 #include "webrtc/modules/video_coding/packet_buffer.h" |
16 | 17 |
17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "webrtc/base/random.h" | 19 #include "webrtc/base/random.h" |
19 | 20 |
20 namespace webrtc { | 21 namespace webrtc { |
21 namespace video_coding { | 22 namespace video_coding { |
22 | 23 |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 | 724 |
724 ASSERT_EQ(4UL, frames_from_callback_.size()); | 725 ASSERT_EQ(4UL, frames_from_callback_.size()); |
725 CheckReferences(pid); | 726 CheckReferences(pid); |
726 CheckReferences(pid + 1, pid); | 727 CheckReferences(pid + 1, pid); |
727 CheckReferences(pid + 2, pid + 1); | 728 CheckReferences(pid + 2, pid + 1); |
728 CheckReferences(pid + 3, pid + 2); | 729 CheckReferences(pid + 3, pid + 2); |
729 } | 730 } |
730 | 731 |
731 } // namespace video_coding | 732 } // namespace video_coding |
732 } // namespace webrtc | 733 } // namespace webrtc |
OLD | NEW |