OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 "webrtc/video/video_quality_test.h" | 10 #include "webrtc/video/video_quality_test.h" |
11 | 11 |
12 #include <stdio.h> | 12 #include <stdio.h> |
13 #include <algorithm> | 13 #include <algorithm> |
14 #include <deque> | 14 #include <deque> |
15 #include <map> | 15 #include <map> |
16 #include <sstream> | 16 #include <sstream> |
17 #include <string> | 17 #include <string> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "webrtc/test/gtest.h" | |
21 #include "webrtc/base/checks.h" | 20 #include "webrtc/base/checks.h" |
22 #include "webrtc/base/event.h" | 21 #include "webrtc/base/event.h" |
23 #include "webrtc/base/format_macros.h" | 22 #include "webrtc/base/format_macros.h" |
24 #include "webrtc/base/optional.h" | 23 #include "webrtc/base/optional.h" |
25 #include "webrtc/base/platform_file.h" | 24 #include "webrtc/base/platform_file.h" |
26 #include "webrtc/base/timeutils.h" | 25 #include "webrtc/base/timeutils.h" |
27 #include "webrtc/call.h" | 26 #include "webrtc/call.h" |
28 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 27 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
29 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 28 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
30 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 29 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
31 #include "webrtc/system_wrappers/include/cpu_info.h" | 30 #include "webrtc/system_wrappers/include/cpu_info.h" |
| 31 #include "webrtc/test/gtest.h" |
32 #include "webrtc/test/layer_filtering_transport.h" | 32 #include "webrtc/test/layer_filtering_transport.h" |
33 #include "webrtc/test/run_loop.h" | 33 #include "webrtc/test/run_loop.h" |
34 #include "webrtc/test/statistics.h" | 34 #include "webrtc/test/statistics.h" |
35 #include "webrtc/test/testsupport/fileutils.h" | 35 #include "webrtc/test/testsupport/fileutils.h" |
36 #include "webrtc/test/vcm_capturer.h" | 36 #include "webrtc/test/vcm_capturer.h" |
37 #include "webrtc/test/video_renderer.h" | 37 #include "webrtc/test/video_renderer.h" |
38 #include "webrtc/voice_engine/include/voe_base.h" | 38 #include "webrtc/voice_engine/include/voe_base.h" |
39 #include "webrtc/voice_engine/include/voe_codec.h" | 39 #include "webrtc/voice_engine/include/voe_codec.h" |
40 | 40 |
41 namespace { | 41 namespace { |
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 std::ostringstream str; | 1390 std::ostringstream str; |
1391 str << receive_logs_++; | 1391 str << receive_logs_++; |
1392 std::string path = | 1392 std::string path = |
1393 params_.common.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; | 1393 params_.common.encoded_frame_base_path + "." + str.str() + ".recv.ivf"; |
1394 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), | 1394 stream->EnableEncodedFrameRecording(rtc::CreatePlatformFile(path), |
1395 10000000); | 1395 10000000); |
1396 } | 1396 } |
1397 } | 1397 } |
1398 | 1398 |
1399 } // namespace webrtc | 1399 } // namespace webrtc |
OLD | NEW |