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

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

Issue 591313008: Add support for Rec709 color space videos in software YUV convert path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up some bad rebasing... Created 6 years 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
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/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.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/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pVp9)) { 257 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pVp9)) {
258 RunColorFormatTest("yuv444p.webm", "ENDED"); 258 RunColorFormatTest("yuv444p.webm", "ENDED");
259 } 259 }
260 260
261 #if defined(USE_PROPRIETARY_CODECS) 261 #if defined(USE_PROPRIETARY_CODECS)
262 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { 262 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) {
263 RunColorFormatTest("yuv420p.mp4", kEnded); 263 RunColorFormatTest("yuv420p.mp4", kEnded);
264 } 264 }
265 265
266 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pRec709H264)) {
267 RunColorFormatTest("yuv420p.mp4", kEnded);
268 }
269
266 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { 270 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) {
267 RunColorFormatTest("yuvj420p.mp4", kEnded); 271 RunColorFormatTest("yuvj420p.mp4", kEnded);
268 } 272 }
269 273
270 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { 274 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) {
271 RunColorFormatTest("yuv422p.mp4", kEnded); 275 RunColorFormatTest("yuv422p.mp4", kEnded);
272 } 276 }
273 277
274 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { 278 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) {
275 RunColorFormatTest("yuv444p.mp4", kEnded); 279 RunColorFormatTest("yuv444p.mp4", kEnded);
276 } 280 }
277 281
278 #if defined(OS_CHROMEOS) 282 #if defined(OS_CHROMEOS)
279 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { 283 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) {
280 RunColorFormatTest("yuv420p.avi", kEnded); 284 RunColorFormatTest("yuv420p.avi", kEnded);
281 } 285 }
282 #endif // defined(OS_CHROMEOS) 286 #endif // defined(OS_CHROMEOS)
283 #endif // defined(USE_PROPRIETARY_CODECS) 287 #endif // defined(USE_PROPRIETARY_CODECS)
284 288
285 } // namespace content 289 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698