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

Side by Side Diff: webrtc/call/call_perf_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/call/BUILD.gn ('k') | webrtc/call/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 10
11 #include <algorithm> 11 #include <algorithm>
12 #include <limits> 12 #include <limits>
13 #include <memory> 13 #include <memory>
14 #include <string> 14 #include <string>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/constructormagic.h" 17 #include "webrtc/base/constructormagic.h"
18 #include "webrtc/base/thread_annotations.h" 18 #include "webrtc/base/thread_annotations.h"
19 #include "webrtc/call.h" 19 #include "webrtc/call.h"
20 #include "webrtc/call/transport_adapter.h"
21 #include "webrtc/config.h" 20 #include "webrtc/config.h"
22 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 21 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
23 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" 22 #include "webrtc/modules/audio_coding/include/audio_coding_module.h"
24 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 23 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
25 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" 24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
26 #include "webrtc/system_wrappers/include/metrics_default.h" 25 #include "webrtc/system_wrappers/include/metrics_default.h"
27 #include "webrtc/system_wrappers/include/rtp_to_ntp.h" 26 #include "webrtc/system_wrappers/include/rtp_to_ntp.h"
28 #include "webrtc/test/call_test.h" 27 #include "webrtc/test/call_test.h"
29 #include "webrtc/test/direct_transport.h" 28 #include "webrtc/test/direct_transport.h"
30 #include "webrtc/test/drifting_clock.h" 29 #include "webrtc/test/drifting_clock.h"
31 #include "webrtc/test/encoder_settings.h" 30 #include "webrtc/test/encoder_settings.h"
32 #include "webrtc/test/fake_audio_device.h" 31 #include "webrtc/test/fake_audio_device.h"
33 #include "webrtc/test/fake_decoder.h" 32 #include "webrtc/test/fake_decoder.h"
34 #include "webrtc/test/fake_encoder.h" 33 #include "webrtc/test/fake_encoder.h"
35 #include "webrtc/test/frame_generator.h" 34 #include "webrtc/test/frame_generator.h"
36 #include "webrtc/test/frame_generator_capturer.h" 35 #include "webrtc/test/frame_generator_capturer.h"
37 #include "webrtc/test/gtest.h" 36 #include "webrtc/test/gtest.h"
38 #include "webrtc/test/rtp_rtcp_observer.h" 37 #include "webrtc/test/rtp_rtcp_observer.h"
39 #include "webrtc/test/testsupport/fileutils.h" 38 #include "webrtc/test/testsupport/fileutils.h"
40 #include "webrtc/test/testsupport/perf_test.h" 39 #include "webrtc/test/testsupport/perf_test.h"
40 #include "webrtc/video/transport_adapter.h"
41 #include "webrtc/voice_engine/include/voe_base.h" 41 #include "webrtc/voice_engine/include/voe_base.h"
42 42
43 using webrtc::test::DriftingClock; 43 using webrtc::test::DriftingClock;
44 using webrtc::test::FakeAudioDevice; 44 using webrtc::test::FakeAudioDevice;
45 45
46 namespace webrtc { 46 namespace webrtc {
47 47
48 class CallPerfTest : public test::CallTest { 48 class CallPerfTest : public test::CallTest {
49 protected: 49 protected:
50 enum class FecMode { 50 enum class FecMode {
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 uint32_t last_set_bitrate_; 726 uint32_t last_set_bitrate_;
727 VideoSendStream* send_stream_; 727 VideoSendStream* send_stream_;
728 test::FrameGeneratorCapturer* frame_generator_; 728 test::FrameGeneratorCapturer* frame_generator_;
729 VideoEncoderConfig encoder_config_; 729 VideoEncoderConfig encoder_config_;
730 } test; 730 } test;
731 731
732 RunBaseTest(&test); 732 RunBaseTest(&test);
733 } 733 }
734 734
735 } // namespace webrtc 735 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/BUILD.gn ('k') | webrtc/call/transport_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698