OLD | NEW |
1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 /* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
2 * | 2 * |
3 * Use of this source code is governed by a BSD-style license | 3 * Use of this source code is governed by a BSD-style license |
4 * that can be found in the LICENSE file in the root of the source | 4 * that can be found in the LICENSE file in the root of the source |
5 * tree. An additional intellectual property rights grant can be found | 5 * tree. An additional intellectual property rights grant can be found |
6 * in the file PATENTS. All contributing project authors may | 6 * in the file PATENTS. All contributing project authors may |
7 * be found in the AUTHORS file in the root of the source tree. | 7 * be found in the AUTHORS file in the root of the source tree. |
8 */ | 8 */ |
9 | 9 |
10 #include <string.h> | 10 #include <string.h> |
11 | 11 |
12 #include <list> | 12 #include <list> |
13 #include <memory> | 13 #include <memory> |
14 #include <queue> | 14 #include <queue> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "webrtc/test/gtest.h" |
18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/modules/video_coding/encoded_frame.h" | 19 #include "webrtc/modules/video_coding/encoded_frame.h" |
20 #include "webrtc/modules/video_coding/packet.h" | 20 #include "webrtc/modules/video_coding/packet.h" |
21 #include "webrtc/modules/video_coding/receiver.h" | 21 #include "webrtc/modules/video_coding/receiver.h" |
22 #include "webrtc/modules/video_coding/test/stream_generator.h" | 22 #include "webrtc/modules/video_coding/test/stream_generator.h" |
23 #include "webrtc/modules/video_coding/timing.h" | 23 #include "webrtc/modules/video_coding/timing.h" |
24 #include "webrtc/modules/video_coding/test/test_util.h" | 24 #include "webrtc/modules/video_coding/test/test_util.h" |
25 #include "webrtc/system_wrappers/include/clock.h" | 25 #include "webrtc/system_wrappers/include/clock.h" |
26 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 26 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
27 | 27 |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 end_time); | 499 end_time); |
500 receiver_.ReleaseFrame(frame); | 500 receiver_.ReleaseFrame(frame); |
501 ++num_frames_return; | 501 ++num_frames_return; |
502 } else { | 502 } else { |
503 EXPECT_EQ(kMaxWaitTime, end_time - start_time); | 503 EXPECT_EQ(kMaxWaitTime, end_time - start_time); |
504 } | 504 } |
505 } | 505 } |
506 } | 506 } |
507 | 507 |
508 } // namespace webrtc | 508 } // namespace webrtc |
OLD | NEW |