Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 2470913004: Moved transport_adapter.h/.cc from call/ to video/ dir to remove circular dependency (Closed)
Patch Set: Fixed footer guards Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | webrtc/video/transport_adapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include <algorithm> 10 #include <algorithm>
11 #include <list> 11 #include <list>
12 #include <map> 12 #include <map>
13 #include <memory> 13 #include <memory>
14 #include <sstream> 14 #include <sstream>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
19 #include "webrtc/base/event.h" 19 #include "webrtc/base/event.h"
20 #include "webrtc/base/file.h" 20 #include "webrtc/base/file.h"
21 #include "webrtc/base/optional.h" 21 #include "webrtc/base/optional.h"
22 #include "webrtc/base/rate_limiter.h" 22 #include "webrtc/base/rate_limiter.h"
23 #include "webrtc/call.h" 23 #include "webrtc/call.h"
24 #include "webrtc/call/transport_adapter.h"
25 #include "webrtc/common_video/include/frame_callback.h" 24 #include "webrtc/common_video/include/frame_callback.h"
26 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 25 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
27 #include "webrtc/media/base/fakevideorenderer.h" 26 #include "webrtc/media/base/fakevideorenderer.h"
28 #include "webrtc/modules/include/module_common_types.h" 27 #include "webrtc/modules/include/module_common_types.h"
29 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 28 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
30 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 29 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h" 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h"
33 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 32 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
34 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" 33 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h"
35 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" 34 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h"
36 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" 35 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h"
37 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 36 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
38 #include "webrtc/system_wrappers/include/metrics.h" 37 #include "webrtc/system_wrappers/include/metrics.h"
39 #include "webrtc/system_wrappers/include/metrics_default.h" 38 #include "webrtc/system_wrappers/include/metrics_default.h"
40 #include "webrtc/system_wrappers/include/sleep.h" 39 #include "webrtc/system_wrappers/include/sleep.h"
41 #include "webrtc/test/call_test.h" 40 #include "webrtc/test/call_test.h"
42 #include "webrtc/test/direct_transport.h" 41 #include "webrtc/test/direct_transport.h"
43 #include "webrtc/test/encoder_settings.h" 42 #include "webrtc/test/encoder_settings.h"
44 #include "webrtc/test/fake_decoder.h" 43 #include "webrtc/test/fake_decoder.h"
45 #include "webrtc/test/fake_encoder.h" 44 #include "webrtc/test/fake_encoder.h"
46 #include "webrtc/test/frame_generator.h" 45 #include "webrtc/test/frame_generator.h"
47 #include "webrtc/test/frame_generator_capturer.h" 46 #include "webrtc/test/frame_generator_capturer.h"
48 #include "webrtc/test/gtest.h" 47 #include "webrtc/test/gtest.h"
49 #include "webrtc/test/null_transport.h" 48 #include "webrtc/test/null_transport.h"
50 #include "webrtc/test/rtcp_packet_parser.h" 49 #include "webrtc/test/rtcp_packet_parser.h"
51 #include "webrtc/test/rtp_rtcp_observer.h" 50 #include "webrtc/test/rtp_rtcp_observer.h"
52 #include "webrtc/test/testsupport/fileutils.h" 51 #include "webrtc/test/testsupport/fileutils.h"
53 #include "webrtc/test/testsupport/perf_test.h" 52 #include "webrtc/test/testsupport/perf_test.h"
53 #include "webrtc/video/transport_adapter.h"
54 #include "webrtc/video_encoder.h" 54 #include "webrtc/video_encoder.h"
55 55
56 namespace webrtc { 56 namespace webrtc {
57 57
58 static const int kSilenceTimeoutMs = 2000; 58 static const int kSilenceTimeoutMs = 2000;
59 59
60 class EndToEndTest : public test::CallTest { 60 class EndToEndTest : public test::CallTest {
61 public: 61 public:
62 EndToEndTest() {} 62 EndToEndTest() {}
63 63
(...skipping 3845 matching lines...) Expand 10 before | Expand all | Expand 10 after
3909 std::unique_ptr<VideoEncoder> encoder_; 3909 std::unique_ptr<VideoEncoder> encoder_;
3910 std::unique_ptr<VideoDecoder> decoder_; 3910 std::unique_ptr<VideoDecoder> decoder_;
3911 rtc::CriticalSection crit_; 3911 rtc::CriticalSection crit_;
3912 int recorded_frames_ GUARDED_BY(crit_); 3912 int recorded_frames_ GUARDED_BY(crit_);
3913 } test(this); 3913 } test(this);
3914 3914
3915 RunBaseTest(&test); 3915 RunBaseTest(&test);
3916 } 3916 }
3917 3917
3918 } // namespace webrtc 3918 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | webrtc/video/transport_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698