| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 <math.h> | 11 #include <math.h> |
| 12 | 12 |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 #include "webrtc/modules/video_coding/codecs/interface/video_codec_interface.h" | 15 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 16 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" | 16 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" |
| 17 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" | 17 #include "webrtc/modules/video_coding/codecs/test/videoprocessor.h" |
| 18 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 18 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
| 19 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" | 19 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" |
| 20 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" | 20 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" |
| 21 #include "webrtc/modules/video_coding/main/interface/video_coding.h" | 21 #include "webrtc/modules/video_coding/include/video_coding.h" |
| 22 #include "webrtc/test/testsupport/fileutils.h" | 22 #include "webrtc/test/testsupport/fileutils.h" |
| 23 #include "webrtc/test/testsupport/frame_reader.h" | 23 #include "webrtc/test/testsupport/frame_reader.h" |
| 24 #include "webrtc/test/testsupport/frame_writer.h" | 24 #include "webrtc/test/testsupport/frame_writer.h" |
| 25 #include "webrtc/test/testsupport/gtest_disable.h" | 25 #include "webrtc/test/testsupport/gtest_disable.h" |
| 26 #include "webrtc/test/testsupport/metrics/video_metrics.h" | 26 #include "webrtc/test/testsupport/metrics/video_metrics.h" |
| 27 #include "webrtc/test/testsupport/packet_reader.h" | 27 #include "webrtc/test/testsupport/packet_reader.h" |
| 28 #include "webrtc/typedefs.h" | 28 #include "webrtc/typedefs.h" |
| 29 | 29 |
| 30 namespace webrtc { | 30 namespace webrtc { |
| 31 | 31 |
| (...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 // Metrics for rate control. | 954 // Metrics for rate control. |
| 955 RateControlMetrics rc_metrics[2]; | 955 RateControlMetrics rc_metrics[2]; |
| 956 SetRateControlMetrics(rc_metrics, 0, 0, 20, 30, 10, 10, 0, 1); | 956 SetRateControlMetrics(rc_metrics, 0, 0, 20, 30, 10, 10, 0, 1); |
| 957 SetRateControlMetrics(rc_metrics, 1, 0, 0, 30, 15, 10, 0, 0); | 957 SetRateControlMetrics(rc_metrics, 1, 0, 0, 30, 15, 10, 0, 0); |
| 958 ProcessFramesAndVerify(quality_metrics, | 958 ProcessFramesAndVerify(quality_metrics, |
| 959 rate_profile, | 959 rate_profile, |
| 960 process_settings, | 960 process_settings, |
| 961 rc_metrics); | 961 rc_metrics); |
| 962 } | 962 } |
| 963 } // namespace webrtc | 963 } // namespace webrtc |
| OLD | NEW |