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

Side by Side Diff: media/filters/pipeline_integration_perftest.cc

Issue 543703003: Use video-only test clips for media_perftests video benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "media/base/test_data_util.h" 5 #include "media/base/test_data_util.h"
6 #include "media/filters/pipeline_integration_test_base.h" 6 #include "media/filters/pipeline_integration_test_base.h"
7 #include "testing/perf/perf_test.h" 7 #include "testing/perf/perf_test.h"
8 8
9 namespace media { 9 namespace media {
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 RunAudioPlaybackBenchmark("sfx_f32le.wav", "clockless_playback"); 61 RunAudioPlaybackBenchmark("sfx_f32le.wav", "clockless_playback");
62 RunAudioPlaybackBenchmark("sfx_s24le.wav", "clockless_playback"); 62 RunAudioPlaybackBenchmark("sfx_s24le.wav", "clockless_playback");
63 RunAudioPlaybackBenchmark("sfx_s16le.wav", "clockless_playback"); 63 RunAudioPlaybackBenchmark("sfx_s16le.wav", "clockless_playback");
64 RunAudioPlaybackBenchmark("sfx_u8.wav", "clockless_playback"); 64 RunAudioPlaybackBenchmark("sfx_u8.wav", "clockless_playback");
65 #if defined(USE_PROPRIETARY_CODECS) 65 #if defined(USE_PROPRIETARY_CODECS)
66 RunAudioPlaybackBenchmark("sfx.mp3", "clockless_playback"); 66 RunAudioPlaybackBenchmark("sfx.mp3", "clockless_playback");
67 #endif 67 #endif
68 } 68 }
69 69
70 TEST(PipelineIntegrationPerfTest, VP8PlaybackBenchmark) { 70 TEST(PipelineIntegrationPerfTest, VP8PlaybackBenchmark) {
71 RunVideoPlaybackBenchmark("bear-640x360.webm", 71 RunVideoPlaybackBenchmark("bear_silent.webm", "clockless_video_playback_vp8");
72 "clockless_video_playback_vp8");
73 RunVideoPlaybackBenchmark("bear-320x240.webm",
74 "clockless_video_playback_vp8");
75 } 72 }
76 73
77 TEST(PipelineIntegrationPerfTest, VP9PlaybackBenchmark) { 74 TEST(PipelineIntegrationPerfTest, VP9PlaybackBenchmark) {
78 RunVideoPlaybackBenchmark("bear-vp9.webm", "clockless_video_playback_vp9"); 75 RunVideoPlaybackBenchmark("bear-vp9.webm", "clockless_video_playback_vp9");
79 } 76 }
80 77
81 TEST(PipelineIntegrationPerfTest, TheoraPlaybackBenchmark) { 78 TEST(PipelineIntegrationPerfTest, TheoraPlaybackBenchmark) {
82 RunVideoPlaybackBenchmark("bear.ogv", "clockless_video_playback_theora"); 79 RunVideoPlaybackBenchmark("bear_silent.ogv",
80 "clockless_video_playback_theora");
83 } 81 }
84 82
85 #if defined(USE_PROPRIETARY_CODECS) 83 #if defined(USE_PROPRIETARY_CODECS)
86 TEST(PipelineIntegrationPerfTest, MP4PlaybackBenchmark) { 84 TEST(PipelineIntegrationPerfTest, MP4PlaybackBenchmark) {
87 RunVideoPlaybackBenchmark("bear-1280x720.mp4", 85 RunVideoPlaybackBenchmark("bear_silent.mp4", "clockless_video_playback_mp4");
88 "clockless_video_playback_mp4");
89 } 86 }
90 #endif 87 #endif
91 88
92 } // namespace media 89 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698