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

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

Issue 3035062: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/base/run_all_unittests.cc ('k') | media/media.gyp » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // Known failures as of r54591: 10 // Known failures as of r54591:
(...skipping 24 matching lines...) Expand all
35 #include "base/perftimer.h" 35 #include "base/perftimer.h"
36 #include "base/string_util.h" 36 #include "base/string_util.h"
37 #include "base/test/perf_test_suite.h" 37 #include "base/test/perf_test_suite.h"
38 #include "media/base/media.h" 38 #include "media/base/media.h"
39 #include "media/ffmpeg/ffmpeg_common.h" 39 #include "media/ffmpeg/ffmpeg_common.h"
40 #include "media/ffmpeg/ffmpeg_util.h" 40 #include "media/ffmpeg/ffmpeg_util.h"
41 #include "media/ffmpeg/file_protocol.h" 41 #include "media/ffmpeg/file_protocol.h"
42 #include "testing/gtest/include/gtest/gtest.h" 42 #include "testing/gtest/include/gtest/gtest.h"
43 43
44 int main(int argc, char** argv) { 44 int main(int argc, char** argv) {
45 return base::PerfTestSuite(argc, argv).Run(); 45 return PerfTestSuite(argc, argv).Run();
46 } 46 }
47 47
48 namespace media { 48 namespace media {
49 49
50 class AVPacketQueue { 50 class AVPacketQueue {
51 public: 51 public:
52 AVPacketQueue() { 52 AVPacketQueue() {
53 } 53 }
54 54
55 ~AVPacketQueue() { 55 ~AVPacketQueue() {
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 SeekTo(0.4); 646 SeekTo(0.4);
647 ReadRemainingFile(); 647 ReadRemainingFile();
648 EXPECT_TRUE(StepDecodeVideo()); 648 EXPECT_TRUE(StepDecodeVideo());
649 LOG(INFO) << decoded_video_time(); 649 LOG(INFO) << decoded_video_time();
650 650
651 CloseCodecs(); 651 CloseCodecs();
652 CloseFile(); 652 CloseFile();
653 } 653 }
654 654
655 } // namespace media 655 } // namespace media
OLDNEW
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698