| 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 | 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/test/gtest.h" | |
| 17 | |
| 18 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/constructormagic.h" | 17 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/thread_annotations.h" | 18 #include "webrtc/base/thread_annotations.h" |
| 21 #include "webrtc/call.h" | 19 #include "webrtc/call.h" |
| 22 #include "webrtc/call/transport_adapter.h" | 20 #include "webrtc/call/transport_adapter.h" |
| 23 #include "webrtc/config.h" | 21 #include "webrtc/config.h" |
| 24 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" | 22 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" |
| 25 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 23 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
| 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
| 27 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 25 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 28 #include "webrtc/system_wrappers/include/metrics_default.h" | 26 #include "webrtc/system_wrappers/include/metrics_default.h" |
| 29 #include "webrtc/system_wrappers/include/rtp_to_ntp.h" | 27 #include "webrtc/system_wrappers/include/rtp_to_ntp.h" |
| 30 #include "webrtc/test/call_test.h" | 28 #include "webrtc/test/call_test.h" |
| 31 #include "webrtc/test/direct_transport.h" | 29 #include "webrtc/test/direct_transport.h" |
| 32 #include "webrtc/test/drifting_clock.h" | 30 #include "webrtc/test/drifting_clock.h" |
| 33 #include "webrtc/test/encoder_settings.h" | 31 #include "webrtc/test/encoder_settings.h" |
| 34 #include "webrtc/test/fake_audio_device.h" | 32 #include "webrtc/test/fake_audio_device.h" |
| 35 #include "webrtc/test/fake_decoder.h" | 33 #include "webrtc/test/fake_decoder.h" |
| 36 #include "webrtc/test/fake_encoder.h" | 34 #include "webrtc/test/fake_encoder.h" |
| 37 #include "webrtc/test/frame_generator.h" | 35 #include "webrtc/test/frame_generator.h" |
| 38 #include "webrtc/test/frame_generator_capturer.h" | 36 #include "webrtc/test/frame_generator_capturer.h" |
| 37 #include "webrtc/test/gtest.h" |
| 39 #include "webrtc/test/rtp_rtcp_observer.h" | 38 #include "webrtc/test/rtp_rtcp_observer.h" |
| 40 #include "webrtc/test/testsupport/fileutils.h" | 39 #include "webrtc/test/testsupport/fileutils.h" |
| 41 #include "webrtc/test/testsupport/perf_test.h" | 40 #include "webrtc/test/testsupport/perf_test.h" |
| 42 #include "webrtc/voice_engine/include/voe_base.h" | 41 #include "webrtc/voice_engine/include/voe_base.h" |
| 43 #include "webrtc/voice_engine/include/voe_codec.h" | 42 #include "webrtc/voice_engine/include/voe_codec.h" |
| 44 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 43 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
| 45 #include "webrtc/voice_engine/include/voe_video_sync.h" | 44 #include "webrtc/voice_engine/include/voe_video_sync.h" |
| 46 | 45 |
| 47 using webrtc::test::DriftingClock; | 46 using webrtc::test::DriftingClock; |
| 48 using webrtc::test::FakeAudioDevice; | 47 using webrtc::test::FakeAudioDevice; |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 int encoder_inits_; | 696 int encoder_inits_; |
| 698 uint32_t last_set_bitrate_; | 697 uint32_t last_set_bitrate_; |
| 699 VideoSendStream* send_stream_; | 698 VideoSendStream* send_stream_; |
| 700 VideoEncoderConfig encoder_config_; | 699 VideoEncoderConfig encoder_config_; |
| 701 } test; | 700 } test; |
| 702 | 701 |
| 703 RunBaseTest(&test); | 702 RunBaseTest(&test); |
| 704 } | 703 } |
| 705 | 704 |
| 706 } // namespace webrtc | 705 } // namespace webrtc |
| OLD | NEW |