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

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: add enum to mojom Created 5 years, 11 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 | « cc/resources/video_resource_updater.cc ('k') | media/base/BUILD.gn » ('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/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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pVp9) { 250 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pVp9) {
251 RunColorFormatTest("yuv444p.webm", "ENDED"); 251 RunColorFormatTest("yuv444p.webm", "ENDED");
252 } 252 }
253 253
254 #if defined(USE_PROPRIETARY_CODECS) 254 #if defined(USE_PROPRIETARY_CODECS)
255 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pH264) { 255 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pH264) {
256 RunColorFormatTest("yuv420p.mp4", kEnded); 256 RunColorFormatTest("yuv420p.mp4", kEnded);
257 } 257 }
258 258
259 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pRec709H264) {
260 RunColorFormatTest("yuv420p_rec709.mp4", kEnded);
261 }
262
259 IN_PROC_BROWSER_TEST_F(MediaTest, Yuvj420pH264) { 263 IN_PROC_BROWSER_TEST_F(MediaTest, Yuvj420pH264) {
260 RunColorFormatTest("yuvj420p.mp4", kEnded); 264 RunColorFormatTest("yuvj420p.mp4", kEnded);
261 } 265 }
262 266
263 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv422pH264) { 267 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv422pH264) {
264 RunColorFormatTest("yuv422p.mp4", kEnded); 268 RunColorFormatTest("yuv422p.mp4", kEnded);
265 } 269 }
266 270
267 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pH264) { 271 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv444pH264) {
268 RunColorFormatTest("yuv444p.mp4", kEnded); 272 RunColorFormatTest("yuv444p.mp4", kEnded);
269 } 273 }
270 274
271 #if defined(OS_CHROMEOS) 275 #if defined(OS_CHROMEOS)
272 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { 276 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) {
273 RunColorFormatTest("yuv420p.avi", kEnded); 277 RunColorFormatTest("yuv420p.avi", kEnded);
274 } 278 }
275 #endif // defined(OS_CHROMEOS) 279 #endif // defined(OS_CHROMEOS)
276 #endif // defined(USE_PROPRIETARY_CODECS) 280 #endif // defined(USE_PROPRIETARY_CODECS)
277 281
278 } // namespace content 282 } // namespace content
OLDNEW
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698