| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Software qualification test for FFmpeg. This test is used to certify that | 5 // Software qualification test for FFmpeg. This test is used to certify that |
| 6 // software decoding quality and performance of FFmpeg meets a mimimum | 6 // software decoding quality and performance of FFmpeg meets a mimimum |
| 7 // standard. | 7 // standard. |
| 8 | 8 |
| 9 #include <iomanip> | 9 #include <iomanip> |
| 10 #include <iostream> | 10 #include <ostream> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
| 17 #include "base/md5.h" | 17 #include "base/md5.h" |
| 18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 19 #include "base/time.h" | 19 #include "base/time.h" |
| 20 #include "base/utf_string_conversions.h" | 20 #include "base/utf_string_conversions.h" |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 #if defined(ENABLE_WINDOWS_EXCEPTIONS) | 496 #if defined(ENABLE_WINDOWS_EXCEPTIONS) |
| 497 } __except(EXCEPTION_EXECUTE_HANDLER) { | 497 } __except(EXCEPTION_EXECUTE_HANDLER) { |
| 498 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() | 498 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() |
| 499 << " " << in_path.value() << std::endl; | 499 << " " << in_path.value() << std::endl; |
| 500 return 1; | 500 return 1; |
| 501 } | 501 } |
| 502 #endif | 502 #endif |
| 503 CommandLine::Reset(); | 503 CommandLine::Reset(); |
| 504 return 0; | 504 return 0; |
| 505 } | 505 } |
| OLD | NEW |