OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/at_exit.h" |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/files/memory_mapped_file.h" | 18 #include "base/files/memory_mapped_file.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/md5.h" | 20 #include "base/md5.h" |
21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
22 #include "base/string_util.h" | 22 #include "base/strings/string_util.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/time.h" | 24 #include "base/time.h" |
25 #include "media/base/djb2.h" | 25 #include "media/base/djb2.h" |
26 #include "media/base/media.h" | 26 #include "media/base/media.h" |
27 #include "media/ffmpeg/ffmpeg_common.h" | 27 #include "media/ffmpeg/ffmpeg_common.h" |
28 #include "media/filters/ffmpeg_glue.h" | 28 #include "media/filters/ffmpeg_glue.h" |
29 #include "media/filters/ffmpeg_video_decoder.h" | 29 #include "media/filters/ffmpeg_video_decoder.h" |
30 #include "media/filters/in_memory_url_protocol.h" | 30 #include "media/filters/in_memory_url_protocol.h" |
31 | 31 |
32 #ifdef DEBUG | 32 #ifdef DEBUG |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 #if defined(ENABLE_WINDOWS_EXCEPTIONS) | 491 #if defined(ENABLE_WINDOWS_EXCEPTIONS) |
492 } __except(EXCEPTION_EXECUTE_HANDLER) { | 492 } __except(EXCEPTION_EXECUTE_HANDLER) { |
493 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() | 493 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() |
494 << " " << in_path.value() << std::endl; | 494 << " " << in_path.value() << std::endl; |
495 return 1; | 495 return 1; |
496 } | 496 } |
497 #endif | 497 #endif |
498 CommandLine::Reset(); | 498 CommandLine::Reset(); |
499 return 0; | 499 return 0; |
500 } | 500 } |
OLD | NEW |