OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 <string.h> | 11 #include <string.h> |
12 | 12 |
13 #include <list> | 13 #include <list> |
14 | 14 |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "webrtc/modules/video_coding/main/source/frame_buffer.h" | 16 #include "webrtc/modules/video_coding/main/source/frame_buffer.h" |
17 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" | 17 #include "webrtc/modules/video_coding/main/source/jitter_buffer.h" |
18 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" | 18 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" |
19 #include "webrtc/modules/video_coding/main/source/packet.h" | 19 #include "webrtc/modules/video_coding/main/source/packet.h" |
20 #include "webrtc/modules/video_coding/main/source/test/stream_generator.h" | 20 #include "webrtc/modules/video_coding/main/source/test/stream_generator.h" |
21 #include "webrtc/modules/video_coding/main/test/test_util.h" | 21 #include "webrtc/modules/video_coding/main/test/test_util.h" |
22 #include "webrtc/system_wrappers/interface/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
23 #include "webrtc/system_wrappers/interface/metrics.h" | 23 #include "webrtc/system_wrappers/include/metrics.h" |
24 #include "webrtc/test/histogram.h" | 24 #include "webrtc/test/histogram.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 namespace { | 28 namespace { |
29 const uint32_t kProcessIntervalSec = 60; | 29 const uint32_t kProcessIntervalSec = 60; |
30 } // namespace | 30 } // namespace |
31 | 31 |
32 class Vp9SsMapTest : public ::testing::Test { | 32 class Vp9SsMapTest : public ::testing::Test { |
33 protected: | 33 protected: |
(...skipping 2532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2566 | 2566 |
2567 // Stream should be decodable from this point. | 2567 // Stream should be decodable from this point. |
2568 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); | 2568 clock_->AdvanceTimeMilliseconds(kDefaultFramePeriodMs); |
2569 InsertFrame(kVideoFrameDelta); | 2569 InsertFrame(kVideoFrameDelta); |
2570 EXPECT_TRUE(DecodeCompleteFrame()); | 2570 EXPECT_TRUE(DecodeCompleteFrame()); |
2571 nack_list = jitter_buffer_->GetNackList(&extended); | 2571 nack_list = jitter_buffer_->GetNackList(&extended); |
2572 EXPECT_EQ(0u, nack_list.size()); | 2572 EXPECT_EQ(0u, nack_list.size()); |
2573 } | 2573 } |
2574 | 2574 |
2575 } // namespace webrtc | 2575 } // namespace webrtc |
OLD | NEW |