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

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

Issue 289373011: Support for YUV 4:4:4 subsampling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try that again. 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
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pTheora)) { 211 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pTheora)) {
212 RunColorFormatTest("yuv420p.ogv", "ENDED"); 212 RunColorFormatTest("yuv420p.ogv", "ENDED");
213 } 213 }
214 214
215 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pTheora)) { 215 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pTheora)) {
216 RunColorFormatTest("yuv422p.ogv", "ENDED"); 216 RunColorFormatTest("yuv422p.ogv", "ENDED");
217 } 217 }
218 218
219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) { 219 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pTheora)) {
220 // TODO(scherkus): Support YUV444 http://crbug.com/104711 220 RunColorFormatTest("yuv444p.ogv", "ENDED");
221 RunColorFormatTest("yuv424p.ogv", "ERROR");
222 } 221 }
223 222
224 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) { 223 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pVp8)) {
225 RunColorFormatTest("yuv420p.webm", "ENDED"); 224 RunColorFormatTest("yuv420p.webm", "ENDED");
226 } 225 }
227 226
228 #if defined(USE_PROPRIETARY_CODECS) 227 #if defined(USE_PROPRIETARY_CODECS)
229 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) { 228 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv420pH264)) {
230 RunColorFormatTest("yuv420p.mp4", "ENDED"); 229 RunColorFormatTest("yuv420p.mp4", "ENDED");
231 } 230 }
232 231
233 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) { 232 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuvj420pH264)) {
234 RunColorFormatTest("yuvj420p.mp4", "ENDED"); 233 RunColorFormatTest("yuvj420p.mp4", "ENDED");
235 } 234 }
236 235
237 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) { 236 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv422pH264)) {
238 RunColorFormatTest("yuv422p.mp4", "ENDED"); 237 RunColorFormatTest("yuv422p.mp4", "ENDED");
239 } 238 }
240 239
241 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) { 240 IN_PROC_BROWSER_TEST_F(MediaTest, MAYBE(Yuv444pH264)) {
242 // TODO(scherkus): Support YUV444 http://crbug.com/104711 241 RunColorFormatTest("yuv444p.mp4", "ENDED");
243 RunColorFormatTest("yuv444p.mp4", "ERROR");
244 } 242 }
245 243
246 #if defined(OS_CHROMEOS) 244 #if defined(OS_CHROMEOS)
247 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) { 245 IN_PROC_BROWSER_TEST_F(MediaTest, Yuv420pMpeg4) {
248 RunColorFormatTest("yuv420p.avi", "ENDED"); 246 RunColorFormatTest("yuv420p.avi", "ENDED");
249 } 247 }
250 #endif // defined(OS_CHROMEOS) 248 #endif // defined(OS_CHROMEOS)
251 #endif // defined(USE_PROPRIETARY_CODECS) 249 #endif // defined(USE_PROPRIETARY_CODECS)
252 250
253 } // namespace content 251 } // namespace content
OLDNEW
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | content/browser/renderer_host/render_widget_host_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698