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

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

Issue 308543002: Support for YUV 4:4:4 subsampling in vpx decoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo. 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 | media/filters/vpx_video_decoder.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/filters/pipeline_integration_test_base.h" 5 #include "media/filters/pipeline_integration_test_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 1437
1438 // Verify that VP8 video with inband text track can be played back. 1438 // Verify that VP8 video with inband text track can be played back.
1439 TEST_F(PipelineIntegrationTest, 1439 TEST_F(PipelineIntegrationTest,
1440 BasicPlayback_VP8_WebVTT_WebM) { 1440 BasicPlayback_VP8_WebVTT_WebM) {
1441 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"), 1441 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8-webvtt.webm"),
1442 PIPELINE_OK)); 1442 PIPELINE_OK));
1443 Play(); 1443 Play();
1444 ASSERT_TRUE(WaitUntilOnEnded()); 1444 ASSERT_TRUE(WaitUntilOnEnded());
1445 } 1445 }
1446 1446
1447 // Verify that VP9 video with 4:4:4 subsampling can be played back.
1448 TEST_F(PipelineIntegrationTest, P444_VP9_WebM) {
1449 ASSERT_TRUE(Start(GetTestDataFilePath("bear-320x240-P444.webm"),
1450 PIPELINE_OK));
1451 Play();
1452 ASSERT_TRUE(WaitUntilOnEnded());
1453 EXPECT_EQ(last_video_frame_format_, VideoFrame::YV24);
1454 }
1455
1447 // For MediaSource tests, generate two sets of tests: one using FrameProcessor, 1456 // For MediaSource tests, generate two sets of tests: one using FrameProcessor,
1448 // and one using LegacyFrameProcessor. 1457 // and one using LegacyFrameProcessor.
1449 INSTANTIATE_TEST_CASE_P(NewFrameProcessor, PipelineIntegrationTest, 1458 INSTANTIATE_TEST_CASE_P(NewFrameProcessor, PipelineIntegrationTest,
1450 Values(false)); 1459 Values(false));
1451 INSTANTIATE_TEST_CASE_P(LegacyFrameProcessor, PipelineIntegrationTest, 1460 INSTANTIATE_TEST_CASE_P(LegacyFrameProcessor, PipelineIntegrationTest,
1452 Values(true)); 1461 Values(true));
1453 1462
1454 } // namespace media 1463 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | media/filters/vpx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698