| OLD | NEW |
| 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 <sstream> | 11 #include <sstream> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
| 17 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.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" |
| 20 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 21 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" |
| 21 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" | 22 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
| 23 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 24 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" |
| 24 #include "webrtc/system_wrappers/interface/rtp_to_ntp.h" | 25 #include "webrtc/system_wrappers/interface/rtp_to_ntp.h" |
| 25 #include "webrtc/test/call_test.h" | 26 #include "webrtc/test/call_test.h" |
| 26 #include "webrtc/test/direct_transport.h" | 27 #include "webrtc/test/direct_transport.h" |
| 27 #include "webrtc/test/encoder_settings.h" | 28 #include "webrtc/test/encoder_settings.h" |
| 28 #include "webrtc/test/fake_audio_device.h" | 29 #include "webrtc/test/fake_audio_device.h" |
| 29 #include "webrtc/test/fake_decoder.h" | 30 #include "webrtc/test/fake_decoder.h" |
| 30 #include "webrtc/test/fake_encoder.h" | 31 #include "webrtc/test/fake_encoder.h" |
| 31 #include "webrtc/test/frame_generator.h" | 32 #include "webrtc/test/frame_generator.h" |
| 32 #include "webrtc/test/frame_generator_capturer.h" | 33 #include "webrtc/test/frame_generator_capturer.h" |
| 33 #include "webrtc/test/rtp_rtcp_observer.h" | 34 #include "webrtc/test/rtp_rtcp_observer.h" |
| 34 #include "webrtc/test/testsupport/fileutils.h" | 35 #include "webrtc/test/testsupport/fileutils.h" |
| 35 #include "webrtc/test/testsupport/perf_test.h" | 36 #include "webrtc/test/testsupport/perf_test.h" |
| 36 #include "webrtc/video/transport_adapter.h" | |
| 37 #include "webrtc/voice_engine/include/voe_base.h" | 37 #include "webrtc/voice_engine/include/voe_base.h" |
| 38 #include "webrtc/voice_engine/include/voe_codec.h" | 38 #include "webrtc/voice_engine/include/voe_codec.h" |
| 39 #include "webrtc/voice_engine/include/voe_network.h" | 39 #include "webrtc/voice_engine/include/voe_network.h" |
| 40 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 40 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
| 41 #include "webrtc/voice_engine/include/voe_video_sync.h" | 41 #include "webrtc/voice_engine/include/voe_video_sync.h" |
| 42 | 42 |
| 43 namespace webrtc { | 43 namespace webrtc { |
| 44 | 44 |
| 45 class CallPerfTest : public test::CallTest { | 45 class CallPerfTest : public test::CallTest { |
| 46 protected: | 46 protected: |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 int encoder_inits_; | 703 int encoder_inits_; |
| 704 uint32_t last_set_bitrate_; | 704 uint32_t last_set_bitrate_; |
| 705 VideoSendStream* send_stream_; | 705 VideoSendStream* send_stream_; |
| 706 VideoEncoderConfig encoder_config_; | 706 VideoEncoderConfig encoder_config_; |
| 707 } test; | 707 } test; |
| 708 | 708 |
| 709 RunBaseTest(&test); | 709 RunBaseTest(&test); |
| 710 } | 710 } |
| 711 | 711 |
| 712 } // namespace webrtc | 712 } // namespace webrtc |
| OLD | NEW |