Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: media/tools/media_bench/media_bench.cc

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // Standalone benchmarking application based on FFmpeg. This tool is used to 5 // Standalone benchmarking application based on FFmpeg. This tool is used to
6 // measure decoding performance between different FFmpeg compile and run-time 6 // measure decoding performance between different FFmpeg compile and run-time
7 // options. We also use this tool to measure performance regressions when 7 // options. We also use this tool to measure performance regressions when
8 // testing newer builds of FFmpeg from trunk. 8 // testing newer builds of FFmpeg from trunk.
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 // For pipe _setmode to binary 12 // For pipe _setmode to binary
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include <fcntl.h> 14 #include <fcntl.h>
15 #include <io.h> 15 #include <io.h>
16 #endif 16 #endif
17 17
18 #include <iomanip> 18 #include <iomanip>
19 #include <iostream> 19 #include <ostream>
20 #include <string> 20 #include <string>
21 21
22 #include "base/at_exit.h" 22 #include "base/at_exit.h"
23 #include "base/basictypes.h" 23 #include "base/basictypes.h"
24 #include "base/command_line.h" 24 #include "base/command_line.h"
25 #include "base/file_path.h" 25 #include "base/file_path.h"
26 #include "base/file_util.h" 26 #include "base/file_util.h"
27 #include "base/md5.h" 27 #include "base/md5.h"
28 #include "base/string_number_conversions.h" 28 #include "base/string_number_conversions.h"
29 #include "base/string_util.h" 29 #include "base/string_util.h"
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 #if defined(ENABLE_WINDOWS_EXCEPTIONS) 594 #if defined(ENABLE_WINDOWS_EXCEPTIONS)
595 } __except(EXCEPTION_EXECUTE_HANDLER) { 595 } __except(EXCEPTION_EXECUTE_HANDLER) {
596 *log_out << " Exception:" << std::setw(11) << GetExceptionCode() 596 *log_out << " Exception:" << std::setw(11) << GetExceptionCode()
597 << " " << in_path.value() << std::endl; 597 << " " << in_path.value() << std::endl;
598 return 1; 598 return 1;
599 } 599 }
600 #endif 600 #endif
601 CommandLine::Reset(); 601 CommandLine::Reset();
602 return 0; 602 return 0;
603 } 603 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698