| 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 <iostream> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/at_exit.h" |
| 13 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 15 #include "base/file_path.h" | 16 #include "base/file_path.h" |
| 16 #include "base/file_util.h" | 17 #include "base/file_util.h" |
| 17 #include "base/md5.h" | 18 #include "base/md5.h" |
| 18 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 19 #include "base/time.h" | 20 #include "base/time.h" |
| 20 #include "base/utf_string_conversions.h" | 21 #include "base/utf_string_conversions.h" |
| 21 #include "media/base/djb2.h" | 22 #include "media/base/djb2.h" |
| 22 #include "media/base/media.h" | 23 #include "media/base/media.h" |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 #if defined(ENABLE_WINDOWS_EXCEPTIONS) | 497 #if defined(ENABLE_WINDOWS_EXCEPTIONS) |
| 497 } __except(EXCEPTION_EXECUTE_HANDLER) { | 498 } __except(EXCEPTION_EXECUTE_HANDLER) { |
| 498 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() | 499 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() |
| 499 << " " << in_path.value() << std::endl; | 500 << " " << in_path.value() << std::endl; |
| 500 return 1; | 501 return 1; |
| 501 } | 502 } |
| 502 #endif | 503 #endif |
| 503 CommandLine::Reset(); | 504 CommandLine::Reset(); |
| 504 return 0; | 505 return 0; |
| 505 } | 506 } |
| OLD | NEW |