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

Side by Side Diff: content/browser/media/media_browsertest.cc

Issue 321443005: Add a YUV444 color format test for VP9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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
« no previous file with comments | « no previous file | content/test/data/media/blackwhite.html » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/media/media_browsertest.h" 5 #include "content/browser/media/media_browsertest.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "content/public/common/url_constants.h" 10 #include "content/public/common/url_constants.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 } 217 }
218 218
219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) { 219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) {
220 RunColorFormatTest("yuv444p.ogv", "ENDED"); 220 RunColorFormatTest("yuv444p.ogv", "ENDED");
221 } 221 }
222 222
223 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) { 223 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) {
224 RunColorFormatTest("yuv420p.webm", "ENDED"); 224 RunColorFormatTest("yuv420p.webm", "ENDED");
225 } 225 }
226 226
227 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pVp9)) {
228 RunColorFormatTest("yuv444p.webm", "ENDED");
229 }
230
227 #if defined(USE_PROPRIETARY_CODECS) 231 #if defined(USE_PROPRIETARY_CODECS)
228 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { 232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) {
229 RunColorFormatTest("yuv420p.mp4", "ENDED"); 233 RunColorFormatTest("yuv420p.mp4", "ENDED");
230 } 234 }
231 235
232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { 236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) {
233 RunColorFormatTest("yuvj420p.mp4", "ENDED"); 237 RunColorFormatTest("yuvj420p.mp4", "ENDED");
234 } 238 }
235 239
236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { 240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) {
237 RunColorFormatTest("yuv422p.mp4", "ENDED"); 241 RunColorFormatTest("yuv422p.mp4", "ENDED");
238 } 242 }
239 243
240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { 244 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) {
241 RunColorFormatTest("yuv444p.mp4", "ENDED"); 245 RunColorFormatTest("yuv444p.mp4", "ENDED");
242 } 246 }
243 247
244 #if defined(OS_CHROMEOS) 248 #if defined(OS_CHROMEOS)
245 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { 249 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) {
246 RunColorFormatTest("yuv420p.avi", "ENDED"); 250 RunColorFormatTest("yuv420p.avi", "ENDED");
247 } 251 }
248 #endif // defined(OS_CHROMEOS) 252 #endif // defined(OS_CHROMEOS)
249 #endif // defined(USE_PROPRIETARY_CODECS) 253 #endif // defined(USE_PROPRIETARY_CODECS)
250 254
251 } // namespace content 255 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/media/blackwhite.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698