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