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

Side by Side Diff: media/ffmpeg/ffmpeg_unittest.cc

Issue 16684003: Use a direct include of strings headers in ipc/, jingle/, media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « media/crypto/aes_decryptor.cc ('k') | media/filters/audio_renderer_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses 5 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses
6 // function as advertised for each media format that Chromium supports. This 6 // function as advertised for each media format that Chromium supports. This
7 // mostly includes stuff like reporting proper timestamps, seeking to 7 // mostly includes stuff like reporting proper timestamps, seeking to
8 // keyframes, and supporting certain features like reordered_opaque. 8 // keyframes, and supporting certain features like reordered_opaque.
9 // 9 //
10 10
11 #include <limits> 11 #include <limits>
12 #include <queue> 12 #include <queue>
13 13
14 #include "base/base_paths.h" 14 #include "base/base_paths.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/memory_mapped_file.h" 17 #include "base/files/memory_mapped_file.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 #include "base/perftimer.h" 20 #include "base/perftimer.h"
21 #include "base/string_util.h" 21 #include "base/strings/string_util.h"
22 #include "base/test/perf_test_suite.h" 22 #include "base/test/perf_test_suite.h"
23 #include "media/base/media.h" 23 #include "media/base/media.h"
24 #include "media/ffmpeg/ffmpeg_common.h" 24 #include "media/ffmpeg/ffmpeg_common.h"
25 #include "media/filters/ffmpeg_glue.h" 25 #include "media/filters/ffmpeg_glue.h"
26 #include "media/filters/in_memory_url_protocol.h" 26 #include "media/filters/in_memory_url_protocol.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 28
29 int main(int argc, char** argv) { 29 int main(int argc, char** argv) {
30 return base::PerfTestSuite(argc, argv).Run(); 30 return base::PerfTestSuite(argc, argv).Run();
31 } 31 }
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 EXPECT_TRUE(StepDecodeVideo()); 582 EXPECT_TRUE(StepDecodeVideo());
583 VLOG(1) << decoded_video_time(); 583 VLOG(1) << decoded_video_time();
584 584
585 SeekTo(0.4); 585 SeekTo(0.4);
586 ReadRemainingFile(); 586 ReadRemainingFile();
587 EXPECT_TRUE(StepDecodeVideo()); 587 EXPECT_TRUE(StepDecodeVideo());
588 VLOG(1) << decoded_video_time(); 588 VLOG(1) << decoded_video_time();
589 } 589 }
590 590
591 } // namespace media 591 } // namespace media
OLDNEW
« no previous file with comments | « media/crypto/aes_decryptor.cc ('k') | media/filters/audio_renderer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698