| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/environment.h" | 5 #include "base/environment.h" |
| 6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "base/process_util.h" | 8 #include "base/process/launch.h" |
| 9 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/test/test_timeouts.h" | 11 #include "base/test/test_timeouts.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
| 14 #include "chrome/browser/infobars/infobar.h" | 14 #include "chrome/browser/infobars/infobar.h" |
| 15 #include "chrome/browser/infobars/infobar_service.h" | 15 #include "chrome/browser/infobars/infobar_service.h" |
| 16 #include "chrome/browser/media/media_stream_infobar_delegate.h" | 16 #include "chrome/browser/media/media_stream_infobar_delegate.h" |
| 17 #include "chrome/browser/media/webrtc_browsertest_common.h" | 17 #include "chrome/browser/media/webrtc_browsertest_common.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 std::string output = | 501 std::string output = |
| 502 CompareVideos(kVgaWidth, | 502 CompareVideos(kVgaWidth, |
| 503 kVgaHeight, | 503 kVgaHeight, |
| 504 GetWorkingDir().Append(kCapturedYuvFileName), | 504 GetWorkingDir().Append(kCapturedYuvFileName), |
| 505 GetWorkingDir().Append(kReferenceYuvFileName), | 505 GetWorkingDir().Append(kReferenceYuvFileName), |
| 506 GetWorkingDir().Append(kStatsFileName)); | 506 GetWorkingDir().Append(kStatsFileName)); |
| 507 | 507 |
| 508 PrintFramesCountPerfResults(output); | 508 PrintFramesCountPerfResults(output); |
| 509 PrintPsnrAndSsimPerfResults(output); | 509 PrintPsnrAndSsimPerfResults(output); |
| 510 } | 510 } |
| OLD | NEW |